Interface IGenerateTextureOptions

interface IGenerateTextureOptions {
    alphaMode?: ALPHA_MODES;
    anisotropicLevel?: number;
    format?: FORMATS;
    height?: number;
    mipmap?: MIPMAP_MODES;
    multisample?: MSAA_QUALITY;
    pixiIdPrefix?: string;
    region?: Rectangle;
    resolution?: number;
    resourceOptions?: any;
    scaleMode?: SCALE_MODES;
    target?: TARGETS;
    type?: TYPES;
    width?: number;
    wrapMode?: WRAP_MODES;
}

Hierarchy (view full)

Properties

alphaMode?: ALPHA_MODES
anisotropicLevel?: number
format?: FORMATS
height?: number
mipmap?: MIPMAP_MODES
multisample?: MSAA_QUALITY

The number of samples of the frame buffer. The default is the renderer's multisample.

pixiIdPrefix?: string
region?: Rectangle

The region of the displayObject, that shall be rendered, if no region is specified, defaults to the local bounds of the displayObject.

resolution?: number

The resolution / device pixel ratio of the texture being generated. The default is the renderer's resolution.

resourceOptions?: any
scaleMode?: SCALE_MODES
target?: TARGETS
type?: TYPES
width?: number
wrapMode?: WRAP_MODES

Generated using TypeDoc