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

Method getBufferDataAlignment

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

Source from the content-addressed store, hash-verified

927}
928
929size_t Device::getBufferDataAlignment(ResourceBindFlags bindFlags)
930{
931 if (is_set(bindFlags, ResourceBindFlags::Constant))
932 return kConstantBufferDataPlacementAlignment;
933 if (is_set(bindFlags, ResourceBindFlags::Index))
934 return kIndexBufferDataPlacementAlignment;
935 return 1;
936}
937
938void Device::releaseResource(ISlangUnknown* pResource)
939{

Callers 2

BufferMethod · 0.80
allocateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected