SentryGpu class

GPU context describes the GPU of the device.

Annotations
  • @immutable

Constructors

SentryGpu({String? name, int? id, int? vendorId, String? vendorName, int? memorySize, String? apiType, bool? multiThreadedRendering, String? version, String? npotSupport})
const
SentryGpu.fromJson(Map<String, dynamic> data)
factory

Properties

apiType String?
The device low-level API type.
final
hashCode int
The hash code for this object.
no setterinherited
id int?
The PCI identifier of the graphics device.
final
memorySize int?
The total GPU memory available in Megabytes.
final
multiThreadedRendering bool?
Whether the GPU has multi-threaded rendering or not.
final
name String?
The name of the graphics device.
final
npotSupport String?
The Non-Power-Of-Two-Support support.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
vendorId int?
The PCI vendor identifier of the graphics device.
final
vendorName String?
The vendor name as reported by the graphics device.
final
version String?
The Version of the graphics device.
final

Methods

clone() SentryGpu
copyWith({String? name, int? id, int? vendorId, String? vendorName, int? memorySize, String? apiType, bool? multiThreadedRendering, String? version, String? npotSupport}) SentryGpu
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Produces a Map that can be serialized to JSON.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

type → const String