docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Namespace UnityEngine.XR.OpenXR.API

    Classes

    UnityXRDisplay

    static container for XRDisplay-related scripting functionality.

    Structs

    UnityXRRenderTextureDesc

    Description of a texture that the plugin can request to be allocated via IUnityXRDisplayInterface::CreateTexture. Encapsulates both color and depth surfaces.

    UnityXRTextureData

    Container for different ways of representing texture data.

    • If the format (#UnityXRRenderTextureDesc::colorFormat or #UnityXRRenderTextureDesc::depthFormat) is a 'Reference' format, referenceTextureId must be set.
    • If the format is kUnityXRRenderTextureFormatSoftReferenceMSAA, both fields are used. Otherwise, nativePtr is used.

    Enums

    UnityXRDepthTextureFormat

    Precision of depth texture.

    UnityXRRenderTextureFlags

    Flags that can be set on a UnityXRRenderTextureDesc before creation to modify behavior.

    UnityXRRenderTextureFormat

    Format for color texture.

    UnityXRShadingRateFormat

    Format for shading rate texture.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)