Constants
Bindings
@group(0)
@binding(0)
var<uniform>
view:
View
Structures
struct
GradientVertexOutput
{
}
Functions
@vertex
Processes each 3D point in a model before it's drawn
@fragment
Calculates the final color of each pixel on the screen
Mix the colors, choosing the appropriate interpolation method for the given color space