Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JeanPhilippeKernel/RendererEngine
/ Bind
Method
Bind
ZEngine/src/Shader.cpp:45–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
43
}
44
45
void Shader::Bind() const {
46
if (!IsActive()) {
47
glUseProgram(m_program);
48
}
49
}
50
51
void Shader::Unbind() const {
52
glUseProgram(0);
Callers
6
Apply
Method · 0.45
Run
Method · 0.45
Apply
Method · 0.45
Apply
Method · 0.45
Apply
Method · 0.45
Render
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected