Struct ChannelDesc


#include <Source/Falcor/RenderGraph/RenderPassHelpers.h>

struct ChannelDesc


Helper struct with metadata for a render pass input/output.


Lines 40-47 in Source/Falcor/RenderGraph/RenderPassHelpers.h.

struct ChannelDesc
    std::string name;       ///< Render pass I/O pin name.
    std::string texname;    ///< Name of corresponding resource in the shader, or empty if it's not a shader variable.
    std::string desc;       ///< Human-readable description of the data.
    bool optional = false;  ///< Set to true if the resource is optional.
    ResourceFormat format = ResourceFormat::RGBA32Float;

Add Discussion as Guest

Log in