Capítulo 221 de 859
Creates a three-dimensional texture from raw data, with parameters to divide it into width, height, and depth.
true, the texture is flipped along the vertical axis when uploaded to the GPU.Constructor
| Signature |
|---|
new Data3DTexture( data : TypedArray, width : number, height : number, depth : number ) |
Properties
| Property | Description |
|---|---|
.flipY : boolean | If set to true, the texture is flipped along the vertical axis when uploaded to the GPU. |
.generateMipmaps : boolean | Whether to generate mipmaps (if possible) for a texture. |
.image : Object | The image definition of a data texture. |
.isData3DTexture : boolean (readonly) | This flag can be used for type testing. |
| `.magFilter : NearestFilter | NearestMipmapNearestFilter |
| `.minFilter : NearestFilter | NearestMipmapNearestFilter |
.unpackAlignment : boolean | Specifies the alignment requirements for the start of each pixel row in memory. |
| `.wrapR : RepeatWrapping | ClampToEdgeWrapping |