Skip to content

API > Texture


Texture⚓︎

Texture inherits from Object

Base class for Texture handling.

Members⚓︎

Properties⚓︎

Name Description
Texture.anisoLevelProperty Defines the anisotropic filtering level of the Texture.
Texture.dimensionProperty Dimensionality (type) of the Texture (Read Only).
Texture.filterModeProperty Filtering mode of the texture.
Texture.heightProperty Height of the texture in pixels. (Read Only)
Texture.isReadableProperty Returns true if the Read/Write Enabled checkbox was checked when the texture was imported; otherwise returns false. For a dynamic Texture created from script, always returns true.
Texture.mipMapBiasProperty Mip map bias of the texture.
Texture.mipmapCountProperty How many mipmap levels are in this texture (Read Only).
Texture.updateCountProperty This counter is incremented when the texture is updated.
Texture.widthProperty Width of the texture in pixels. (Read Only)
Texture.wrapModeProperty Texture coordinate wrapping mode.
Texture.wrapModeUProperty Texture U coordinate wrapping mode.
Texture.wrapModeVProperty Texture V coordinate wrapping mode.
Texture.wrapModeWProperty Texture W coordinate wrapping mode for Texture3D.

Methods⚓︎

Name Description
Texture.GetNativeTexturePtr() Method Retrieve a native (underlying graphics API) pointer to the Texture resource.
Texture.IncrementUpdateCount() Method Increment the update counter. Call this method when you update a Texture from the GPU side, or you want to explicitly increment the counter.

Inherited Members⚓︎

Inherited Properties⚓︎

Name Description
Texture.hideFlagsProperty Should the object be hidden, saved with the Scene or modifiable by the user?
Texture.nameProperty The name of the object.

Inherited Methods⚓︎

Name Description
Texture.GetInstanceID()Method Returns the instance id of the object.