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

Method DrawArrays

Source/Graphics/graphics.cpp:1765–1770  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1763}
1764
1765void Graphics::DrawArrays(GLenum mode, int first, unsigned int count) {
1766 SetVertexAttribArrays();
1767 GL_PERF_START();
1768 glDrawArrays(mode, first, count);
1769 GL_PERF_END();
1770}
1771
1772void Graphics::DrawElements(GLenum mode, unsigned int count, GLenum type, const void* indices) {
1773 SetVertexAttribArrays();

Callers 10

UpdateMethod · 0.80
AddDecalToTrianglesMethod · 0.80
DrawSafeZoneMethod · 0.80
DrawNavMeshMethod · 0.80
DrawBillboardFunction · 0.80
DrawMethod · 0.80
DrawVertMethod · 0.80
DrawVertColorMethod · 0.80
CreateHistogramFunction · 0.80
DrawHistogramFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected