PIXI.DepthResource
class DepthResource extends PIXI.BufferResource
Resource type for DepthTexture.
Constructor
new PIXI.DepthResource() → {}
Summary
Methods from DepthResource
boolean |
|
Properties inherited from BufferResource
Float32Array | Uint8Array | Uint16Array | Int32Array | Uint32Array |
Source array Cannot be |
Properties inherited from Resource
boolean |
|
number |
|
boolean |
|
string |
The url of the resource |
boolean |
|
number |
|
number |
Internal height of the resource. |
number |
Internal width of the resource. |
Methods inherited from BufferResource
void |
Destroy and don't use after this. |
Methods inherited from Resource
void |
|
void |
|
void |
|
boolean |
|
void |
|
void |
Has been updated trigger event. |
Promise<PIXI.Resource> |
|
Public Methods
upload(renderer: PIXI.Renderer, baseTexture: PIXI.BaseTexture, glTexture: PIXI.GLTexture) → {boolean}
Upload the texture to the GPU.
Name | Type | Description |
---|---|---|
renderer | PIXI.Renderer |
Upload to the renderer |
baseTexture | PIXI.BaseTexture |
Reference to parent texture |
glTexture | PIXI.GLTexture |
glTexture |
Type | Description |
---|---|
boolean |
|