public class GLES10Shader extends java.lang.Object implements Shader
Modifier and Type | Field and Description |
---|---|
static int |
defaultCullFace
Set to 0 to disable culling
|
Constructor and Description |
---|
GLES10Shader() |
Modifier and Type | Method and Description |
---|---|
void |
begin(Camera camera,
RenderContext context)
Initializes the context for exclusive rendering by this shader
|
boolean |
canRender(Renderable renderable)
Whether this shader is intended to render the
Renderable |
int |
compareTo(Shader other)
Compare this shader against the other, used for sorting, light weight shaders are rendered first.
|
void |
dispose()
Releases all resources of this object.
|
void |
end()
Cleanup the context so other shaders can render
|
boolean |
equals(GLES10Shader obj) |
boolean |
equals(java.lang.Object obj) |
void |
init()
Initializes the Shader, must be called before the Shader can be used
|
void |
render(Renderable renderable)
|
public void init()
Shader
public boolean canRender(Renderable renderable)
Shader
Renderable
public int compareTo(Shader other)
Shader
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean equals(GLES10Shader obj)
public void begin(Camera camera, RenderContext context)
Shader
public void render(Renderable renderable)
Shader
public void end()
Shader
public void dispose()
Disposable
dispose
in interface Disposable