Function setNull

Synopsis

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

void setNull()

Description

Clear out object pointer.

Source

Lines 83-90 in Source/Falcor/Core/API/Shader.h.

void setNull()
{
    if( mpObject )
    {
        mpObject->Release();
        mpObject = nullptr;
    }
}





Add Discussion as Guest

Log in to DocsForge