Drawable

Undocumented in source.

Constructors

this
this(GraphicsDevice graphicsDevice)

Drawable constructor.

this
this(float x, float y, float z)
Undocumented in source.
this
this(float x, float y, float z, Size!int size)
Undocumented in source.
this
this(vec3 position, Size!int size)
Undocumented in source.

Members

Functions

draw
void draw(float deltaTime, mat4 view, mat4 projection)
Undocumented in source.

Properties

graphics
GraphicsDevice graphics [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
graphics
GraphicsDevice graphics [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
isVisible
bool isVisible [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isVisible
bool isVisible [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
position
const(vec3) position [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
position
vec3 position [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
rotation
Quaternionf rotation [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
scale
float scale [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
scale
vec3 scale [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
shader
Shader shader [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
shader
Shader shader [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
const(Size!int) size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
Size!int size [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
texture
Texture texture [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
texture
Texture texture [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
vertexBuffer
uint vertexBuffer [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

m_graphicsDevice
GraphicsDevice m_graphicsDevice;
m_indexBuffer
uint m_indexBuffer;
Undocumented in source.
m_isVisible
bool m_isVisible;
Undocumented in source.
m_position
vec3 m_position;
Undocumented in source.
m_rotation
Quaternionf m_rotation;
Undocumented in source.
m_scale
vec3 m_scale;
Undocumented in source.
m_shader
Shader m_shader;
Undocumented in source.
m_size
Size!int m_size;
Undocumented in source.
m_texture
Texture m_texture;
Undocumented in source.
m_vao
uint m_vao;
m_vertexBuffer
uint m_vertexBuffer;
Undocumented in source.

Meta