Angle3DRenderTarget constructor

Angle3DRenderTarget([
  1. int width = 1,
  2. int height = 1,
  3. int depth = 1,
  4. RenderTargetOptions? options,
])

Implementation

Angle3DRenderTarget([int width = 1, int height = 1, int depth = 1, RenderTargetOptions? options]) : super(width, height, options) {
  this.depth = depth;
  texture = Data3DTexture(null, width, height, depth);
  texture.isRenderTargetTexture = true;
}