ITextureUnit class
ITextureUnit class
ITextureUnit represents a texture in the memory that shared between GPU and CPU and can be sampled by the shader,
where the Texture only represents a reference to an external file.
More details can be found https://en.wikipedia.org/wiki/Texture_mapping_unit
The ITextureUnit type exposes the following members:
Properties
| Property | Description |
|---|---|
| type | Gets the type of this texture unit. |
| width | Gets the width of this texture. |
| height | Gets the height of this texture. |
| depth | Gets the height of this texture, for none-3D texture it’s always 1. |
| u_wrap | Gets or sets the wrap mode for texture’s U coordinate. |
| v_wrap | Gets or sets the wrap mode for texture’s V coordinate. |
| w_wrap | Gets or sets the wrap mode for texture’s W coordinate. |
| minification | Gets or sets the filter mode for minification. |
| magnification | Gets or sets the filter mode for magnification. |
| mipmap | Gets or sets the filter mode for mipmap. |
| scroll | Gets or sets the scroll of the UV coordinate. |
| scale | Gets or sets the scale of the UV coordinate. |
See Also
- module
aspose.threed.render - class
ITextureUnit - class
Texture