Advanced search tips: use spaces to require multiple terms (AND), | for alternatives (OR), wrap phrases in quotes (="a b"), =term for exact match, 'term to include, !term to exclude, ^term to match prefix, !^term to exclude prefix, .ext$ to match suffix, and !.ext$ to exclude suffix.

custom_ui_material.wgsl

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 ( ) ->
@location(0)
vec4<f32>