GPUTextureBindingLayout constructor

GPUTextureBindingLayout({
  1. GPUTextureSampleType? sampleType,
  2. GPUTextureViewDimension? viewDimension,
  3. bool? multisampled,
})

Implementation

factory GPUTextureBindingLayout(
        {GPUTextureSampleType? sampleType,
        GPUTextureViewDimension? viewDimension,
        bool? multisampled}) =>
    GPUTextureBindingLayout._(
        sampleType: sampleType?.value ?? GPUTextureSampleType.float.value,
        viewDimension:
            viewDimension?.value ?? GPUTextureViewDimension.value2d.value,
        multisampled: multisampled ?? false);