12 #ifndef GlobeEngine_DrawCommand_h
13 #define GlobeEngine_DrawCommand_h
15 #include "OpenGL_Includes.h"
56 this->instanceCount = _instanceCount;
60 glDrawArraysInstanced(this->
mode, this->
first, this->
count, this->instanceCount);
64 GLsizei instanceCount;
90 this->instanceCount = _instanceCount;
98 GLsizei instanceCount;
DrawArraysInstancedCommand(GLenum _mode, GLint _first, GLsizei _count, GLsizei _instanceCount)
Definition: DrawCommand.h:55
GLsizei count
Definition: DrawCommand.h:82
void draw()
Definition: DrawCommand.h:93
GLenum mode
Definition: DrawCommand.h:81
Definition: DrawCommand.h:33
GLuint first
Definition: DrawCommand.h:29
void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount)
DrawArraysCommand(GLenum _mode, GLint _first, GLsizei _count)
Definition: DrawCommand.h:36
DrawElementsCommand< GL_UNSIGNED_SHORT > DrawElementsCommandUShort
Definition: DrawCommand.h:102
GLuint instanceCount
Definition: DrawCommand.h:28
GLint first
Definition: DrawCommand.h:49
GLenum mode
Definition: DrawCommand.h:47
DrawElementsInstancedCommand< GL_UNSIGNED_INT > DrawElementsInstancedCommandUInt
Definition: DrawCommand.h:104
DrawElementsCommand< GL_UNSIGNED_INT > DrawElementsCommandUInt
Definition: DrawCommand.h:101
Definition: DrawCommand.h:52
DrawElementsCommand(GLenum _mode, GLsizei _count, const GLvoid *_indices)
Definition: DrawCommand.h:70
Definition: DrawCommand.h:86
void draw()
Definition: DrawCommand.h:42
DrawElementsInstancedCommand(GLenum _mode, GLsizei _count, const GLvoid *_indices, GLsizei _instanceCount)
Definition: DrawCommand.h:89
GLuint count
Definition: DrawCommand.h:27
void draw()
Definition: DrawCommand.h:59
Definition: DrawCommand.h:67
GLuint instanceCount
Definition: DrawCommand.h:20
Definition: DrawCommand.h:18
GLuint baseInstance
Definition: DrawCommand.h:30
const GLvoid * indices
Definition: DrawCommand.h:83
Definition: AvalancheTrainingSimulationEngine.h:28
Definition: DrawCommand.h:26
GLuint baseInstance
Definition: DrawCommand.h:23
GLuint count
Definition: DrawCommand.h:19
GLuint firstIndex
Definition: DrawCommand.h:21
GLuint baseVertex
Definition: DrawCommand.h:22
void draw()
Definition: DrawCommand.h:76
GLsizei count
Definition: DrawCommand.h:48
DrawElementsInstancedCommand< GL_UNSIGNED_SHORT > DrawElementsInstancedCommandUShort
Definition: DrawCommand.h:105