WebGLArrayRenderTarget - Verge3D User Manual - Soft8Soft
Description: Learn how to use WebGLArrayRenderTarget in your interactive 3D apps made with Verge3D

WebGLRenderTarget →

# WebGLArrayRenderTarget

This type of render target represents an array of textures.

## Constructor

### WebGLArrayRenderTarget(width : Integer, height : Integer, depth : Integer)

- width — the width of the render target, in pixels. Default is `1`.
- height — the height of the render target, in pixels. Default is `1`.
- depth — the depth/layer count of the render target. Default is `1`.

Creates a new WebGLArrayRenderTarget.

## Properties

See WebGLRenderTarget for inherited properties.

### # .depth : Integer

The depth/layer count of the render target.

### # .texture : DataArrayTexture

The texture property is overwritten with an instance of DataArrayTexture.

## Methods

See WebGLRenderTarget for inherited methods.

## Source

For more info on how to obtain the source code of this module see this page.