Function ~ComPtr

Synopsis

#include <Source/Falcor/Core/API/Shader.h>

~ComPtr()

Description

Release reference to the pointed-to object.

Source

Lines 50-50 in Source/Falcor/Core/API/Shader.h.

~ComPtr() { if (mpObject) (mpObject)->Release(); }





Add Discussion as Guest

Log in to DocsForge