Capítulo 487 de 859
This special version of a texture node can be used to write data into a 3D storage texture with a compute shader.
Constructor
| Signature |
|---|
new StorageTexture3DNode( value : Storage3DTexture, uvNode : Node.<vec3>, storeNode : Node ) |
Properties
| Property | Description |
|---|---|
.isStorageTexture3DNode : boolean (readonly) | This flag can be used for type testing. |
Methods
| Method | Description |
|---|---|
.generateOffset( builder : NodeBuilder, offsetNode : Node ) : string | Generates the offset code snippet. |
.generateUV( builder : NodeBuilder, uvNode : Node ) : string | Generates the uv code snippet. |
.getDefaultUV() : Node.<vec3> | Returns a default uv node which is in context of 3D textures a three-dimensional uv node. |
.setUpdateMatrix( value : boolean ) | Overwritten with an empty implementation since the updateMatrix flag is ignored for 3D textures. The uv transformation matrix is not applied to 3D textures. |