Data3DTexture constructor
Data3DTexture([
- TypedDataList? data,
- int width = 1,
- int height = 1,
- int depth = 1,
data -
ArrayBufferView of the texture.
width -- width of the texture.
height -- height of the texture.
depth -- depth of the texture.
Implementation
Data3DTexture([TypedDataList? data, int width = 1, int height = 1, int depth = 1]):super() {
image = ImageElement(data: data, width: width, height: height, depth: depth);
magFilter = LinearFilter;
minFilter = LinearFilter;
wrapR = ClampToEdgeWrapping;
generateMipmaps = false;
flipY = false;
unpackAlignment = 1;
}