Name | Type | Description |
---|---|---|
width |
number |
Width of the frame buffer |
height |
number |
Height of the frame buffer |
Members
-
colorTexture Array.<PIXI.Texture> readonly
-
Reference to the colorTexture.
Methods
-
Add texture to the colorTexture array
Name Type Default Description index
number 0 optional Index of the array to add the texture to
texture
PIXI.Texture optional Texture to add to the array
-
Add a depth texture to the frame buffer
Name Type Description texture
PIXI.Texture optional Texture to add
-
disposes WebGL resources that are connected to this geometry
-
Enable depth on the frame buffer
-
Enable stencil on the frame buffer
-
Resize the frame buffer
Name Type Description width
number Width of the frame buffer to resize to
height
number Height of the frame buffer to resize to