|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Shader
Method Summary | |
---|---|
void |
begin(Camera camera,
RenderContext context)
Initializes the context for exclusive rendering by this shader |
boolean |
canRender(Renderable instance)
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 |
end()
Cleanup the context so other shaders can render |
void |
init()
Initializes the Shader, must be called before the Shader can be used |
void |
render(Renderable renderable)
Renders the Renderable must be called between begin(Camera, RenderContext) and end() |
Methods inherited from interface com.badlogic.gdx.utils.Disposable |
---|
dispose |
Method Detail |
---|
void init()
int compareTo(Shader other)
boolean canRender(Renderable instance)
Renderable
void begin(Camera camera, RenderContext context)
void render(Renderable renderable)
Renderable
must be called between begin(Camera, RenderContext)
and end()
void end()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |