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

pbr_input_from_vertex_output

#

prepare a basic PbrInput from the vertex stage output, mesh binding and view binding

fn pbr_input_from_vertex_output (
in: VertexOutput
, 
is_front: bool
, 
double_sided: bool
) -> PbrInput

pbr_input_from_standard_material

#

Prepare a full PbrInput by sampling all textures to resolve the material members

fn pbr_input_from_standard_material (
in: VertexOutput
, 
is_front: bool
) -> PbrInput
Contents