> For the complete documentation index, see [llms.txt](https://nswamy14.gitbook.io/i2djs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nswamy14.gitbook.io/i2djs/api-reference/webgl-api/texture-object.md).

# Texture Object

Syntax:&#x20;

```
webglRenderer.TextureObject(textureConfig)
```

TextureConfig:

Below are the list of texture config supports:

* **width:** Texture width
* **height:** Texture height
* **border:**
* **format:**
* **type:**
* **wraps:**
* **wrapsT**
* **magFilter**
* **minFilter:**
* **mipMap:**

Example:&#x20;

```
var Texture = webglRenderer.TextureObject({
    width: webglRenderer.width * webglRenderer.pixelRatio,
    height: webglRenderer.height * webglRenderer.pixelRatio,
    border: 0,
    format: 'RGBA',
    type: 'UNSIGNED_BYTE',
    warpS: 'CLAMP_TO_EDGE',
    warpT: 'CLAMP_TO_EDGE',
    magFilter: 'LINEAR',
    minFilter: 'LINEAR',
    mipMap: false
});
```
