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.

Functions

oit_draw

#

Add the fragment to the oit buffer

fn oit_draw (
position: vec4f
, 
color: vec4f
)

pack_24bit_depth_8bit_alpha

#

The packing scheme puts depth in the higher bits so that depth(a) < depth(b) <=> packed(a) < packed(b) irregardless of alpha(a) and alpha(b) The property is used to optimize the resolve step

fn pack_24bit_depth_8bit_alpha (
depth: f32
, 
alpha: f32
) -> u32

unpack_24bit_depth_8bit_alpha

#
fn unpack_24bit_depth_8bit_alpha (
packed: u32
) -> vec2<f32>
Contents