GPUStorageTextureBindingLayout constructor
GPUStorageTextureBindingLayout({
- GPUStorageTextureAccess? access,
- GPUTextureFormat? format,
- GPUTextureViewDimension? viewDimension,
Implementation
factory GPUStorageTextureBindingLayout(
{GPUStorageTextureAccess? access,
GPUTextureFormat? format,
GPUTextureViewDimension? viewDimension}) =>
GPUStorageTextureBindingLayout._(
access: access?.value ?? GPUStorageTextureAccess.writeOnly.value,
format: format?.value ?? undefined,
viewDimension:
viewDimension?.value ?? GPUTextureViewDimension.value2d.value);