copyWith method

MaxThreadsPerThreadgroup copyWith({
  1. int? width,
  2. int? height,
  3. int? depth,
})

Implementation

MaxThreadsPerThreadgroup copyWith({
  int? width,
  int? height,
  int? depth,
}) {
  return MaxThreadsPerThreadgroup(
    width: width ?? this.width,
    height: height ?? this.height,
    depth: depth ?? this.depth,
  );
}