Search across packages, versions, files, declarations, and comments. Use multiple terms to narrow results (AND), and add @vertex, @fragment, or @compute to filter by shader stage.

Bindings

color

#
@group(1)
@binding(0)
var<uniform> color: vec4<f32>

slider

#
@group(1)
@binding(1)
var<uniform> slider: vec4<f32>

material_color_texture

#
@group(1)
@binding(2)
var material_color_texture: texture_2d<f32>

material_color_sampler

#
@group(1)
@binding(3)
var material_color_sampler: sampler

border_color

#
@group(1)
@binding(4)
var<uniform> border_color: vec4<f32>

Functions

fragment

#
@fragment
Calculates the final color of each pixel on the screen
fn fragment (
in: UiVertexOutput
) ->
@location(0)
vec4<f32>
Contents