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

Method releaseResource

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

Source from the content-addressed store, hash-verified

936}
937
938void Device::releaseResource(ISlangUnknown* pResource)
939{
940 if (pResource)
941 {
942 // Some static objects get here when the application exits
943 if (this)
944 {
945 mDeferredReleases.push({mpFrameFence ? mpFrameFence->getSignaledValue() : 0, Slang::ComPtr<ISlangUnknown>(pResource)});
946 }
947 }
948}
949
950bool Device::isFeatureSupported(SupportedFeatures flags) const
951{

Callers 13

~ResourceViewMethod · 0.80
invalidateMethod · 0.80
~BufferMethod · 0.80
releaseFramebufferFunction · 0.80
~FboMethod · 0.80
initFramebufferMethod · 0.80
~RtStateObjectMethod · 0.80
~GraphicsStateObjectMethod · 0.80
~ComputeStateObjectMethod · 0.80
~ShaderTablePtrMethod · 0.80
~TextureMethod · 0.80

Calls 1

pushMethod · 0.80

Tested by 1

~ComputeStateObjectMethod · 0.64