载入中...
搜索中...
未找到
#include "common/Result.h"命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::graphics |
| 卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局参数。 数据模型与渲染/交互逻辑见 CardTypes.h。 | |
函数 | |
| Result< VegetationMask > | eve::graphics::packVegetationOrm (const VegetationMask &source, float occlusion, float smoothness) |
| Project a TVE main/detail linear mask into the native PBR ORM channel convention. Source G is occlusion, A is smoothness, B is retained as the authored color mask. Output RGBA is occlusion, roughness, zero metallic, original color mask. This is an owning derived texture; source pixels remain unchanged and authoritative. Factors are [0,1]. Use the source UV transform and sampler for the derived texture. Source pixels must already be linear; this function never applies sRGB conversion. Admits at most 16 million texels, including 4096-square source masks. Worker-safe and reentrant; input is borrowed synchronously without callbacks. | |