载入中...
搜索中...
未找到
EvpackGraphicsLoader.h
浏览该文件的文档.
45class EVENGINE_API_WORLD GraphicsMeshFactoryAdapter final : public graphics::IMeshResourceFactory {
81 [[nodiscard]] Result<void> setMeshTangentFrame(graphics::Mesh* mesh, std::span<const float> tangents,
Typed capability-aware runtime access to admitted packs.
Narrow backend boundary for canonical mesh resources.
Immutable reader retaining an admitted pack by shared ownership.
Definition EvpackResourceReader.h:29
Capability-aware adapter from admitted .evpack assets to graphics resources.
Definition EvpackGraphicsLoader.h:89
EvpackGraphicsLoader(const asset::EvpackResourceReader &reader, graphics::IMeshResourceFactory &factory) noexcept
Bind a reader and backend factory; both must outlive this adapter.
Definition EvpackGraphicsLoader.h:92
Result-based adapter over the engine's established graphics resource factory.
Definition EvpackGraphicsLoader.h:45
GraphicsMeshFactoryAdapter(graphics::IResourceFactory &factory) noexcept
Bind a borrowed graphics factory that must outlive this adapter.
Definition EvpackGraphicsLoader.h:48
Backend-owned mesh upload and release operations.
Definition IMeshResourceFactory.h:15
Texture / mesh / shader / canvas creation and release.
Definition IResourceFactory.h:39
Definition CookedMaterial.cpp:5
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
Actual runtime device capabilities used for variant selection.
Definition Evpack.h:92
Result of ordered capability variant selection.
Definition Evpack.h:155
Bounds applied before allocating canonical mesh staging arrays.
Definition EvpackGraphicsLoader.h:38
std::uint32_t maximumVertices
Definition EvpackGraphicsLoader.h:39
std::uint64_t maximumDecodedBytes
Definition EvpackGraphicsLoader.h:41
std::uint32_t maximumIndices
Definition EvpackGraphicsLoader.h:40
Successfully uploaded backend mesh and the selected package variant.
Definition EvpackGraphicsLoader.h:20
std::array< float, 6 > localBounds
Owning min XYZ/max XYZ from admitted CPU vertices; independent of backend mesh lease.
Definition EvpackGraphicsLoader.h:34
asset::EvpackVariantSelection variant
Definition EvpackGraphicsLoader.h:23
std::uint32_t texcoordSet
Explicit UV channel projected into the backend single-UV vertex stream.
Definition EvpackGraphicsLoader.h:25
graphics::Mesh * mesh
Definition EvpackGraphicsLoader.h:22
std::map< std::string, asset::CanonicalMeshAttribute > attributes
Detached owning authoring streams; retained for deformation and material adapters....
Definition EvpackGraphicsLoader.h:32
std::vector< std::uint32_t > availableTexcoordSets
Available source UV channels, validated before upload.
Definition EvpackGraphicsLoader.h:27