Class Desc

Synopsis

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

class dlldecl Desc

Description

No description yet.

Methods

getProgramKernels
getProgramVersion
operator==
setProgramKernels
setRootSignature

Source

Lines 41-53 in Source/Falcor/Core/API/ComputeStateObject.h.

class dlldecl Desc
{
public:
    Desc& setRootSignature(RootSignature::SharedPtr pSignature) { mpRootSignature = pSignature; return *this; }
    Desc& setProgramKernels(const ProgramKernels::SharedConstPtr& pProgram) { mpProgram = pProgram; return *this; }
    const ProgramKernels::SharedConstPtr getProgramKernels() const { return mpProgram; }
    ProgramVersion::SharedConstPtr getProgramVersion() const { return mpProgram->getProgramVersion(); }
    bool operator==(const Desc& other) const;
private:
    friend class ComputeStateObject;
    ProgramKernels::SharedConstPtr mpProgram;
    RootSignature::SharedPtr mpRootSignature;
};





Add Discussion as Guest

Log in