Function create

Synopsis

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

static BlendState::SharedPtr create(const Desc &desc)

Description

Create a new blend state object.

Parameters:

[ in ] Desc - Blend state descriptor.

Return
A new object, or throws an exception if creation failed.

Source

Lines 34-37 in Source/Falcor/Core/API/BlendState.cpp. Line 148 in Source/Falcor/Core/API/BlendState.h.

BlendState::SharedPtr BlendState::create(const Desc& desc)
{
    return SharedPtr(new BlendState(desc));
}





Add Discussion as Guest

Log in to DocsForge