Back home 🏡 WGSL Spec Bevy WGSL Functions

extended_material.wgsl

Bindings

Name Group Binding index Binding type Type
my_extended_material # 2 100 <uniform> MyExtendedMaterial

Structures

MyExtendedMaterial

#
Name Type
quantize_steps u32

Functions

fragment

#
@fragment
fn fragment(in: VertexOutput, is_front: bool) -> FragmentOutput
Parameter Type
in VertexOutput
is_front bool
Returns: FragmentOutput