SentryGpu class

GPU context describes the GPU of the device.

Annotations
  • @immutable

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

Properties

apiType → String?
The device low-level API type.
final
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)
final
hashCode → int
The hash code for this object.
no setterinherited
id → int?
The PCI identifier of the graphics device.
final
maxTextureSize → int?
Largest size of a texture that is supported by the graphics hardware. For Example: 16384
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
supportsComputeShaders → bool?
Whether compute shaders are available on the device.
final
supportsDrawCallInstancing → bool?
Whether GPU draw call instancing is supported.
final
supportsGeometryShaders → bool?
Whether geometry shaders are available on the device.
final
supportsRayTracing → bool?
Whether ray tracing is available on the device.
final
vendorId → String?
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, 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