Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OGRECave/ogre
/ bindProgram
Method
bindProgram
RenderSystems/GL/src/OgreGLGpuProgram.cpp:105–109 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
103
}
104
105
void GLArbGpuProgram::bindProgram(void)
106
{
107
glEnable(getProgramType());
108
glBindProgramARB(getProgramType(), mProgramID);
109
}
110
111
void GLArbGpuProgram::unbindProgram(void)
112
{
Callers
2
bindGpuProgram
Method · 0.45
_switchContext
Method · 0.45
Calls
1
getProgramType
Function · 0.85
Tested by
no test coverage detected