Package | laya.webgl.resource |
Class | public class WebGLRenderTarget |
Inheritance | WebGLRenderTarget laya.resource.Bitmap |
Property | Defined By | ||
---|---|---|---|
depthStencilBuffer : * [read-only] | WebGLRenderTarget | ||
frameBuffer : * [read-only] | WebGLRenderTarget |
Method | Defined By | ||
---|---|---|---|
WebGLRenderTarget(width:int, height:int, surfaceFormat:int, surfaceType:int, depthStencilFormat:int, mipMap:Boolean = false, repeat:Boolean = false, minFifter:int = -1, magFifter:int = 1) | WebGLRenderTarget |
Method | Defined By | ||
---|---|---|---|
detoryResource():void [override] | WebGLRenderTarget | ||
recreateResource():void [override] | WebGLRenderTarget |
depthStencilBuffer | property |
depthStencilBuffer:*
[read-only] public function get depthStencilBuffer():*
frameBuffer | property |
frameBuffer:*
[read-only] public function get frameBuffer():*
WebGLRenderTarget | () | Constructor |
public function WebGLRenderTarget(width:int, height:int, surfaceFormat:int, surfaceType:int, depthStencilFormat:int, mipMap:Boolean = false, repeat:Boolean = false, minFifter:int = -1, magFifter:int = 1)
width:int | |
height:int | |
surfaceFormat:int (default = NaN )
| |
surfaceType:int (default = NaN )
| |
depthStencilFormat:int (default = NaN )
| |
mipMap:Boolean (default = false )
| |
repeat:Boolean (default = false )
| |
minFifter:int (default = -1 )
| |
magFifter:int (default = 1 )
|
detoryResource | () | method |
override protected function detoryResource():void
recreateResource | () | method |
override protected function recreateResource():void