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.

Structures

LightProbeQueryResult

#

Light probe iterators yield values of this type. Note that multiple light probes can affect a single fragment.

struct LightProbeQueryResult {
texture_index: i32 ,
intensity: f32 ,
light_from_world: mat4x4<f32> ,
parallax_correction_bounds: vec3<f32> ,
weight: f32 ,
flags: u32 ,
}

LightProbeIterator

#
struct LightProbeIterator {
current_offset: u32 ,
end_offset: u32 ,
world_position: vec3<f32> ,
is_irradiance_volume: bool ,
}
struct LightProbeIterator {
current_index: u32 ,
end_index: u32 ,
world_position: vec3<f32> ,
is_irradiance_volume: bool ,
}

Functions

transpose_affine_matrix

#
fn transpose_affine_matrix (
matrix: mat3x4<f32>
) -> mat4x4<f32>

light_probe_iterator_new

#
fn light_probe_iterator_new (
world_position: vec3<f32>
, 
is_irradiance_volume: bool
, 
clusterable_object_index_ranges: ptr<function, ClusterableObjectIndexRanges>
) -> LightProbeIterator
fn light_probe_iterator_new (
world_position: vec3<f32>
, 
is_irradiance_volume: bool
, 
clusterable_object_index_ranges: ptr<function, ClusterableObjectIndexRanges>
) -> LightProbeIterator

light_probe_iterator_next

#
fn light_probe_iterator_next (
iterator: ptr<function, LightProbeIterator>
) -> LightProbeQueryResult
fn light_probe_iterator_next (
iterator: ptr<function, LightProbeIterator>
) -> LightProbeQueryResult
Contents