RenderTextureAllocator

class RenderTextureAllocator

This allocator issues render-textures, and is otherwise just like TextureAllocator.

Constructor


new RenderTextureAllocator() → {}

This allocator issues render-textures, and is otherwise just like TextureAllocator.

Summary


Methods from RenderTextureAllocator

TextureSlab
protected createSlab()

Creates a texture slab backed by a base render-texture.

PIXI.RenderTexture
protected createTexture(baseTexture: PIXI.BaseTexture, frame: PIXI.Rectangle)

Creates a render-texture from the given base render-texture.

Protected Methods


createSlab RenderTextureAllocator.ts:16
protected createSlab() → {TextureSlab}

Creates a texture slab backed by a base render-texture.

Returns:
Type Description
TextureSlab
createTexture RenderTextureAllocator.ts:31
protected createTexture(baseTexture: PIXI.BaseTexture, frame: PIXI.Rectangle) → {PIXI.RenderTexture}

Creates a render-texture from the given base render-texture.

Parameters:
Name Type Description
baseTexture PIXI.BaseTexture
frame PIXI.Rectangle
Returns:
Type Description
PIXI.RenderTexture

Powered by webdoc!