OptionaltextureOptions: IBaseTextureOptions<any>
options that will be passed to BaseRenderTexture constructor
OptionalalphaMode?: ALPHA_MODESOptionalanisotropicLevel?: numberOptionalformat?: FORMATSOptionalheight?: numberOptionalmipmap?: MIPMAP_MODESOptionalmultisample?: MSAA_QUALITYOptionalpixiIdPrefix?: stringOptionalresolution?: numberOptionalresourceOptions?: ROOptionalscaleMode?: SCALE_MODESOptionaltarget?: TARGETSOptionaltype?: TYPESOptionalwidth?: numberOptionalwrapMode?: WRAP_MODESAllow renderTextures of the same size as screen, not just pow2
Automatically sets to true after setScreenSize
Static ReadonlySCREEN_Key that is used to store fullscreen renderTextures in a pool
Clears the pool.
OptionaldestroyTextures: boolean
Destroy all stored textures.
Creates texture with params that were specified in pool constructor.
Width of texture in pixels.
Height of texture in pixels.
Optionalmultisample: MSAA_QUALITY
Number of samples of the framebuffer.
Gets extra texture of the same size as input renderTexture
getFilterTexture(input, 0.5) or getFilterTexture(0.5, input)
renderTexture from which size and resolution will be copied
Optionalresolution: number
override resolution of the renderTexture It overrides, it does not multiply
Optionalmultisample: MSAA_QUALITY
number of samples of the renderTexture
Gets a Power-of-Two render texture or fullScreen texture
The minimum width of the render texture.
The minimum height of the render texture.
Optionalresolution: number
The resolution of the render texture.
Optionalmultisample: MSAA_QUALITY
Number of samples of the render texture.
The new render texture.
Alias for returnTexture, to be compliant with FilterSystem interface.
The renderTexture to free
Place a render texture back into the pool.
The renderTexture to free
If screen size was changed, drops all screen-sized textures,
sets new screen size, sets enableFullScreen to true
Size is measured in pixels, renderer.view can be passed here, not renderer.screen
Initial size of screen.
Texture pool, used by FilterSystem and plugins.
Stores collection of temporary pow2 or screen-sized renderTextures
If you use custom RenderTexturePool for your filters, you can use methods
getFilterTextureandreturnFilterTexturesame as inMemberof
PIXI