Back home 🏡 WGSL Spec Bevy WGSL Functions

skybox_prepass.wgsl

Bindings

Name Group Binding index Binding type Type
view # 0 0 <uniform> View
previous_view # 0 1 <uniform> PreviousViewUniforms

Structures

PreviousViewUniforms

#
Name Type
view_from_world mat4x4<f32>
clip_from_world mat4x4<f32>

Functions

fragment

#
@fragment
fn fragment(in: FullscreenVertexOutput) -> @location(1) vec4<f32>
Parameter Type
in FullscreenVertexOutput
Returns: @location(1) vec4<f32>