Class RenderGraphDefaultResources
Helper class allowing access to default resources (black or white texture, etc.) during render passes.
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 |