MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / ClearShaderReflection

Method ClearShaderReflection

deps/LLGL/sources/Renderer/ShaderProgram.cpp:98–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98void ShaderProgram::ClearShaderReflection(ShaderReflection& reflection)
99{
100 reflection.resources.clear();
101 reflection.uniforms.clear();
102 reflection.vertex.inputAttribs.clear();
103 reflection.vertex.outputAttribs.clear();
104 reflection.fragment.outputAttribs.clear();
105 reflection.compute.workGroupSize = { 0, 0, 0 };
106}
107
108void ShaderProgram::FinalizeShaderReflection(ShaderReflection& reflection)
109{

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected