Constructor
new RenderTarget(width, height, options)
Parameters:
Name | Type | Description |
---|---|---|
width |
number |
Width of rendertarget |
height |
number |
Height of rendertarget |
options |
Object |
Options |
Methods
destroy(context)
Deallocates all allocated resources from the WebGL context.
Parameters:
Name | Type | Description |
---|---|---|
context |
WebGLRenderingContext |
getSizeInMemory() → {number}
Returns the number of bytes this render target occupies in memory