MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / DrawElementsInstanced

Method DrawElementsInstanced

Source/Graphics/graphics.cpp:1779–1784  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1777}
1778
1779void Graphics::DrawElementsInstanced(GLenum mode, unsigned int count, GLenum type, const void* indices, unsigned int primcount) {
1780 SetVertexAttribArrays();
1781 GL_PERF_START();
1782 glDrawElementsInstanced(mode, count, type, indices, primcount);
1783 GL_PERF_END();
1784}
1785
1786void Graphics::DrawRangeElements(GLenum mode, unsigned int start, unsigned int end, unsigned int count, GLenum type, const void* indices) {
1787 SetVertexAttribArrays();

Callers 5

DrawMethod · 0.80
DrawMethod · 0.80
DrawGPUParticleFieldFunction · 0.80
DrawMethod · 0.80
DrawInstancesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected