Interface INodeRenderGraphCustomBlockDescription
interface INodeRenderGraphCustomBlockDescription {
description: string;
factory: (frameGraph: FrameGraph, scene: Scene) => NodeRenderGraphBlock;
menu: string;
name: string;
}
description: string;
factory: (frameGraph: FrameGraph, scene: Scene) => NodeRenderGraphBlock;
menu: string;
name: string;
}
Properties
description
description: string
Description (tooltip) of the block.
factory
factory: (frameGraph: FrameGraph, scene: Scene) => NodeRenderGraphBlock
Factory function to create the block.
menu
menu: string
Category of the block. Spaces must be replaced by underscores in the category name.
name
name: string
Block name. It will be used as the block name in the left menu of the editor. Spaces must be replaced by underscores in the name.
Description of a custom block to be used in the node render graph editor