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

PropertyDescription
typeGets the type of this texture unit.
widthGets the width of this texture.
heightGets the height of this texture.
depthGets the height of this texture, for none-3D texture it’s always 1.
u_wrapGets or sets the wrap mode for texture’s U coordinate.
v_wrapGets or sets the wrap mode for texture’s V coordinate.
w_wrapGets or sets the wrap mode for texture’s W coordinate.
minificationGets or sets the filter mode for minification.
magnificationGets or sets the filter mode for magnification.
mipmapGets or sets the filter mode for mipmap.
scrollGets or sets the scroll of the UV coordinate.
scaleGets or sets the scale of the UV coordinate.

See Also