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

Method GetCurrentProgram

Source/Graphics/shaders.cpp:922–924  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

920}
921
922Program *Shaders::GetCurrentProgram() {
923 return bound_program == -1 ? 0 : &programs[bound_program];
924}
925
926GLint Shaders::GetTexUniform(int which) {
927 return programs[bound_program].tex_uniform[which];

Callers 1

SetModelMatrixMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected