Class Desc

Synopsis

#include <Source/Falcor/Raytracing/RtStateObject.h>

class dlldecl Desc

Description

No description yet.

Methods

operator==
setGlobalRootSignature
setKernels
setMaxTraceRecursionDepth

Source

Lines 39-54 in Source/Falcor/Raytracing/RtStateObject.h.

class dlldecl Desc
{
public:
    Desc& setKernels(const ProgramKernels::SharedConstPtr& pKernels) { mpKernels = pKernels; return *this; }
    Desc& setMaxTraceRecursionDepth(uint32_t maxDepth) { mMaxTraceRecursionDepth = maxDepth; return *this; }
    // TODO(tfoley): this is redundant with the kernels
    Desc& setGlobalRootSignature(const RootSignature::SharedPtr& pRootSig) { mpGlobalRootSignature = pRootSig; return *this; }
    bool operator==(const Desc& other) const;
private:
    ProgramKernels::SharedConstPtr mpKernels;
    RootSignature::SharedPtr mpGlobalRootSignature;
    uint32_t mMaxTraceRecursionDepth = 1;
    friend RtStateObject;
};





Add Discussion as Guest

Log in