docs.unity.cn
    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
    Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
    Syntax
    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

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, Boolean)
    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 07 July 2023