ThreePipe
    Preparing search index...

    Interface IPass<Tid>

    interface IPass<Tid extends IPassID = IPassID> {
        dirty?: ValOrFunc<boolean>;
        materialExtension?: MaterialExtension;
        onDirty?: (() => void)[];
        passId?: Tid;
        uniforms?: { [name: string]: IUniform<any> };
        setDirty(): void;
    }

    Type Parameters

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    dirty?: ValOrFunc<boolean>

    Checked by RenderManager to determine whether to render this frame. A frame is rendered if any pass is dirty. This can be set by the plugin/pass to indicate when to continue rendering. See ProgressivePlugin. This is different from setDirty which is implementation specific to the pass/plugin. It generally calls onDirty and set the viewer dirty.

    materialExtension?: MaterialExtension
    onDirty?: (() => void)[]
    passId?: Tid

    Unique id for the pass. Used to determine the order of passes in the pipeline.

    uniforms?: { [name: string]: IUniform<any> }

    Methods

    • Set the pass as dirty. This is implementation specific to the pass/plugin. It generally calls all onDirty and set the viewer dirty.

      Returns void