de.grogra.imp3d.glsl.material
public class MaterialConfiguration extends ShaderConfiguration
| Modifier and Type | Field and Description |
|---|---|
static int |
IT_AMBIENT |
static int |
IT_DIFFUSE |
static int |
IT_DIFFUSE_TRANSPERENCY |
static int |
IT_EMISSIVE |
static int |
IT_NORMAL |
static int |
IT_POSITION |
static int |
IT_PROLOGUE |
static int |
IT_SHININESS |
static int |
IT_SPECULAR |
static int |
IT_TRANSPERENCY |
static int |
IT_TRANSPERENCY_SHININESS |
constVar, customSampler, funcMap, referenceKey, sampler, T_BOOL, T_FLOAT, T_MAT3, T_SAMPLER2D, T_SAMPLER2DRECT, T_SAMPLER2DSHADOW, T_SAMPLERCUBE, T_VEC2, T_VEC3, T_VEC4, uniform, USE_DERIVATES, USE_GLOBAL_POS, USE_LOCAL_POS, USE_UV, var, version| Constructor and Description |
|---|
MaterialConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ShaderConfiguration |
clone() |
java.lang.String[] |
completeShader(Result[] input) |
boolean |
equals(java.lang.Object obj) |
GLSLChannelMap |
getDefaultInputChannel() |
GLSLManagedShader |
getShaderByDefaultCollection(GLSLDisplay disp,
java.lang.Object reference) |
int |
hashCode() |
boolean |
isShaderAntialiasing() |
protected boolean |
perInstance()
Should be implemented by ReferenceKey!
|
void |
set(OpenGLState glState,
GLSLDisplay disp,
java.lang.Object obj) |
protected void |
setThisToOther(ShaderConfiguration other)
Sets all permanent attributes of this instance to the values from other.
|
void |
setupDynamicUniforms(javax.media.opengl.GL gl,
GLSLDisplay disp,
int shaderNo) |
void |
setupShader(javax.media.opengl.GL gl,
GLSLDisplay disp,
int shaderNo) |
bindTextures, cleanUp, clearTmpVariables, getBit, getReferenceKeyValue, registerCustomTexture, registerFunc, registerGlobalConst, registerNewTmpVar, registerNewUniform, registerTexture, set, setBit, setupTextures, setVersionpublic static final int IT_AMBIENT
public static final int IT_DIFFUSE
public static final int IT_DIFFUSE_TRANSPERENCY
public static final int IT_EMISSIVE
public static final int IT_NORMAL
public static final int IT_POSITION
public static final int IT_PROLOGUE
public static final int IT_SHININESS
public static final int IT_SPECULAR
public static final int IT_TRANSPERENCY
public static final int IT_TRANSPERENCY_SHININESS
public ShaderConfiguration clone()
clone in class ShaderConfigurationpublic java.lang.String[] completeShader(Result[] input)
public boolean equals(java.lang.Object obj)
equals in class ShaderConfigurationpublic GLSLChannelMap getDefaultInputChannel()
public GLSLManagedShader getShaderByDefaultCollection(GLSLDisplay disp, java.lang.Object reference)
getShaderByDefaultCollection in class ShaderConfigurationpublic int hashCode()
hashCode in class ShaderConfigurationpublic boolean isShaderAntialiasing()
protected boolean perInstance()
perInstance in class ShaderConfigurationpublic void set(OpenGLState glState, GLSLDisplay disp, java.lang.Object obj)
set in class ShaderConfigurationprotected void setThisToOther(ShaderConfiguration other)
ShaderConfigurationsetThisToOther in class ShaderConfigurationother - Reference from which attributes are copiedpublic void setupDynamicUniforms(javax.media.opengl.GL gl,
GLSLDisplay disp,
int shaderNo)
setupDynamicUniforms in class ShaderConfigurationpublic void setupShader(javax.media.opengl.GL gl,
GLSLDisplay disp,
int shaderNo)
setupShader in class ShaderConfiguration