Small World Engine API Reference - v0.46.1
    Preparing search index...

    Interface RenderTargetOptions

    Configuration options for creating a RenderTarget.

    interface RenderTargetOptions {
        addressModeU?: TextureWrap;
        addressModeV?: TextureWrap;
        anisotropy?: number;
        depth?: boolean;
        flipY?: boolean;
        generateMipmaps?: boolean;
        height: number;
        magFilter?: TextureFilter;
        minFilter?: TextureFilter;
        width: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    addressModeU?: TextureWrap

    The wrapping mode for the U coordinate.

    addressModeV?: TextureWrap

    The wrapping mode for the V coordinate.

    anisotropy?: number

    Requested anisotropic filtering level. Defaults to 1.

    depth?: boolean

    Whether to include a depth/stencil buffer. Defaults to true.

    flipY?: boolean

    Whether the image should be flipped vertically during loading. Defaults to false.

    generateMipmaps?: boolean

    Whether to generate mipmaps. Defaults to true.

    height: number

    The height of the render target in pixels.

    magFilter?: TextureFilter

    The magnification filter.

    minFilter?: TextureFilter

    The minification filter.

    width: number

    The width of the render target in pixels.