Dart DocumentationthreeWebGLRenderTargetCube

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

int activeCubeFace #

int activeCubeFace

int anisotropy #

inherited from Texture
int wrapS, wrapT, magFilter, minFilter, format, type, anisotropy

bool depthBuffer #

inherited from WebGLRenderTarget
bool depthBuffer

bool flipY #

inherited from Texture
bool flipY

int format #

inherited from Texture
int wrapS, wrapT, magFilter, minFilter, format

bool generateMipmaps #

inherited from WebGLRenderTarget
bool generateMipmaps

num height #

inherited from WebGLRenderTarget
num width, height

int id #

inherited from Texture
int id

var image #

inherited from Texture
var image

int magFilter #

inherited from Texture
int wrapS, wrapT, magFilter

var mapping #

inherited from Texture
var mapping

int minFilter #

inherited from Texture
int wrapS, wrapT, magFilter, minFilter

List mipmaps #

inherited from Texture
List mipmaps = []

bool needsUpdate #

inherited from Texture
bool needsUpdate

Vector2 offset #

inherited from WebGLRenderTarget
Vector2 offset

var onUpdate #

inherited from Texture
var onUpdate

bool premultiplyAlpha #

inherited from Texture
bool premultiplyAlpha

Vector2 repeat #

inherited from WebGLRenderTarget
Vector2 repeat

var shareDepthFrom #

inherited from WebGLRenderTarget
var shareDepthFrom

bool stencilBuffer #

inherited from WebGLRenderTarget
bool depthBuffer,
		 stencilBuffer

int type #

inherited from Texture
int wrapS, wrapT, magFilter, minFilter, format, type

int unpackAlignment #

inherited from Texture
int unpackAlignment = 4

num width #

inherited from WebGLRenderTarget
num width

int wrapS #

inherited from Texture
int wrapS

int wrapT #

inherited from Texture
int wrapS, wrapT

Operators

dynamic operator [](String key) #

inherited from Texture
operator [] (String key) => _data[key];

dynamic operator []=(String key, value) #

inherited from Texture
operator []= (String key, value) => _data[key] = value;

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);