Renders a parameterized linear gradient — a zero-input node. Often the signal source when debugging render-chain shaders, or a clean plate for composites.

Module:GPU render · Task type:render_gradient

Ports

Inputs

None.

Outputs

PortTypeRequired
outtask_graph::Image✓

Parameters

参数类型默认值范围 / 选项说明
script_pathstring(空)custom render script path (from an effect manifest; empty = built-in effects)
widthint0[0, 65535]target width in pixels; 0 follows the input
heightint0[0, 65535]target height in pixels; 0 follows the input
formatenum0rgba8 / rgba32frender target texture format
clearbooltrueclear the target at pass start
clear_colorstring"0,0,0,0"clear color as comma-separated RGBA components
blendboolfalseenable blended output
color0string"0,0,0,1"
color1string"1,1,1,1"

Part of the GraphStudio node guide series; parameters reflect the latest release.