SentryGpu class

GPU context describes the GPU of the device.

Constructors

SentryGpu({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, Map<String, dynamic>? unknown})
SentryGpu.fromJson(Map<String, dynamic> data)
Deserializes a SentryGpu from JSON Map.
factory

Properties

apiType ↔ String?
The device low-level API type.
getter/setter pair
graphicsShaderLevel ↔ String?
Approximate "shader capability" level of the graphics device. For Example: Shader Model 2.0, OpenGL ES 3.0, Metal / OpenGL ES 3.1, 27 (unknown)
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ int?
The PCI identifier of the graphics device.
getter/setter pair
maxTextureSize ↔ int?
Largest size of a texture that is supported by the graphics hardware. For Example: 16384
getter/setter pair
memorySize ↔ int?
The total GPU memory available in Megabytes.
getter/setter pair
multiThreadedRendering ↔ bool?
Whether the GPU has multi-threaded rendering or not.
getter/setter pair
name ↔ String?
The name of the graphics device.
getter/setter pair
npotSupport ↔ String?
The Non-Power-Of-Two-Support support.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportsComputeShaders ↔ bool?
Whether compute shaders are available on the device.
getter/setter pair
supportsDrawCallInstancing ↔ bool?
Whether GPU draw call instancing is supported.
getter/setter pair
supportsGeometryShaders ↔ bool?
Whether geometry shaders are available on the device.
getter/setter pair
supportsRayTracing ↔ bool?
Whether ray tracing is available on the device.
getter/setter pair
vendorId ↔ String?
The PCI vendor identifier of the graphics device.
getter/setter pair
vendorName ↔ String?
The vendor name as reported by the graphics device.
getter/setter pair
version ↔ String?
The Version of the graphics device.
getter/setter pair

Methods

clone() → 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
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