General / Code

Shader

Write Metal code to create graphics and visual effects. The graphic live updates when connected inputs change.

iOSmacOSvisionOS

Inlets

Code

String
Binding

Resolution

Size

Outlets

Graphic

Graphic

Properties

Resolution

Size
Default
[1000, 1000]
Editor minimum
[1, 1]
Editor maximum
[10000, 10000]
Inlet
Resolution

Bits

Typed Enum

Color depth. 16 and 32 bit have higher precision and support colors below black and above white. Set to a higher value to render XDR colors on supported displays.

Default
8 Bit
Options
8 Bit, 16 Bit, 32 Bit

Extend Mode

Typed Enum

Pixels outside the main bounds will use the extend mode when sampled.

Default
Zero
Options
Zero, Loop, Mirror, Stretch

Version history

  1. Added in 2.0.0

Resources