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

Function getGFXShaderOffset

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

Source from the content-addressed store, hash-verified

38namespace
39{
40gfx::ShaderOffset getGFXShaderOffset(const UniformShaderVarOffset& offset)
41{
42 gfx::ShaderOffset result;
43 result.bindingArrayIndex = 0;
44 result.bindingRangeIndex = 0;
45 result.uniformOffset = offset.getByteOffset();
46 return result;
47}
48
49gfx::ShaderOffset getGFXShaderOffset(const ParameterBlock::BindLocation& bindLoc)
50{

Callers 15

setBlobMethod · 0.85
setVariableInternalFunction · 0.85
setBufferMethod · 0.85
getBufferMethod · 0.85
setTextureMethod · 0.85
getTextureMethod · 0.85
setSrvMethod · 0.85
getSrvMethod · 0.85
setUavMethod · 0.85
getUavMethod · 0.85

Calls 4

getResourceArrayIndexMethod · 0.80
getResourceRangeIndexMethod · 0.80
getUniformMethod · 0.80
getByteOffsetMethod · 0.45

Tested by

no test coverage detected