public class GLProgramInfo
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GLProgramInfo.RenderingMode |
Modifier and Type | Field and Description |
---|---|
static short |
BUMP_MAP_FLAG |
static short |
COLOR_MAP_FLAG |
static short |
DEFAULT_MAP_MASK |
static byte |
DEFAULT_TEXTURE_COLOR_MIX_MASK |
static Renderer.ColorMixing |
DEFAULT_TEXTURE_COLOR_MIXING |
static byte |
DEFAULT_VERTEX_COLOR_MIX_MASK |
static Renderer.ColorMixing |
DEFAULT_VERTEX_COLOR_MIXING |
static byte |
MIX_DIFFUSE_FLAG |
static byte |
MIX_EMISSION_FLAG |
static byte |
MIX_SPECULAR_FLAG |
static short |
NORMAL_MAP_FLAG |
Constructor and Description |
---|
GLProgramInfo() |
public static final short COLOR_MAP_FLAG
public static final short NORMAL_MAP_FLAG
public static final short BUMP_MAP_FLAG
public static final short DEFAULT_MAP_MASK
public static final Renderer.ColorMixing DEFAULT_VERTEX_COLOR_MIXING
public static final Renderer.ColorMixing DEFAULT_TEXTURE_COLOR_MIXING
public static final byte MIX_DIFFUSE_FLAG
public static final byte MIX_SPECULAR_FLAG
public static final byte MIX_EMISSION_FLAG
public static final byte DEFAULT_VERTEX_COLOR_MIX_MASK
public static final byte DEFAULT_TEXTURE_COLOR_MIX_MASK
public static GLProgramInfo create(int numClipPlanes)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int numLights()
public int numClipPlanes()
public boolean hasVertexNormals()
public boolean hasVertexColors()
public boolean hasVertexTextures()
public boolean hasRoundPoints()
public boolean hasInstanceColors()
public boolean hasLineScaleOffset()
public boolean hasLineColors()
public Renderer.Shading getShading()
public boolean isSelecting()
public Renderer.ColorInterpolation getColorInterpolation()
public GLProgramInfo.RenderingMode getMode()
public Renderer.ColorMixing getVertexColorMixing()
public boolean hasColorMap()
public boolean hasNormalMap()
public boolean hasBumpMap()
public int getVertexColorMixMask()
public boolean isMixVertexColorDiffuse()
public boolean isMixVertexColorSpecular()
public boolean isMixVertexColorEmission()
public Renderer.ColorMixing getTextureColorMixing()
public int getTextureMapMask()
public int getTextureColorMixMask()
public boolean isMixTextureColorDiffuse()
public boolean isMixTextureColorSpecular()
public boolean isMixTextureColorEmission()
public GLProgramInfo clone()
clone
in class java.lang.Object
public void setNumLights(int numLights)
public void setNumClipPlanes(int numClipPlanes)
public void setVertexNormalsEnabled(boolean set)
public void setVertexColorsEnabled(boolean set)
public void setVertexTexturesEnabled(boolean set)
public void setRoundPointsEnabled(boolean enable)
public void setInstanceColorsEnabled(boolean enable)
public void setLineScaleOffsetEnabled(boolean enable)
public void setLineColorsEnabled(boolean enable)
public void setShading(Renderer.Shading shading)
public void setSelecting(boolean set)
public void setColorInterpolation(Renderer.ColorInterpolation colorInterp)
public void setMode(GLProgramInfo.RenderingMode mode)
public void setVertexColorMixing(Renderer.ColorMixing cmix)
public void setTextureColorMixing(Renderer.ColorMixing tmix)
public void setColorMapEnabled(boolean set)
public void setNormalMapEnabled(boolean set)
public void setBumpMapEnabled(boolean set)
public void setMixTextureColorDiffuse(boolean enable)
public void setMixTextureColorSpecular(boolean enable)
public void setMixTextureColorEmission(boolean enable)
public void setMixVertexColorDiffuse(boolean enable)
public void setMixVertexColorSpecular(boolean enable)
public void setMixVertexColorEmission(boolean enable)
public boolean hasTextureMap()
public void printProperties()