Skip to main content

Module asset_package

Module asset_package 

Source
Expand description

HMC packaging and digest-verified resolution for compiled render assets. Content-addressed HMC packaging and zero-copy resolution for compiled render assets.

Structs§

HmcTextureResource
Borrowed image payload resolved from an integrity-checked HMC bundle.

Enums§

HmcAssetPackageError

Functions§

build_hmc_bundle
Package one or more assets in a canonical order and store each equal image digest once. All payloads remain original encoded bytes; this builder does not decode or transcode images.
resolve_hmc_texture_resource
Resolve a MAT1 image digest from HMC by its stable SHA-256 key and verify both bundle index integrity and equality with the MAT1 resource digest before returning a zero-copy view.
texture_hmc_key
Stable HMC key for a content-addressed source image.