java.lang.Object
de.grogra.glsl.material.channel.GLSLChannelMap
de.grogra.glsl.material.channel.GLSLChannelMapNode
de.grogra.glsl.material.channel.GLSLImageMap
Implementation for ImageMap. Will register and use associated texture. Antialiasing will be handled by mipmaps.
- Author:
- Konni Hartmann
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongenerate
(ChannelMap inp, MaterialConfiguration cs, GLSLChannelMap inpChan, int channel) This should be used instead of the other oneboolean
Methods inherited from class de.grogra.glsl.material.channel.GLSLChannelMap
generateResult, generateResult, generateResultWithChannelDefault, getGLSLObject, getMaxResultType, initMap
-
Constructor Details
-
GLSLImageMap
public GLSLImageMap()
-
-
Method Details
-
generate
public Result generate(ChannelMap inp, MaterialConfiguration cs, GLSLChannelMap inpChan, int channel) Description copied from class:GLSLChannelMap
This should be used instead of the other one- Specified by:
generate
in classGLSLChannelMap
- Returns:
-
instanceFor
- Specified by:
instanceFor
in classGLSLChannelMap
-
mayDiscard
public boolean mayDiscard()- Overrides:
mayDiscard
in classGLSLChannelMap
-