AngleArrayRenderTarget constructor

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

Implementation

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