Texture
info
Texture inherits from Object
Base class for Texture handling.
Members
Properties
Name | Description |
---|---|
Texture .anisoLevel | Defines the anisotropic filtering level of the Texture. |
Texture .dimension | Dimensionality (type) of the Texture (Read Only). |
Texture .filterMode | Filtering mode of the texture. |
Texture .height | Height of the texture in pixels. (Read Only) |
Texture .isReadable | 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 .mipMapBias | Mip map bias of the texture. |
Texture .mipmapCount | How many mipmap levels are in this texture (Read Only). |
Texture .updateCount | This counter is incremented when the texture is updated. |
Texture .width | Width of the texture in pixels. (Read Only) |
Texture .wrapMode | Texture coordinate wrapping mode. |
Texture .wrapModeU | Texture U coordinate wrapping mode. |
Texture .wrapModeV | Texture V coordinate wrapping mode. |
Texture .wrapModeW | Texture W coordinate wrapping mode for Texture3D. |
Methods
Name | Description |
---|---|
Texture .GetNativeTexturePtr() | Retrieve a native (underlying graphics API) pointer to the Texture resource. |
Texture .IncrementUpdateCount() | 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 .hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
Texture .name | The name of the object. |
Inherited Methods
Name | Description |
---|---|
Texture .GetInstanceID() | Returns the instance id of the object. |