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 |
Creates a texture slab backed by a base render-texture. |
PIXI.RenderTexture |
Creates a render-texture from the given base render-texture. |
Protected Methods
protected createSlab() → {TextureSlab}
Creates a texture slab backed by a base render-texture.
Type | Description |
---|---|
TextureSlab |
protected createTexture(baseTexture: PIXI.BaseTexture, frame: PIXI.Rectangle) → {PIXI.RenderTexture}
Creates a render-texture from the given base render-texture.
Name | Type | Description |
---|---|---|
baseTexture | PIXI.BaseTexture | |
frame | PIXI.Rectangle |
Type | Description |
---|---|
PIXI.RenderTexture |