dagon v0.8.0 (2018-05-24T21:27:13Z)
Home
Dub
Repo
ShapeQuad
dagon
graphics
shapes
Undocumented in source.
class
ShapeQuad : Owner,
Drawable
{
Vector2f
[
4
]
vertices
;
Vector2f
[
4
]
texcoords
;
uint
[
3
][
2
]
indices
;
GLuint
vao
;
GLuint
vbo
;
GLuint
tbo
;
GLuint
eao
;
this
(Owner o);
~this
();
void
update
(double dt);
void
render
(RenderingContext* rc);
}
Constructors
this
this
(Owner o)
Undocumented in source.
Destructor
~this
~this
()
Undocumented in source.
Members
Functions
render
void
render
(RenderingContext* rc)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void
update
(double dt)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
eao
GLuint
eao
;
Undocumented in source.
indices
uint
[
3
][
2
]
indices
;
Undocumented in source.
tbo
GLuint
tbo
;
Undocumented in source.
texcoords
Vector2f
[
4
]
texcoords
;
Undocumented in source.
vao
GLuint
vao
;
Undocumented in source.
vbo
GLuint
vbo
;
Undocumented in source.
vertices
Vector2f
[
4
]
vertices
;
Undocumented in source.
Inherited Members
From Drawable
update
void
update
(double dt)
Undocumented in source.
render
void
render
(RenderingContext* rc)
Undocumented in source.
Meta
Source
See Implementation
dagon
graphics
shapes
classes
ShapePlane
ShapeQuad
ShapeSphere
functions
envMapEquirect
manifest constants
HALF_PI
PI2