RSX Code Reference
    Preparing search index...
    • rsx
    • IGraphCodeGenerationPreviewData

    Interface IGraphCodeGenerationPreviewData

    The GraphCodeGenerationPreviewData interface is used to provide additional data for the code generation preview.

    interface IGraphCodeGenerationPreviewData {
        nodeToPreviewDataIndex: Map<GraphNode, number>;
        previewCount: number;
        target: string;
    }
    Index
    nodeToPreviewDataIndex: Map<GraphNode, number>

    Maps the specified GraphNode to its preview index.

    Not all nodes have a preview representation.

    previewCount: number

    The total number of previews.

    target: string

    The preview target.

    For material graphs, this is typically the name of the output pin to visualize.