Constants
Bindings
Structures
struct
VertexOutput
{
}
Functions
@vertex
Processes each 3D point in a model before it's drawn
@fragment
Calculates the final color of each pixel on the screen
Arguments: -
point-> The function will return the distance from this point to the closest point on the boundary. -size-> The maximum width and height of the box. -corner_radii-> The radius of each rounded corner. Ordered counter clockwise starting top left: x: top left, y: top right, z: bottom right, w: bottom left.