gpu-curtains
    Preparing search index...

    Options used to create a RenderBundle.

    interface RenderBundleOptions {
        label: string;
        renderPass: RenderPass;
        useBuffer: boolean;
        size: number;
        useIndirectDraw: boolean;
    }
    Index

    Properties

    label: string

    The label of the RenderBundle, sent to various GPU objects for debugging purpose.

    renderPass: RenderPass

    The RenderPass used to describe the RenderBundle encoder descriptor. Default to the first added mesh output target if not set (usually the renderer main render pass or renderer post processing pass).

    useBuffer: boolean

    Whether the RenderBundle should handle all its child meshes transformation matrices with a single GPUBuffer. Can greatly improve performance when dealing with a lot of moving objects, but the size parameter has to be set upon creation and should not change afterwards. Default to false.

    size: number

    Fixed size (number of meshes) of the RenderBundle. Mostly useful when using the useBuffer parameter.

    useIndirectDraw: boolean

    Whether this RenderBundle should create its own IndirectBuffer and add its meshes geometries to it. Default to false.