Class OpenXRGraphicBackend
Represents a graphics backend associated with 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 graphics context.
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 list of OpenXR extensions.
Declaration
public abstract List<string> RequiredOpenXRExtensions { get; }
Property Value
Type | Description |
---|---|
List<string> |
Methods
Destroy()
Destroys all resources of this instance.
Declaration
protected override void Destroy()
Overrides
InitializeSession()
Initializes an OpenXR session.
Declaration
public abstract XrSession InitializeSession()
Returns
Type | Description |
---|---|
XrSession | The XRSession instance. |