Function setProgram

Synopsis

#include <Source/Falcor/Core/State/ComputeState.h>

ComputeState & setProgram(const ComputeProgram::SharedPtr &pProgram)

Description

Bind a program to the pipeline

Source

Lines 59-59 in Source/Falcor/Core/State/ComputeState.h.

ComputeState& setProgram(const ComputeProgram::SharedPtr& pProgram) { mpProgram = pProgram; return *this; }





Add Discussion as Guest

Log in