载入中...
搜索中...
未找到
EvpackClothModel.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4
9
10namespace eve::asset_physics {
11
18
21public:
26 explicit EvpackClothModelLoader(const asset::EvpackResourceReader& reader) noexcept : reader_(reader) {}
27
37 [[nodiscard("check cloth model asset load outcome")]]
39 std::uint64_t maximumDecodedBytes = 256ull * 1024ull * 1024ull) const;
40
41private:
42 const asset::EvpackResourceReader& reader_;
43};
44
45} // namespace eve::asset_physics
Typed capability-aware runtime access to admitted packs.
#define EVENGINE_API_DOMAINS
Definition Export.h:110
glm::mat4 model
Stable asset identity backed by PersistentId.
Definition ResourceRef.h:53
Move-only operation result carrying either a value or Status.
Definition Result.h:155
Immutable reader retaining an admitted pack by shared ownership.
Capability-aware adapter from admitted .evpack data to ClothModel.
EvpackClothModelLoader(const asset::EvpackResourceReader &reader) noexcept
Bind a borrowed immutable reader.
Reusable, validated cloth simulation asset.
Definition ClothModel.h:73
Actual runtime device capabilities used for variant selection.
Definition Evpack.h:92
Result of ordered capability variant selection.
Definition Evpack.h:155
Successfully decoded cloth model and selected package variant.
asset::EvpackVariantSelection variant