Skip to main content

load_hmc_water_asset_with_policy

Function load_hmc_water_asset_with_policy 

Source
pub fn load_hmc_water_asset_with_policy(
    renderer: &mut VolumetricRenderer,
    hmc_bytes: &[u8],
    asset_key: &str,
    policy: HmcWaterLoadPolicy,
) -> Result<(u32, u32), String>
Expand description

Policy-bearing HMC water load. Validation and admission happen before any GPU replacement, so failed loads leave the previous water surface intact.