Constructor
new Storage3DTexture( width : number, height : number, depth : number )
Constructs a new storage texture.
| width |
The storage texture's width. Default is |
| height |
The storage texture's height. Default is |
| depth |
The storage texture's depth. Default is |
Properties
.image : Object
The image object which just represents the texture's dimension.
- Overrides: Texture#image
.is3DTexture : boolean
Indicates whether this texture is a 3D texture.
.isStorageTexture : boolean (readonly)
This flag can be used for type testing.
Default is true.
.magFilter : number
The default magFilter for storage textures is THREE.LinearFilter.
- Overrides: Texture#magFilter
.minFilter : number
The default minFilter for storage textures is THREE.LinearFilter.
- Overrides: Texture#minFilter
.wrapR : number
This defines how the texture is wrapped in the depth direction and corresponds to W in UVW mapping.
Methods
.setSize( width : number, height : number, depth : number )
Sets the size of the storage 3d texture.
| width |
The new width of the storage texture. |
| height |
The new height of the storage texture. |
| depth |
The new depth of the storage texture. |