Inheritance: EventDispatcher → Node → InputNode → UniformNode → TextureNode → StorageTextureNode →
This special version of a texture node can be used to write data into a 3D storage texture with a compute shader.
Constructs a new 3D storage texture node.
value
The 3D storage texture.
uvNode
The uv node.
storeNode
The value node that should be stored in the texture.
Default is null.
This flag can be used for type testing.
Default is true.
Generates the offset code snippet.
builder
The current node builder.
offsetNode
The offset node to generate code for.
Overrides: StorageTextureNode#generateOffset
Returns: The generated code snippet.
Generates the uv code snippet.
builder
The current node builder.
uvNode
The uv node to generate code for.
Overrides: StorageTextureNode#generateUV
Returns: The generated code snippet.
Returns a default uv node which is in context of 3D textures a three-dimensional uv node.
Overrides: StorageTextureNode#getDefaultUV
Returns: The default uv node.
Overwritten with an empty implementation since the updateMatrix flag is ignored for 3D textures. The uv transformation matrix is not applied to 3D textures.
value
The update toggle.
Overrides: StorageTextureNode#setUpdateMatrix