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

Method BindElementVBO

Source/Graphics/graphics.cpp:413–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411}
412
413void Graphics::BindElementVBO(int val) {
414 if (vbo_element_bound != val) {
415 vbo_element_bound = val;
416 glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, val);
417 }
418}
419
420// Start the scene drawing by clearing and setting the matrixmode
421void Graphics::startDraw(vec2 start, vec2 end, ScreenType screen_type) {

Callers 15

DrawMethod · 0.80
DrawMethod · 0.80
BindMethod · 0.80
StopDrawMethod · 0.80
EndVertexArraysMethod · 0.80
drawTextureMethod · 0.80
BindMethod · 0.80
BakeTerrainTextureMethod · 0.80
DrawModelVertsFunction · 0.80
DrawMethod · 0.80
EndPresetMethod · 0.80
DrawAltTexCoordsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected