Package | Description |
---|---|
com.threed.jpct |
Modifier and Type | Method and Description |
---|---|
GLSLShader |
World.getGlobalShader()
Returns the global shader or null if none has been set.
|
GLSLShader |
Object3D.getShader()
Returns the shader, if another one than the default shader is set.
|
static GLSLShader |
GLSLShadowInjector.injectShadowCode(GLSLShader sourceShader)
Tries to inject shadow mapping code into a GLSLShader.
|
Modifier and Type | Method and Description |
---|---|
void |
FrameBuffer.compileShader(GLSLShader shader,
java.util.List<VertexAttributes> attribs)
Compiles the shader and processes it's additional vertex attributes, if
those are used within this shader.
|
static GLSLShader |
GLSLShadowInjector.injectShadowCode(GLSLShader sourceShader)
Tries to inject shadow mapping code into a GLSLShader.
|
void |
FrameBuffer.setBlittingShader(GLSLShader shader)
Sets a shader that should be used for blitting instead of the fixed
function pipeline.
|
void |
IRenderHook.setCurrentShader(GLSLShader shader)
Sets the currently active shader.
|
void |
World.setGlobalShader(GLSLShader globalShader)
Sets a global shader.
|
void |
Object3D.setShader(GLSLShader shader)
Sets a shader other than the default shader set.
|