Creates a new InternalTexture
defines the engine to use
defines the type of data that will be used
if the texture allocation should be delayed (default: false)
Gets the initial depth of the texture (It could be rescaled if the current system does not support non power of two textures)
Gets the initial height of the texture (It could be rescaled if the current system does not support non power of two textures)
Gets the initial width of the texture (It could be rescaled if the current system does not support non power of two textures)
Gets the data source type of the texture (can be one of the InternalTexture.DATASOURCE_XXXX)
Gets the depth of the texture
Gets the format of the texture (RGB, RGBA...)
Gets a boolean indicating if the texture needs mipmaps generation
Gets the height of the texture
Gets a boolean indicating if the texture is inverted on Y axis
Defines if the texture contains 3D data
Defines if the texture is a cube texture
Defines if the texture contains multiview data
Defines if the texture is ready
Observable called when the texture is loaded
Gets the number of samples used by the texture (WebGL2+ only)
Gets the sampling mode of the texture
Gets the type of the texture (int, float...)
Gets the URL used to load this texture
Gets the width of the texture
Texture data comes from a cube data file
Texture data come from a prefiltered cube data file
Texture data comes from a raw cube data
Texture data comes from a raw cube data encoded with RGBD
Texture content is a depth texture
Texture content is dynamic (video or dynamic texture)
Texture content is part of a multi render target process
Texture data comes from raw data (ArrayBuffer)
Texture content is raw 3D data
Texture content is generated by rendering to it
Texture data is only used for temporary storage
The source of the texture data is unknown
Texture data comes from an URL
Dispose the current allocated resources
Gets the Engine the texture belongs to.
The babylon engine
Increments the number of references (ie. the number of Texture that point to it)
Generated using TypeDoc
Class used to store data associated with WebGL texture data for the engine This class should not be used directly