de.grogra.imp3d.glsl.material.channel
Class GLSLImageMap

java.lang.Object
  extended by de.grogra.imp3d.glsl.material.channel.GLSLChannelMap
      extended by de.grogra.imp3d.glsl.material.channel.GLSLChannelMapNode
          extended by de.grogra.imp3d.glsl.material.channel.GLSLImageMap

public class GLSLImageMap
extends GLSLChannelMapNode

Implementation for ImageMap. Will register and use associated texture. Antialiasing will be handled by mipmaps.

Author:
Konni Hartmann

Constructor Summary
GLSLImageMap()
           
 
Method Summary
 Result generate(ChannelMap inp, MaterialConfiguration cs, GLSLChannelMap inpChan, int channel)
          This should be used instead of the other one
 java.lang.Class instanceFor()
           
 boolean mayDiscard()
           
 
Methods inherited from class de.grogra.imp3d.glsl.material.channel.GLSLChannelMap
generateResult, generateResult, generateResultWithChannelDefault, getGLSLObject, getMaxResultType, initMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GLSLImageMap

public GLSLImageMap()
Method Detail

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 class GLSLChannelMap
Returns:

instanceFor

public java.lang.Class instanceFor()
Specified by:
instanceFor in class GLSLChannelMap

mayDiscard

public boolean mayDiscard()
Overrides:
mayDiscard in class GLSLChannelMap