Structures
Used by 13 shaders
- bevy 0.15.3 — post_processing.wgsl
- bevy_core_pipeline 0.15.3 — blit.wgsl
- bevy_core_pipeline 0.15.3 — copy_deferred_lighting_id.wgsl
- bevy_core_pipeline 0.15.3 — dof.wgsl
- bevy_core_pipeline 0.15.3 — fxaa.wgsl
- bevy_core_pipeline 0.15.3 — motion_blur.wgsl
- bevy_core_pipeline 0.15.3 — post_process.wgsl
- bevy_core_pipeline 0.15.3 — robust_contrast_adaptive_sharpening.wgsl
- bevy_core_pipeline 0.15.3 — skybox_prepass.wgsl
- bevy_core_pipeline 0.15.3 — tonemapping.wgsl
- bevy_pbr 0.15.3 — resolve_render_targets.wgsl
- bevy_pbr 0.15.3 — ssr.wgsl
- bevy_pbr 0.15.3 — volumetric_fog.wgsl
Functions
@vertex
Processes each 3D point in a model before it's drawn
The top-left has UV 0,0, the bottom-left has 0,2, and the top-right has 2,0. This means that the UV gets interpolated to 1,1 at the bottom-right corner of the clip-space rectangle that is at 1,-1 in clip space.