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

Method getNativeHandle

Source/Falcor/Core/API/Fence.cpp:85–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85NativeHandle Fence::getNativeHandle() const
86{
87 gfx::InteropHandle gfxNativeHandle = {};
88 FALCOR_GFX_CALL(mGfxFence->getNativeHandle(&gfxNativeHandle));
89#if FALCOR_HAS_D3D12
90 if (mpDevice->getType() == Device::Type::D3D12)
91 return NativeHandle(reinterpret_cast<ID3D12Fence*>(gfxNativeHandle.handleValue));
92#endif
93#if FALCOR_HAS_VULKAN
94 // currently not supported
95#endif
96 return {};
97}
98
99void Fence::breakStrongReferenceToDevice()
100{

Callers 15

dispatchMethod · 0.45
initializeNGXMethod · 0.45
shutdownNGXMethod · 0.45
evaluateDLSSMethod · 0.45
initializeMethod · 0.45
createApiHandleMethod · 0.45
setCpuHandleMethod · 0.45
setSrvMethod · 0.45
setUavMethod · 0.45
setSamplerMethod · 0.45

Calls 2

NativeHandleClass · 0.85
getTypeMethod · 0.45

Tested by

no test coverage detected