egui.wgsl
Bindings
transform
#image_texture
#@group(1)
@binding(0)
var
image_texture:
texture_2d<f32>
image_sampler
#Structures
Transform
#VertexInput
#VertexOutput
#Functions
linear_from_srgb
#vs_main
#
@vertex
Processes each 3D point in a model before it's drawn
fs_main
#
@fragment
Calculates the final color of each pixel on the screen