MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / getVariableOffset

Method getVariableOffset

Source/Falcor/Core/API/ParameterBlock.cpp:180–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180TypedShaderVarOffset ParameterBlock::getVariableOffset(std::string_view varName) const
181{
182 return getElementType()->getZeroOffset()[varName];
183}
184
185void ParameterBlock::createConstantBuffers(const ShaderVar& var)
186{

Callers 1

BlitContextMethod · 0.80

Calls 2

getZeroOffsetMethod · 0.80
getElementTypeFunction · 0.70

Tested by

no test coverage detected