Structures
Used by 16 shaders
- bevy 0.17.2 — post_processing.wgsl
- bevy_anti_alias 0.17.2 — fxaa.wgsl
- bevy_anti_alias 0.17.2 — robust_contrast_adaptive_sharpening.wgsl
- bevy_core_pipeline 0.17.2 — blit.wgsl
- bevy_core_pipeline 0.17.2 — copy_deferred_lighting_id.wgsl
- bevy_core_pipeline 0.17.2 — skybox_prepass.wgsl
- bevy_core_pipeline 0.17.2 — tonemapping.wgsl
- bevy_pbr 0.17.2 — render_sky.wgsl
- bevy_pbr 0.17.2 — resolve_render_targets.wgsl
- bevy_pbr 0.17.2 — sky_view_lut.wgsl
- bevy_pbr 0.17.2 — ssr.wgsl
- bevy_pbr 0.17.2 — transmittance_lut.wgsl
- bevy_pbr 0.17.2 — volumetric_fog.wgsl
- bevy_post_process 0.17.2 — dof.wgsl
- bevy_post_process 0.17.2 — motion_blur.wgsl
- bevy_post_process 0.17.2 — post_process.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.