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

Method unwrapArray

Source/Falcor/Core/Program/ProgramReflection.cpp:2146–2154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2144}
2145
2146const ReflectionType* ReflectionType::unwrapArray() const
2147{
2148 const ReflectionType* pType = this;
2149 while (auto pArrayType = pType->asArrayType())
2150 {
2151 pType = pArrayType->getElementType();
2152 }
2153 return pType;
2154}
2155
2156uint32_t ReflectionType::getTotalArrayElementCount() const
2157{

Callers 11

isSrvTypeFunction · 0.80
isUavTypeFunction · 0.80
isSamplerTypeFunction · 0.80
isParameterBlockTypeFunction · 0.80
isConstantBufferTypeFunction · 0.80
setVariableInternalFunction · 0.80
FALCOR_SCRIPT_BINDINGFunction · 0.80
getResourceTypeFunction · 0.80
getShaderAccessFunction · 0.80

Calls 1

asArrayTypeMethod · 0.80

Tested by

no test coverage detected