GPUExtent3DDict constructor

GPUExtent3DDict({
  1. required int width,
  2. int? height,
  3. int? depthOrArrayLayers,
})

Implementation

factory GPUExtent3DDict(
        {required int width, int? height, int? depthOrArrayLayers}) =>
    GPUExtent3DDict._(
        width: width,
        height: height ?? 1,
        depthOrArrayLayers: depthOrArrayLayers ?? 1);