GPUBufferBindingLayout constructor

GPUBufferBindingLayout({
  1. GPUBufferBindingType? type,
  2. bool? hasDynamicOffset,
  3. int? minBindingSize,
})

Implementation

factory GPUBufferBindingLayout(
        {GPUBufferBindingType? type,
        bool? hasDynamicOffset,
        int? minBindingSize}) =>
    GPUBufferBindingLayout._(
        type: type?.value ?? GPUBufferBindingType.uniform.value,
        hasDynamicOffset: hasDynamicOffset ?? false,
        minBindingSize: minBindingSize ?? 0);