ITextureUnit
Overview
ITextureUnit is a interface in Aspose.3D FOSS for .NET.
Inherits from: IDisposable.
represents a texture in the memory that shared between GPU and CPU and can be sampled by the shader, where the only represents a reference to an external file.
Properties: Depth, Height, Magnification, Minification, Mipmap, Scale, and 6 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Type | TextureType | Read | Gets the type of this texture unit. |
Width | int | Read | Gets the width of this texture. |
Height | int | Read | Gets the height of this texture. |
Depth | int | Read | Gets the height of this texture, for none-3D texture it’s always 1. |
UWrap | WrapMode | Read/Write | Gets or sets the wrap mode for texture’s U coordinate. |
VWrap | WrapMode | Read/Write | Gets or sets the wrap mode for texture’s V coordinate. |
WWrap | WrapMode | Read/Write | Gets or sets the wrap mode for texture’s W coordinate. |
Minification | TextureFilter | Read/Write | Gets or sets the filter mode for minification. |
Magnification | TextureFilter | Read/Write | Gets or sets the filter mode for magnification. |
Mipmap | TextureFilter | Read/Write | Gets or sets the filter mode for mipmap. |
Scroll | Vector2 | Read/Write | Gets or sets the scroll of the UV coordinate. |
Scale | Vector2 | Read/Write | Gets or sets the scale of the UV coordinate. |