Skip to main content

append_environment_map

Function append_environment_map 

Source
pub fn append_environment_map(
    ctx: &mut PipelineContext<'_>,
    payload: Vec<u8>,
) -> EnvironmentMapHandle
Expand description

Install a baked IBL payload into the world’s environment-map table and return its handle. The renderer lights with the map at handle 0.