Class OpenXRRuntimePlatform
Represents a platform associated with OpenXR.
Inheritance
OpenXRRuntimePlatform
Inherited Members
Namespace: Evergine.OpenXR.GraphicBackends
Assembly: Evergine.OpenXR.dll
Syntax
public abstract class OpenXRRuntimePlatform : DisposableObject
Constructors
OpenXRRuntimePlatform(OpenXRPlatform)
Initializes a new instance of the OpenXRRuntimePlatform class.
Declaration
public OpenXRRuntimePlatform(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 instance of the OpenXR platform.
Declaration
protected readonly OpenXRPlatform OpenXRPlatform
Field Value
Type | Description |
---|---|
OpenXRPlatform |
Properties
RequiredOpenXRExtensions
Gets the list of required OpenXR extensions.
Declaration
public abstract List<string> RequiredOpenXRExtensions { get; }
Property Value
Type | Description |
---|---|
List<string> |
Methods
CreateInstance(ref XrInstanceCreateInfo)
Performs all required actions to create an instance...
Declaration
public virtual void CreateInstance(ref XrInstanceCreateInfo instanceCreateInfo)
Parameters
Type | Name | Description |
---|---|---|
XrInstanceCreateInfo | instanceCreateInfo | The instance creation info structure. |
Destroy()
Destroys all resources of this instance.
Declaration
protected override void Destroy()
Overrides
Initialize()
Initializes the platform.
Declaration
public abstract void Initialize()