Bevy Shader Explorer
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.
☾
Packages
›
bevy_core_pipeline
0.17.2
0.15.0
0.15.1
0.15.2
0.15.3
0.15.4
0.16.0
0.16.1
0.16.2
0.17.0
0.17.1
0.19.1
›
oit_draw.wgsl
Copy import path
Save
Functions
oit_draw
#
Copy import statement
Used by 1 shader in bevy_pbr 0.17.2
bevy_pbr 0.17.2 — pbr.wgsl
Active when
OIT_ENABLED
Add the fragment to the oit buffer
fn
oit_draw
(
position:
vec4f
,
color:
vec4f
)
pack_24bit_depth_8bit_alpha
#
Copy import statement
fn
pack_24bit_depth_8bit_alpha
(
depth:
f32
,
alpha:
f32
)
->
u32
unpack_24bit_depth_8bit_alpha
#
Copy import statement
fn
unpack_24bit_depth_8bit_alpha
(
packed:
u32
)
->
vec2
<
f32
>
Contents
Functions
oit_draw
pack_24bit_depth_8bit_alpha
unpack_24bit_depth_8bit_alpha
Add the fragment to the oit buffer