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

Method createStructuredBuffer

Source/Falcor/Core/API/Device.cpp:743–753  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

741}
742
743ref<Buffer> Device::createStructuredBuffer(
744 uint32_t structSize,
745 uint32_t elementCount,
746 ResourceBindFlags bindFlags,
747 MemoryType memoryType,
748 const void* pInitData,
749 bool createCounter
750)
751{
752 return make_ref<Buffer>(ref<Device>(this), structSize, elementCount, bindFlags, memoryType, pInitData, createCounter);
753}
754
755ref<Buffer> Device::createStructuredBuffer(
756 const ReflectionType* pType,

Callers 15

executeMethod · 0.80
SDFEditorMethod · 0.80
bindShaderDataMethod · 0.80
updateBufferMethod · 0.80
setSceneMethod · 0.80
initInstanceInfoMethod · 0.80
prepareResourcesMethod · 0.80
generateDataMethod · 0.80
executeMethod · 0.80
getGPUBufferMethod · 0.80
createGpuBuffersMethod · 0.80
bindShaderDataMethod · 0.80

Calls 4

asResourceTypeMethod · 0.80
unwrapArrayMethod · 0.80
maxFunction · 0.50
getTypeMethod · 0.45

Tested by 15

generateDataMethod · 0.64
executeMethod · 0.64
testFunction · 0.64
testFunction · 0.64
GPU_TESTFunction · 0.64
testFunction · 0.64
GPU_TESTFunction · 0.64
createBufferFromVectorFunction · 0.64
setupSamplingTestFunction · 0.64
tabulateHistogramFunction · 0.64
tabulatePdfFunction · 0.64