GPUSamplerBindingLayout constructor

GPUSamplerBindingLayout({
  1. String type,
})

type is "filtering", "non-filtering" or "comparison", and it has to agree with how the sampler was made: a comparison sampler in a filtering slot is refused, which is the layout side of the split GPUSamplerDescriptor makes.

Implementation

external factory GPUSamplerBindingLayout({String type});