Texture constructor

Texture({
  1. required GltfRoot root,
  2. required TextureFormat format,
  3. required TextureFormat internalFormat,
  4. required GltfRef<Sampler>? sampler,
  5. required GltfRef<Image> source,
  6. required TextureTarget target,
  7. required TextureType type,
})

Implementation

Texture({
  required super.root,
  required this.format,
  required this.internalFormat,
  required this.sampler,
  required this.source,
  required this.target,
  required this.type,
});