Struct ImportResourceParams
A helper struct describing the clear behavior of imported textures.
Inherited Members
Namespace: UnityEngine.Experimental.Rendering.RenderGraphModule
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public struct ImportResourceParamsFields
clearColor
The color to clear with on first use. Ignored if clearOnFirstUse==false;
Declaration
public Color clearColorField Value
| Type | Description | 
|---|---|
| Color | 
clearOnFirstUse
Clear the imported texture the first time it is used by the graph.
Declaration
public bool clearOnFirstUseField Value
| Type | Description | 
|---|---|
| bool | 
discardOnLastUse
Discard the imported texture the last time it is used by the graph.
Declaration
public bool discardOnLastUseField Value
| Type | Description | 
|---|---|
| bool |