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.

Functions

morph_vertex

#
Active when
MORPH_TARGETS
fn morph_vertex (
vertex_in: Vertex
) -> Vertex

morph_prev_vertex

#
Active when
MORPH_TARGETS

This function is used for motion vector calculation, and, as such, it doesn’t bother morphing the normals and tangents.

fn morph_prev_vertex (
vertex_in: Vertex
) -> Vertex

vertex

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

fragment

#
@fragment
Calculates the final color of each pixel on the screen
Active when
PREPASS_FRAGMENT
fn fragment ( ) -> FragmentOutput
Contents