ImageRenderer

画像を描画するクラス

TODO: Camera使うか

Constructors

this
this(Image image)

初期化

this
this()
Undocumented in source.

Members

Functions

render
void render(float x, float y, float scale)

描画

render
void render()
Undocumented in source. Be warned that the author may not have intended to support it.
set_image
void set_image(Image image)

描画する画像のセット

Inherited Members

From Old_Renderer

init
void init(void delegate(out string, out string) dg, string[] locNames, int[] strides, DrawMode drawMode)

Rendererの初期化

set_vbo
void set_vbo(float[][] list)
Undocumented in source. Be warned that the author may not have intended to support it.
set_ibo
void set_ibo(int[] index)

IBOをセット

set_uniform
void set_uniform(string name, T value, string type, int num)

Uniform変数のセット

render
void render()

描画関数

_program
ShaderProgram _program;
Undocumented in source.
_drawMode
DrawMode _drawMode;
Undocumented in source.
_ibo
IBO _ibo;
Undocumented in source.

Meta