Class TextureXR | High Definition RP | 6.5.3-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class TextureXR

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

    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 © 2020 Unity Technologies
    Generated by DocFX