MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / LoadWeightMap

Method LoadWeightMap

Source/Graphics/detailobjectsurface.cpp:813–816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

811}
812
813void DetailObjectSurface::LoadWeightMap(const std::string& weight_path) {
814 // weight_map = ImageSamplers::Instance()->ReturnRef(weight_path);
815 weight_map = Engine::Instance()->GetAssetManager()->LoadSync<ImageSampler>(weight_path);
816}
817
818void DetailObjectSurface::SetMinEmbed(float _min_embed) {
819 min_embed = _min_embed;

Callers 2

SetDetailObjectLayersMethod · 0.80

Calls 1

GetAssetManagerMethod · 0.80

Tested by

no test coverage detected