public interface DataBinder
| Modifier and Type | Method and Description |
|---|---|
void |
bind(FrameBuffer fbo) |
void |
bind(Mesh mesh) |
void |
bind(Shader shader) |
void |
bind(Texture texture)
Binds the given texture to the context.
|
void |
bind(Texture texture,
int samplerslot)
Binds the given texture to the context on a specified samplerslot
|
void |
bindAsRenderTarget(FrameBuffer fbo) |
void |
draw(Mesh mesh) |
IDGenerator |
getIDGenerator() |
RenderEngineState |
getState() |
UniformManager |
getUniformManager() |
void |
upload(FrameBuffer fbo) |
void |
upload(Mesh mesh) |
void |
upload(Shader shader) |
void |
upload(Texture texture)
This will bind the texture and then upload it.
|
void bind(Texture texture)
texture - resource to bindvoid bind(Texture texture, int samplerslot)
texture - resource to bindsamplerslot - destination slot of the texturevoid upload(Texture texture)
texture - resource to uploadvoid bind(Mesh mesh)
void upload(Mesh mesh)
void draw(Mesh mesh)
void bind(Shader shader)
void upload(Shader shader)
void bindAsRenderTarget(FrameBuffer fbo)
void bind(FrameBuffer fbo)
void upload(FrameBuffer fbo)
IDGenerator getIDGenerator()
UniformManager getUniformManager()
RenderEngineState getState()
Copyright © 2015. All rights reserved.