
**All Implemented Interfaces:**
java.io.Closeable
```
public interface ITextureUnit extends Closeable
```

[ITextureUnit](../../com.aspose.threed/itextureunit) represents a texture in the memory that shared between GPU and CPU and can be sampled by the shader, where the [Texture](../../com.aspose.threed/texture) only represents a reference to an external file. More details can be found https://en.wikipedia.org/wiki/Texture\_mapping\_unit
## Methods

| Method | Description |
| --- | --- |
| [getDepth()](#getDepth--) | Gets the height of this texture, for none-3D texture it's always 1. |
| [getHeight()](#getHeight--) | Gets the height of this texture. |
| [getMagnification()](#getMagnification--) | Gets the filter mode for magnification. |
| [getMinification()](#getMinification--) | Gets the filter mode for minification. |
| [getMipmap()](#getMipmap--) | Gets the filter mode for mipmap. |
| [getScale()](#getScale--) | Gets the scale of the UV coordinate. |
| [getScroll()](#getScroll--) | Gets the scroll of the UV coordinate. |
| [getType()](#getType--) | Gets the type of this texture unit. |
| [getUWrap()](#getUWrap--) | Gets the wrap mode for texture's U coordinate. |
| [getVWrap()](#getVWrap--) | Gets the wrap mode for texture's V coordinate. |
| [getWWrap()](#getWWrap--) | Gets the wrap mode for texture's W coordinate. |
| [getWidth()](#getWidth--) | Gets the width of this texture. |
| [setMagnification(TextureFilter value)](#setMagnification-com.aspose.threed.TextureFilter-) | Sets the filter mode for magnification. |
| [setMinification(TextureFilter value)](#setMinification-com.aspose.threed.TextureFilter-) | Sets the filter mode for minification. |
| [setMipmap(TextureFilter value)](#setMipmap-com.aspose.threed.TextureFilter-) | Sets the filter mode for mipmap. |
| [setScale(Vector2 value)](#setScale-com.aspose.threed.Vector2-) | Sets the scale of the UV coordinate. |
| [setScroll(Vector2 value)](#setScroll-com.aspose.threed.Vector2-) | Sets the scroll of the UV coordinate. |
| [setUWrap(WrapMode value)](#setUWrap-com.aspose.threed.WrapMode-) | Sets the wrap mode for texture's U coordinate. |
| [setVWrap(WrapMode value)](#setVWrap-com.aspose.threed.WrapMode-) | Sets the wrap mode for texture's V coordinate. |
| [setWWrap(WrapMode value)](#setWWrap-com.aspose.threed.WrapMode-) | Sets the wrap mode for texture's W coordinate. |
### getDepth() {#getDepth--}
```
public abstract int getDepth()
```


Gets the height of this texture, for none-3D texture it's always 1.

**Returns:**
int - the height of this texture, for none-3D texture it's always 1.
### getHeight() {#getHeight--}
```
public abstract int getHeight()
```


Gets the height of this texture.

**Returns:**
int - the height of this texture.
### getMagnification() {#getMagnification--}
```
public abstract TextureFilter getMagnification()
```


Gets the filter mode for magnification.

**Returns:**
[TextureFilter](../../com.aspose.threed/texturefilter) - the filter mode for magnification.
### getMinification() {#getMinification--}
```
public abstract TextureFilter getMinification()
```


Gets the filter mode for minification.

**Returns:**
[TextureFilter](../../com.aspose.threed/texturefilter) - the filter mode for minification.
### getMipmap() {#getMipmap--}
```
public abstract TextureFilter getMipmap()
```


Gets the filter mode for mipmap.

**Returns:**
[TextureFilter](../../com.aspose.threed/texturefilter) - the filter mode for mipmap.
### getScale() {#getScale--}
```
public abstract Vector2 getScale()
```


Gets the scale of the UV coordinate.

**Returns:**
[Vector2](../../com.aspose.threed/vector2) - the scale of the UV coordinate.
### getScroll() {#getScroll--}
```
public abstract Vector2 getScroll()
```


Gets the scroll of the UV coordinate.

**Returns:**
[Vector2](../../com.aspose.threed/vector2) - the scroll of the UV coordinate.
### getType() {#getType--}
```
public abstract TextureType getType()
```


Gets the type of this texture unit.

**Returns:**
[TextureType](../../com.aspose.threed/texturetype) - the type of this texture unit.
### getUWrap() {#getUWrap--}
```
public abstract WrapMode getUWrap()
```


Gets the wrap mode for texture's U coordinate.

**Returns:**
[WrapMode](../../com.aspose.threed/wrapmode) - the wrap mode for texture's U coordinate.
### getVWrap() {#getVWrap--}
```
public abstract WrapMode getVWrap()
```


Gets the wrap mode for texture's V coordinate.

**Returns:**
[WrapMode](../../com.aspose.threed/wrapmode) - the wrap mode for texture's V coordinate.
### getWWrap() {#getWWrap--}
```
public abstract WrapMode getWWrap()
```


Gets the wrap mode for texture's W coordinate.

**Returns:**
[WrapMode](../../com.aspose.threed/wrapmode) - the wrap mode for texture's W coordinate.
### getWidth() {#getWidth--}
```
public abstract int getWidth()
```


Gets the width of this texture.

**Returns:**
int - the width of this texture.
### setMagnification(TextureFilter value) {#setMagnification-com.aspose.threed.TextureFilter-}
```
public abstract void setMagnification(TextureFilter value)
```


Sets the filter mode for magnification.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [TextureFilter](../../com.aspose.threed/texturefilter) | New value |

### setMinification(TextureFilter value) {#setMinification-com.aspose.threed.TextureFilter-}
```
public abstract void setMinification(TextureFilter value)
```


Sets the filter mode for minification.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [TextureFilter](../../com.aspose.threed/texturefilter) | New value |

### setMipmap(TextureFilter value) {#setMipmap-com.aspose.threed.TextureFilter-}
```
public abstract void setMipmap(TextureFilter value)
```


Sets the filter mode for mipmap.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [TextureFilter](../../com.aspose.threed/texturefilter) | New value |

### setScale(Vector2 value) {#setScale-com.aspose.threed.Vector2-}
```
public abstract void setScale(Vector2 value)
```


Sets the scale of the UV coordinate.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Vector2](../../com.aspose.threed/vector2) | New value |

### setScroll(Vector2 value) {#setScroll-com.aspose.threed.Vector2-}
```
public abstract void setScroll(Vector2 value)
```


Sets the scroll of the UV coordinate.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [Vector2](../../com.aspose.threed/vector2) | New value |

### setUWrap(WrapMode value) {#setUWrap-com.aspose.threed.WrapMode-}
```
public abstract void setUWrap(WrapMode value)
```


Sets the wrap mode for texture's U coordinate.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [WrapMode](../../com.aspose.threed/wrapmode) | New value |

### setVWrap(WrapMode value) {#setVWrap-com.aspose.threed.WrapMode-}
```
public abstract void setVWrap(WrapMode value)
```


Sets the wrap mode for texture's V coordinate.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [WrapMode](../../com.aspose.threed/wrapmode) | New value |

### setWWrap(WrapMode value) {#setWWrap-com.aspose.threed.WrapMode-}
```
public abstract void setWWrap(WrapMode value)
```


Sets the wrap mode for texture's W coordinate.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | [WrapMode](../../com.aspose.threed/wrapmode) | New value |

