ITextureUnit

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

NameTypeAccessDescription
TypeTextureTypeReadGets the type of this texture unit.
WidthintReadGets the width of this texture.
HeightintReadGets the height of this texture.
DepthintReadGets the height of this texture, for none-3D texture it’s always 1.
UWrapWrapModeRead/WriteGets or sets the wrap mode for texture’s U coordinate.
VWrapWrapModeRead/WriteGets or sets the wrap mode for texture’s V coordinate.
WWrapWrapModeRead/WriteGets or sets the wrap mode for texture’s W coordinate.
MinificationTextureFilterRead/WriteGets or sets the filter mode for minification.
MagnificationTextureFilterRead/WriteGets or sets the filter mode for magnification.
MipmapTextureFilterRead/WriteGets or sets the filter mode for mipmap.
ScrollVector2Read/WriteGets or sets the scroll of the UV coordinate.
ScaleVector2Read/WriteGets or sets the scale of the UV coordinate.

See Also

 English