Search Results for

    Show / Hide Table of Contents

    Class OpenXRGraphicBackend

    Represents a graphics backend associated with OpenXR.

    Inheritance
    object
    DisposableObject
    OpenXRGraphicBackend
    OpenXRDirectX11
    OpenXROpenGL
    OpenXRVulkan
    Inherited Members
    DisposableObject.Disposed
    DisposableObject.Dispose()
    DisposableObject.Dispose(bool)
    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
    DisposableObject.Destroy()

    InitializeSession()

    Initializes an OpenXR session.

    Declaration
    public abstract XrSession InitializeSession()
    Returns
    Type Description
    XrSession

    The XRSession instance.

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX