Class Gpu
Graphics device unit
Inherited Members
Namespace: Sentry.Protocol
Assembly: Sentry.Protocol.dll
Syntax
[DataContract]
public class Gpu
Fields
| Improve this Doc View SourceType
Tells Sentry which type of context this is.
Declaration
[DataMember(Name = "type", EmitDefaultValue = false)]
public const string Type = "gpu"
Field Value
Type | Description |
---|---|
String |
Properties
| Improve this Doc View SourceApiType
Device type
Declaration
[DataMember(Name = "api_type", EmitDefaultValue = false)]
public string ApiType { get; set; }
Property Value
Type | Description |
---|---|
String |
Remarks
The low level API used
Examples
Metal, Direct3D11, OpenGLES3, PlayStation4, XboxOne
| Improve this Doc View SourceId
The PCI Id of the graphics device
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
public int? Id { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
Remarks
Combined with VendorId uniquely identifies the GPU
MemorySize
Total GPU memory available in mega-bytes.
Declaration
[DataMember(Name = "memory_size", EmitDefaultValue = false)]
public int? MemorySize { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
MultiThreadedRendering
Whether the GPU is multi-threaded rendering or not.
Declaration
[DataMember(Name = "multi_threaded_rendering", EmitDefaultValue = false)]
public bool? MultiThreadedRendering { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Boolean> |
Name
The name of the graphics device
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
iPod touch: Apple A8 GPU Samsung S7: Mali-T880
| Improve this Doc View SourceNpotSupport
The Non-Power-Of-Two support level
Declaration
[DataMember(Name = "npot_support", EmitDefaultValue = false)]
public string NpotSupport { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Full
| Improve this Doc View SourceVendorId
The PCI vendor Id of the graphics device
Declaration
[DataMember(Name = "vendor_id", EmitDefaultValue = false)]
public int? VendorId { get; set; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
Remarks
Combined with Id uniquely identifies the GPU
See Also
VendorName
The vendor name reported by the graphic device
Declaration
[DataMember(Name = "vendor_name", EmitDefaultValue = false)]
public string VendorName { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
Apple, ARM, WebKit
| Improve this Doc View SourceVersion
The Version of the API of the graphics device
Declaration
[DataMember(Name = "version", EmitDefaultValue = false)]
public string Version { get; set; }
Property Value
Type | Description |
---|---|
String |
Examples
iPod touch: Metal Android: OpenGL ES 3.2 v1.r22p0-01rel0.f294e54ceb2cb2d81039204fa4b0402e WebGL Windows: OpenGL ES 3.0 (WebGL 2.0 (OpenGL ES 3.0 Chromium)) OpenGL 2.0, Direct3D 9.0c