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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerate(ChannelMap inp, MaterialConfiguration cs, GLSLChannelMap inpChan, int channel) This should be used instead of the other onebooleanMethods 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:GLSLChannelMapThis should be used instead of the other one- Specified by:
generatein classGLSLChannelMap- Parameters:
inp-cs-inpChan-channel-- Returns:
-
instanceFor
- Specified by:
instanceForin classGLSLChannelMap
-
mayDiscard
public boolean mayDiscard()- Overrides:
mayDiscardin classGLSLChannelMap
-