Class TextureXR | High Definition RP | 6.7.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class TextureXR

    Inheritance
    Object
    TextureXR
    Namespace: UnityEngine.Experimental.Rendering
    Syntax
    public static class TextureXR

    Fields

    kMaxSliceCount

    Declaration
    public const int kMaxSliceCount = 2
    Field Value
    Type Description
    Int32

    Properties

    blackTexture2DArray

    Declaration
    public static Texture2DArray blackTexture2DArray { get; }
    Property Value
    Type Description
    Texture2DArray

    clearTexture2DArray

    Declaration
    public static Texture2DArray clearTexture2DArray { get; }
    Property Value
    Type Description
    Texture2DArray

    useTexArray

    Declaration
    public static bool useTexArray { get; }
    Property Value
    Type Description
    Boolean

    whiteTexture2DArray

    Declaration
    public static Texture2DArray whiteTexture2DArray { get; }
    Property Value
    Type Description
    Texture2DArray

    Methods

    GetBlackTexture()

    Declaration
    public static Texture GetBlackTexture()
    Returns
    Type Description
    Texture

    GetClearTexture()

    Declaration
    public static Texture GetClearTexture()
    Returns
    Type Description
    Texture

    GetWhiteTexture()

    Declaration
    public static Texture GetWhiteTexture()
    Returns
    Type Description
    Texture

    OverrideRenderTexture(Boolean, ref TextureDimension, ref Int32)

    Declaration
    public static VRTextureUsage OverrideRenderTexture(bool xrInstancing, ref TextureDimension dimension, ref int slices)
    Parameters
    Type Name Description
    Boolean xrInstancing
    TextureDimension dimension
    Int32 slices
    Returns
    Type Description
    VRTextureUsage
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023