Bindings
@group(1)
@binding(2)
var<storage, read_write>
light_tile_resolved_samples:
array<ResolvedLightSamplePacked>
@if(MOTION_VECTORS_READ_WRITE)
@group(1)
@binding(5)
var
motion_vectors:
texture_storage_2d<rg16float, read_write>
@group(1)
@binding(6)
var<uniform>
view:
View
@group(1)
@binding(7)
var<uniform>
previous_view:
PreviousViewUniforms
Structures
struct
SolariLightingSettings
{
}
Don’t adjust the size of this struct without also adjusting prepare::RESERVOIR_STRUCT_SIZE.
Keep in sync with the packed world-cache layout constants in prepare.rs.
struct
WorldCache
{
}
checksums:
WORLD_CACHE_SIZE>
,
@if(WORLD_CACHE_NON_ATOMIC_LIFE_BUFFER)
life:
WORLD_CACHE_SIZE>
,
@if(!WORLD_CACHE_NON_ATOMIC_LIFE_BUFFER)
life:
WORLD_CACHE_SIZE>
,
radiance:
WORLD_CACHE_SIZE>
,
geometry_data:
WORLD_CACHE_SIZE>
,
luminance_deltas:
WORLD_CACHE_SIZE>
,
active_cells_new_radiance:
WORLD_CACHE_SIZE>
,
a:
WORLD_CACHE_SIZE>
,
active_cell_indices:
WORLD_CACHE_SIZE>
,
User-configurable settings from the
SolariLightingcomponent, plus per-frame state. Field order and types must matchSolariLightingUniformsinprepare.rs.