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