RenderTextureResource constructor

RenderTextureResource(
  1. LocalId id, {
  2. required int width,
  3. required int height,
  4. String update = 'everyFrame',
  5. int? intervalMilliseconds,
  6. String filter = 'linear',
  7. String wrap = 'clampToEdge',
})

Creates a render-texture resource.

Implementation

RenderTextureResource(
  super.id, {
  required this.width,
  required this.height,
  this.update = 'everyFrame',
  this.intervalMilliseconds,
  this.filter = 'linear',
  this.wrap = 'clampToEdge',
});