copyWith method

SentryGpu copyWith({
  1. String? name,
  2. int? id,
  3. String? vendorId,
  4. String? vendorName,
  5. int? memorySize,
  6. String? apiType,
  7. bool? multiThreadedRendering,
  8. String? version,
  9. String? npotSupport,
  10. String? graphicsShaderLevel,
  11. int? maxTextureSize,
  12. bool? supportsComputeShaders,
  13. bool? supportsDrawCallInstancing,
  14. bool? supportsGeometryShaders,
  15. bool? supportsRayTracing,
})

Implementation

SentryGpu copyWith({
  String? name,
  int? id,
  String? vendorId,
  String? vendorName,
  int? memorySize,
  String? apiType,
  bool? multiThreadedRendering,
  String? version,
  String? npotSupport,
  String? graphicsShaderLevel,
  int? maxTextureSize,
  bool? supportsComputeShaders,
  bool? supportsDrawCallInstancing,
  bool? supportsGeometryShaders,
  bool? supportsRayTracing,
}) =>
    SentryGpu(
      name: name ?? this.name,
      id: id ?? this.id,
      vendorId: vendorId ?? this.vendorId,
      vendorName: vendorName ?? this.vendorName,
      memorySize: memorySize ?? this.memorySize,
      apiType: apiType ?? this.apiType,
      multiThreadedRendering:
          multiThreadedRendering ?? this.multiThreadedRendering,
      version: version ?? this.version,
      npotSupport: npotSupport ?? this.npotSupport,
      graphicsShaderLevel: graphicsShaderLevel ?? this.graphicsShaderLevel,
      maxTextureSize: maxTextureSize ?? this.maxTextureSize,
      supportsComputeShaders:
          supportsComputeShaders ?? this.supportsComputeShaders,
      supportsDrawCallInstancing:
          supportsDrawCallInstancing ?? this.supportsDrawCallInstancing,
      supportsGeometryShaders:
          supportsGeometryShaders ?? this.supportsGeometryShaders,
      supportsRayTracing: supportsRayTracing ?? this.supportsRayTracing,
      unknown: unknown,
    );