MCPcopy 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

ApplyMethod · 0.45
RunMethod · 0.45
ApplyMethod · 0.45
ApplyMethod · 0.45
ApplyMethod · 0.45
RenderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected