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

Method BindArrayVBO

Source/Graphics/graphics.cpp:402–411  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402void Graphics::BindArrayVBO(int val) {
403 LOGS << "Current vbo_array_bound " << vbo_array_bound << std::endl;
404 LOGS << "Value " << val << std::endl;
405 if (vbo_array_bound != val) {
406 vbo_array_bound = val;
407 glBindBuffer(GL_ARRAY_BUFFER, val);
408 } else {
409 LOGS << "Tried to rebind " << val << std::endl;
410 }
411}
412
413void Graphics::BindElementVBO(int val) {
414 if (vbo_element_bound != val) {

Callers 15

DrawMethod · 0.80
DrawMethod · 0.80
BindMethod · 0.80
StopDrawMethod · 0.80
RenderCubeMapMethod · 0.80
EndVertexArraysMethod · 0.80
SetupVertexArraysMethod · 0.80
drawTextureMethod · 0.80
BindMethod · 0.80
BakeTerrainTextureMethod · 0.80
DrawModelVertsFunction · 0.80
DrawMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected