载入中...
搜索中...
未找到
EvpackImageLoader.h
浏览该文件的文档.
26class EVENGINE_API_WORLD GraphicsImageFactoryAdapter final : public graphics::IImageResourceFactory {
45 [[nodiscard]] Result<graphics::Texture*> uploadRgba8MipChain(uint32_t width, uint32_t height, uint32_t levels,
50 [[nodiscard]] Result<graphics::Texture*> uploadRgba8Volume(uint32_t width, uint32_t height, uint32_t depth,
Backend-neutral canonical EVIMG decoding.
Result-based graphics boundary for runtime image assets.
Immutable reader retaining an admitted pack by shared ownership.
Definition EvpackResourceReader.h:29
Capability-aware adapter from admitted EVIMG assets to backend textures.
Definition EvpackImageLoader.h:65
EvpackImageLoader(const asset::EvpackResourceReader &reader, graphics::IImageResourceFactory &factory) noexcept
Bind borrowed reader and image factory; both must outlive this loader.
Definition EvpackImageLoader.h:68
Capability-aware loader for canonical volume-texture/1 assets.
Definition EvpackImageLoader.h:102
EvpackVolumeTextureLoader(const asset::EvpackResourceReader &reader, graphics::IImageResourceFactory &factory) noexcept
Bind borrowed reader and image factory; both must outlive this loader.
Definition EvpackImageLoader.h:105
Result-based adapter over the engine's established graphics resource factory.
Definition EvpackImageLoader.h:26
GraphicsImageFactoryAdapter(graphics::IResourceFactory &factory) noexcept
Bind a borrowed graphics factory that must outlive this adapter.
Definition EvpackImageLoader.h:29
Backend-owned RGBA8 texture upload and release operations.
Definition IImageResourceFactory.h:15
Texture / mesh / shader / canvas creation and release.
Definition IResourceFactory.h:38
GPU texture created via Graphics::newTexture. Owns GPU resources through an opaque backend handle.
Definition Texture.h:18
Definition CookedMaterial.cpp:5
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
Actual runtime device capabilities used for variant selection.
Definition Evpack.h:92
Bounds applied before allocating decoded image bytes.
Definition EvpackImageDecoder.h:11
Result of ordered capability variant selection.
Definition Evpack.h:155
Successfully uploaded texture and selected capability variant.
Definition EvpackImageLoader.h:19
asset::EvpackVariantSelection variant
Definition EvpackImageLoader.h:22
graphics::Texture * texture
Definition EvpackImageLoader.h:21
Successfully uploaded volume texture and selected capability variant.
Definition EvpackImageLoader.h:95
AssetRef asset
Definition EvpackImageLoader.h:96
asset::EvpackVariantSelection variant
Definition EvpackImageLoader.h:98
graphics::Texture * texture
Definition EvpackImageLoader.h:97
Bounds checked before backend volume allocation.
Definition EvpackImageLoader.h:88
std::uint64_t maximumVoxels
Definition EvpackImageLoader.h:90
std::uint32_t maximumDimension
Definition EvpackImageLoader.h:89
std::uint64_t maximumDecodedBytes
Definition EvpackImageLoader.h:91