Optional
textureOptions: IBaseTextureOptions<any>options that will be passed to BaseRenderTexture constructor
Allow renderTextures of the same size as screen, not just pow2
Automatically sets to true after setScreenSize
false
Static
Readonly
SCREEN_Key that is used to store fullscreen renderTextures in a pool
Creates texture with params that were specified in pool constructor.
Width of texture in pixels.
Height of texture in pixels.
Optional
multisample: MSAA_QUALITYNumber 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
Optional
resolution: numberoverride resolution of the renderTexture It overrides, it does not multiply
Optional
multisample: MSAA_QUALITYnumber 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.
Optional
resolution: numberThe resolution of the render texture.
Optional
multisample: MSAA_QUALITYNumber 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.
Generated using TypeDoc
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
getFilterTexture
andreturnFilterTexture
same as inMemberof
PIXI