dagon v0.12.0-beta1 (2021-09-13T08:15:37Z)
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 owner);
~this
();
void
render
(GraphicsState* state);
}
Constructors
this
this
(Owner owner)
Undocumented in source.
Destructor
~this
~this
()
Undocumented in source.
Members
Functions
render
void
render
(GraphicsState* state)
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
render
void
render
(GraphicsState* state)
Undocumented in source.
Meta
Source
See Implementation
dagon
graphics
shapes
classes
ShapeBox
ShapeDisk
ShapePlane
ShapeQuad
ShapeSphere
functions
envMapEquirect
manifest constants
HALF_PI
PI2