prev_frame
Save the previous frame of a specific step as a parameter
Shader Equivalent
Example
Properties
Property |
Type | Required | If absent | Description |
|---|---|---|---|---|
name |
string | Yes | - | Name of the field. It must be the same as the associated variable in the shader. |
step |
number | Yes | -1 |
The step to keep as a previous frame. It must be less or equal to the number of steps defined in the effect root metadata. If set to -1 (the default value), the last step will be used |
type |
"prev_frame" |
Yes | - | - |
description |
string | No | - | Description of the field. It will be shown in the UI. |
devmode |
boolean | No | false |
If set to true, this field will only be available in the property UI if the developer mode is active. |
label |
string | No | "Same as name" |
The label of the field in the UI. If not set, the name will be used. |