docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RenderGraphDefaultResources

    Helper class allowing access to default resources (black or white texture, etc.) during render passes.

    Inheritance
    object
    RenderGraphDefaultResources
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering.RenderGraphModule
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    [MovedFrom(true, "UnityEngine.Experimental.Rendering.RenderGraphModule", "UnityEngine.Rendering.RenderGraphModule", null)]
    public class RenderGraphDefaultResources

    Properties

    blackTexture

    Default black 2D texture.

    Declaration
    public TextureHandle blackTexture { get; }
    Property Value
    Type Description
    TextureHandle

    blackTexture3DXR

    Default black XR 3D texture.

    Declaration
    public TextureHandle blackTexture3DXR { get; }
    Property Value
    Type Description
    TextureHandle

    blackTextureArrayXR

    Default black XR 2D Array texture.

    Declaration
    public TextureHandle blackTextureArrayXR { get; }
    Property Value
    Type Description
    TextureHandle

    blackTextureXR

    Default black XR 2D texture.

    Declaration
    public TextureHandle blackTextureXR { get; }
    Property Value
    Type Description
    TextureHandle

    blackUIntTextureXR

    Default black (UInt) XR 2D texture.

    Declaration
    public TextureHandle blackUIntTextureXR { get; }
    Property Value
    Type Description
    TextureHandle

    clearTextureXR

    Default clear color XR 2D texture.

    Declaration
    public TextureHandle clearTextureXR { get; }
    Property Value
    Type Description
    TextureHandle

    defaultShadowTexture

    Default 1x1 shadow texture.

    Declaration
    public TextureHandle defaultShadowTexture { get; }
    Property Value
    Type Description
    TextureHandle

    magentaTextureXR

    Default magenta XR 2D texture.

    Declaration
    public TextureHandle magentaTextureXR { get; }
    Property Value
    Type Description
    TextureHandle

    whiteTexture

    Default white 2D texture.

    Declaration
    public TextureHandle whiteTexture { get; }
    Property Value
    Type Description
    TextureHandle

    whiteTextureXR

    Default white XR 2D texture.

    Declaration
    public TextureHandle whiteTextureXR { get; }
    Property Value
    Type Description
    TextureHandle

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 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)