Function attach

Synopsis

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

void attach(T *in)

Description

Transfer ownership of reference from the caller.

Source

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

void attach(T* in) { T* old = mpObject; mpObject = in; if(old) old->Release(); }





Add Discussion as Guest

Log in to DocsForge