Function detach

Synopsis

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

T * detach()

Description

Transfer ownership of reference to the caller.

Source

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

T* detach() { T* ptr = mpObject; mpObject = nullptr; return ptr; }





Add Discussion as Guest

Log in to DocsForge