Skip to main content

Module colors

Module colors 

Source
Expand description

Semantic pin colors for the shader_editor demo.

Colors are organized by GLSL/WGSL data type for consistent visual language.

Structs§

Bool
Boolean data type marker
Float
Scalar float data type marker
Int
Integer data type marker
Vec2
2D vector data type marker
Vec3
3D vector data type marker
Vec4
4D vector / RGBA data type marker

Constants§

SOCKET_BOOL
Boolean values
SOCKET_FLOAT
Scalar float values
SOCKET_INT
Integer values
SOCKET_VEC2
2D vector (UV coordinates)
SOCKET_VEC3
3D vector (positions, normals)
SOCKET_VEC4
4D vector / RGBA colors
SPACING_PIN
Spacing between pin rows
TEXT_MUTED
Muted text color