Class OpenXRGraphicBackend
Represent a graphic backend associated to OpenXR.
Inherited Members
Namespace: Evergine.OpenXR.GraphicBackends
Assembly: Evergine.OpenXR.dll
Syntax
public abstract class OpenXRGraphicBackend : DisposableObject
Constructors
OpenXRGraphicBackend(OpenXRPlatform)
Initializes a new instance of the OpenXRGraphicBackend class.
Declaration
public OpenXRGraphicBackend(OpenXRPlatform openXRPlatform)
Parameters
Type | Name | Description |
---|---|---|
OpenXRPlatform | openXRPlatform | The openxr platform. |
Fields
GraphicsContext
The GraphicsContext.
Declaration
protected readonly GraphicsContext GraphicsContext
Field Value
Type | Description |
---|---|
GraphicsContext |
OpenXRPlatform
The OpenXR platform instance.
Declaration
protected readonly OpenXRPlatform OpenXRPlatform
Field Value
Type | Description |
---|---|
OpenXRPlatform |
Properties
RequiredOpenXRExtensions
Gets the required OpenXR extension list.
Declaration
public abstract List<string> RequiredOpenXRExtensions { get; }
Property Value
Type | Description |
---|---|
List<string> |
Methods
Destroy()
Destroy all resources of this instance.
Declaration
protected override void Destroy()
Overrides
InitializeSession()
Initialize a OpenXR session.
Declaration
public abstract XrSession InitializeSession()
Returns
Type | Description |
---|---|
XrSession | The XRSession instance. |