Bindings
Structures
struct
Vertex
{
}
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
taken/adapted from https://github.com/bevyengine/bevy/blob/main/crates/bevy_pbr/src/render/mesh_functions.wgsl