Skip to main content

load_hmc_water_asset

Function load_hmc_water_asset 

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

Load an HMC .10d geometry asset into the renderer’s persistent water surface slot. Water is presentation-only: it shares the renderer model transform and scene depth, but does not become a pickable/entity mesh.