Shader Explorer
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.

particle_vertex.wgsl

Bindings

view

#
@group(0)
@binding(0)
var<uniform> view: View

Structures

VertexIn

#
struct VertexIn {
@builtin(vertex_index)
index: u32 ,
@location(0)
i_transform: vec4<f32> ,
@location(1)
i_scale_lifetime: vec4<f32> ,
@location(2)
i_color: vec4<f32> ,
}

Functions

vertex

#
@vertex
Processes each 3D point in a model before it's drawn
fn vertex ( ) -> VertexOutput