gpu-curtains
    Preparing search index...

    Defines ComputePass options.

    interface ComputePassOptions {
        label: string;
        renderOrder?: number;
        autoRender?: boolean;
        active?: boolean;
        shaders: MaterialShaders;
        useAsyncPipeline?: boolean;
        texturesOptions?: SceneObjectTextureOptions;
        dispatchSize?: number | number[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    label: string

    The label of the ComputePass.

    renderOrder?: number

    Controls the order in which this ComputePass should be rendered by our Scene.

    autoRender?: boolean

    Whether the ComputePass should be added to our Scene to let it handle the rendering process automatically.

    active?: boolean

    Flag indicating whether this ComputePass should run or not, much like the Mesh visible flag. Default to true.

    Compute shader passed to the ComputePass following the shader object notation.

    useAsyncPipeline?: boolean

    whether the compute pipeline should be compiled asynchronously.

    texturesOptions?: SceneObjectTextureOptions

    Parameters used by this ComputePass to create a MediaTexture.

    dispatchSize?: number | number[]

    Default ComputeMaterial work group dispatch size to use with this ComputePass.