docs.unity3d.com
    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

    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.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
    • 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