Struct ChannelDesc

Synopsis

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

struct ChannelDesc

Description

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

Source

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 to DocsForge