MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getDesc

Method getDesc

Engine/source/gfx/genericConstBuffer.cpp:139–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139bool GenericConstBufferLayout::getDesc(const String& name, ParamDesc& param) const
140{
141 for (U32 i = 0; i < mParams.size(); i++)
142 {
143 if (mParams[i].name.equal(name))
144 {
145 param = mParams[i];
146 return true;
147 }
148 }
149 return false;
150}
151
152bool GenericConstBufferLayout::getDesc(const U32 index, ParamDesc& param) const
153{

Callers 13

dumpStatesMethod · 0.80
endFunction · 0.80
bindMethod · 0.80
bindMethod · 0.80
clearMethod · 0.80
renderMethod · 0.80
describeSelfMethod · 0.80
describeSelfMethod · 0.80
initMethod · 0.80

Calls 2

sizeMethod · 0.45
equalMethod · 0.45

Tested by

no test coverage detected