ImageTexture constructor

ImageTexture(
  1. ByteData source, {
  2. required int width,
  3. required int height,
})

A texture that holds an image as it's render-able texture.

Implementation

ImageTexture(super.source, {required super.width, required super.height});