@pixi/3d
    Preparing search index...

    Interface TransientTextureOptionsAdvanced

    Options for a texture the graph allocates, such as an effect's intermediate

    Sized as in pixi: width and height are logical pixels, and resolution multiplies them into texels. {} gives a texture the size of the scene colour.

    The texture comes from pixi's TexturePool, which rounds its size up, to the next power of two or to the canvas size. The content sits at the texture's origin, and texture.frame gives its size.

    interface TransientTextureOptions {
        antialias?: boolean;
        autoGenerateMipmaps?: boolean;
        format?: TEXTURE_FORMATS;
        height?: number;
        label?: string;
        resolution?: number | "inherit";
        scaleMode?: "nearest" | "linear";
        width?: number;
    }
    Index
    antialias?: boolean

    Whether the texture is multisampled, which smooths the edges of the triangles drawn into it

    Only a texture scene passes draw meshes into needs it: an effect's output is one fullscreen triangle with no edges to smooth, and the samples take four times the texture's memory. Passes sample it like any other texture, since the graph resolves it after it's written, but each sampled depth costs a copy into a single-sample texture every frame.

    false
    
    autoGenerateMipmaps?: boolean

    Whether the texture has a mip chain, which the graph fills after the pass that last writes it each frame; a depth texture's mips stay empty

    false
    

    Texture format

    the scene colour's format for colour, or the view target's when the scene colour has none of its own; 'depth24plus-stencil8' for depth

    height?: number

    Height in logical pixels

    the view's viewport height
    
    label?: string

    Debug label, which also names the texture in errors

    resolution?: number | "inherit"

    Texels per logical pixel, as on pixi's render textures

    'inherit' follows the scene's, RenderGraph#resolution. A number is absolute: 1 is half the physical size on a DPR 2 screen, a common choice for a cheaper blur or AO.

    'inherit'
    
    scaleMode?: "nearest" | "linear"

    Sampling filter

    'linear' for colour, 'nearest' for depth
    
    width?: number

    Width in logical pixels

    the view's viewport width