WebGLRenderTargetOptions.create constructor

WebGLRenderTargetOptions.create({
  1. int? wrapS,
  2. int count = 1,
  3. bool resolveDepthBuffer = false,
  4. bool resolveStencilBuffer = false,
  5. int? internalFormat,
  6. int? wrapT,
  7. int? wrapR,
  8. int? magFilter,
  9. int? minFilter,
  10. int? format,
  11. int? type,
  12. int? anisotropy,
  13. bool? depthBuffer,
  14. int? mapping,
  15. bool generateMipmaps = false,
  16. DepthTexture? depthTexture,
  17. int? encoding,
  18. bool useMultisampleRenderToTexture = false,
  19. bool ignoreDepth = false,
  20. bool useRenderToTexture = false,
  21. int? samples,
  22. String? colorSpace,
  23. int depth = 1,
  24. bool multiview = false,
})

Implementation

WebGLRenderTargetOptions.create({
  this.wrapS,
  this.count = 1,
  this.resolveDepthBuffer = false,
  this.resolveStencilBuffer = false,
  this.internalFormat,
  this.wrapT,
  this.wrapR,
  this.magFilter,
  this.minFilter,
  this.format,
  this.type,
  this.anisotropy,
  this.depthBuffer,
  this.mapping,
  this.generateMipmaps = false,
  this.depthTexture,
  this.encoding,
  this.useMultisampleRenderToTexture = false,
  this.ignoreDepth = false,
  this.useRenderToTexture = false,
  this.samples,
  this.colorSpace,
  this.depth = 1,
  this.multiview = false
});