WebGL3DRenderTarget constructor

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

Implementation

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