GPUSamplerDescriptor constructor

GPUSamplerDescriptor({
  1. String addressModeU,
  2. String addressModeV,
  3. String addressModeW,
  4. String magFilter,
  5. String minFilter,
  6. String mipmapFilter,
  7. double lodMinClamp,
  8. double lodMaxClamp,
  9. int maxAnisotropy,
  10. String label,
})

An ordinary sampler.

maxAnisotropy above one is only honoured where every filter is "linear", which is the same condition the other backends impose and the reason GraphicsDevice.maxAnisotropy is a number rather than a flag.

Implementation

external factory GPUSamplerDescriptor({
  String addressModeU,
  String addressModeV,
  String addressModeW,
  String magFilter,
  String minFilter,
  String mipmapFilter,
  double lodMinClamp,
  double lodMaxClamp,
  int maxAnisotropy,
  String label,
});