WebGLArrayRenderTarget constructor

WebGLArrayRenderTarget(
  1. int width,
  2. int height,
  3. int depth
)

Implementation

WebGLArrayRenderTarget(int width, int height, int depth)
    : super(width, height) {
		this.depth = depth;
  texture = DataArrayTexture(null, width, height, depth);
  texture.isRenderTargetTexture = true;
}