RenderTarget
class RenderTarget {
ShaderProgram flatShaderProgram;
}
- this
this(int width, int height)
A destructor is present on this object, but not explicitly documented in the source.
- begin
void begin(Matrix projection)
Updates projection and prepares batches
- clear
void clear()
- drawMesh
void drawMesh(Mesh mesh, Matrix transform, DrawMode mode, Color color)
Draws mesh using a flat shader
- drawSprite
void drawSprite(Sprite sprite, Matrix transform)
- drawSprite
void drawSprite(AnimatedSprite sprite, Matrix transform)
- end
void end()
- resize
void resize(int width, int height)
- frameBufferId
uint frameBufferId [@property getter]
- height
int height [@property getter]
- texture
Texture texture [@property getter]
- width
int width [@property getter]
- projection
Matrix projection;
- spriteBatch
SpriteBatch spriteBatch;