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

Method createBufferFromNativeHandle

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

Source from the content-addressed store, hash-verified

798}
799
800ref<Buffer> Device::createBufferFromNativeHandle(NativeHandle handle, size_t size, ResourceBindFlags bindFlags, MemoryType memoryType)
801{
802 return make_ref<Buffer>(ref<Device>(this), handle, size, bindFlags, memoryType);
803}
804
805ref<Texture> Device::createTexture1D(
806 uint32_t width,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected