Skip to main content

load_hmc_asset_with_texture_request

Function load_hmc_asset_with_texture_request 

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

Load an HMC .10d asset while admitting texture mips according to footprint and budget.