WebGLRenderTargetCube class
class WebGLRenderTargetCube extends WebGLRenderTarget { int activeCubeFace; // PX 0, NX 1, PY 2, NY 3, PZ 4, NZ 5 WebGLRenderTargetCube( num width, num height, { wrapS: ClampToEdgeWrapping, wrapT: ClampToEdgeWrapping, magFilter: LinearFilter, minFilter: LinearMipMapLinearFilter, anisotropy: 1, format: RGBAFormat, type: UnsignedByteType, depthBuffer: true, stencilBuffer: true } ) : activeCubeFace = 0, super(width,height, wrapS: wrapS, wrapT: wrapT, magFilter: magFilter, minFilter: minFilter, anisotropy: anisotropy, format: format, type: type, depthBuffer: depthBuffer, stencilBuffer: stencilBuffer); }
Extends
Texture > WebGLRenderTarget > WebGLRenderTargetCube
Constructors
new WebGLRenderTargetCube(num width, num height, {wrapS: ClampToEdgeWrapping, wrapT: ClampToEdgeWrapping, magFilter: LinearFilter, minFilter: LinearMipMapLinearFilter, anisotropy: 1, format: RGBAFormat, type: UnsignedByteType, depthBuffer: true, stencilBuffer: true}) #
Creates a new Object instance.
Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.
docs inherited from Object
WebGLRenderTargetCube( num width, num height, { wrapS: ClampToEdgeWrapping, wrapT: ClampToEdgeWrapping, magFilter: LinearFilter, minFilter: LinearMipMapLinearFilter, anisotropy: 1, format: RGBAFormat, type: UnsignedByteType, depthBuffer: true, stencilBuffer: true } ) : activeCubeFace = 0, super(width,height, wrapS: wrapS, wrapT: wrapT, magFilter: magFilter, minFilter: minFilter, anisotropy: anisotropy, format: format, type: type, depthBuffer: depthBuffer, stencilBuffer: stencilBuffer);
Properties
Operators
Methods
WebGLRenderTarget clone() #
inherited from WebGLRenderTarget
WebGLRenderTarget clone() => new WebGLRenderTarget( width, height , wrapS: this.wrapS, wrapT: this.wrapT, magFilter: this.magFilter, anisotropy: this.anisotropy, minFilter: this.minFilter, offset: offset.clone(), repeat: repeat.clone(), format: this.format, type: this.type, depthBuffer: this.depthBuffer, stencilBuffer: this.stencilBuffer, generateMipmaps: this.generateMipmaps, shareDepthFrom: this.shareDepthFrom);