General / Code
Shader
Write Metal code to create graphics and visual effects. The graphic live updates when connected inputs change.
iOSmacOSvisionOS
Inlets
Code
StringBinding
Resolution
SizeOutlets
Graphic
GraphicProperties
Resolution
Size- Default
[1000, 1000]- Editor minimum
[1, 1]- Editor maximum
[10000, 10000]- Inlet
- Resolution
Bits
Typed EnumColor 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 EnumPixels outside the main bounds will use the extend mode when sampled.
- Default
Zero- Options
- Zero, Loop, Mirror, Stretch
Version history
- Added in 2.0.0