dagon v0.12.0-beta2 (2021-10-10T20:59:18Z)
Home
Dub
Repo
GLTFMeshPrimitive
dagon
resource
gltf
Undocumented in source.
class
GLTFMeshPrimitive : Owner,
Drawable
{
GLTFAccessor
positionAccessor
;
GLTFAccessor
normalAccessor
;
GLTFAccessor
texCoord0Accessor
;
GLTFAccessor
indexAccessor
;
Material
material
;
GLuint
vao
;
GLuint
vbo
;
GLuint
nbo
;
GLuint
tbo
;
GLuint
eao
;
bool
canRender
;
this
(GLTFAccessor positionAccessor, GLTFAccessor normalAccessor, GLTFAccessor texCoord0Accessor, GLTFAccessor indexAccessor, Material material, Owner o);
void
prepareVAO
();
void
render
(GraphicsState* state);
~this
();
}
Constructors
this
this
(GLTFAccessor positionAccessor, GLTFAccessor normalAccessor, GLTFAccessor texCoord0Accessor, GLTFAccessor indexAccessor, Material material, Owner o)
Undocumented in source.
Destructor
~this
~this
()
Undocumented in source.
Members
Functions
prepareVAO
void
prepareVAO
()
Undocumented in source. Be warned that the author may not have intended to support it.
render
void
render
(GraphicsState* state)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
canRender
bool
canRender
;
Undocumented in source.
eao
GLuint
eao
;
Undocumented in source.
indexAccessor
GLTFAccessor
indexAccessor
;
Undocumented in source.
material
Material
material
;
Undocumented in source.
nbo
GLuint
nbo
;
Undocumented in source.
normalAccessor
GLTFAccessor
normalAccessor
;
Undocumented in source.
positionAccessor
GLTFAccessor
positionAccessor
;
Undocumented in source.
tbo
GLuint
tbo
;
Undocumented in source.
texCoord0Accessor
GLTFAccessor
texCoord0Accessor
;
Undocumented in source.
vao
GLuint
vao
;
Undocumented in source.
vbo
GLuint
vbo
;
Undocumented in source.
Inherited Members
From Drawable
render
void
render
(GraphicsState* state)
Undocumented in source.
Meta
Source
See Implementation
dagon
resource
gltf
classes
GLTFAccessor
GLTFAsset
GLTFBuffer
GLTFBufferView
GLTFMesh
GLTFMeshPrimitive
GLTFNode
GLTFScene
StaticTransformComponent
enums
GLTFDataType
functions
asColor
asMatrix
asQuaternion
asVector
decomposeMatrix
nameFromMimeType