gpu-curtains
    Preparing search index...

    Parameters used to set a GPURenderPassEncoder viewport.

    interface RenderPassViewport {
        width: number;
        height: number;
        top: number;
        left: number;
        minDepth: number;
        maxDepth: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    width: number

    width of the rectangle

    height: number

    height of the rectangle

    top: number

    top position of the bounding box

    left: number

    left position of the bounding box

    minDepth: number

    Minimum depth value of the viewport. Default to 0.

    maxDepth: number

    Maximum depth value of the viewport. Default to 1.