copyWith method
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,
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,
);