Creates a three-dimensional texture. This type of texture can only be used with a WebGL 2 rendering context.
data -- data of the texture.
width -- width of the texture.
height -- height of the texture.
depth -- depth of the texture.
See the base Texture class for common properties.
See the base Texture class for common methods.
For more info on how to obtain the source code of this module see this page.