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

#

The instance_index parameter must match vertex_in.instance_index. This is a work around for a wgpu dx12 bug. See https://github.com/gfx-rs/naga/issues/2416

fn morph_vertex (
vertex_in: UncompressedVertex
, 
instance_index: u32
) -> UncompressedVertex

morph_prev_vertex

#

The instance_index parameter must match vertex_in.instance_index. This is a work around for a wgpu dx12 bug. See https://github.com/gfx-rs/naga/issues/2416

fn morph_prev_vertex (
vertex_in: UncompressedVertex
, 
instance_index: u32
) -> UncompressedVertex

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
fn fragment (
in: VertexOutput
) -> FragmentOutput
Contents