MCPcopy Create free account
hub / github.com/axmolengine/axmol / setProgramState

Method setProgramState

core/renderer/Pass.cpp:133–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133void Pass::setProgramState(backend::ProgramState* programState)
134{
135 if (_programState != programState)
136 {
137 AX_SAFE_RELEASE(_programState);
138 _programState = programState;
139 AX_SAFE_RETAIN(_programState);
140 initUniformLocations();
141 _hashDirty = true;
142 }
143}
144
145void Pass::initUniformLocations()
146{

Callers 4

cloneMethod · 0.45
drawBatchedTrianglesMethod · 0.45
drawCustomCommandMethod · 0.45
parseShaderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected