载入中...
搜索中...
未找到
LifeFieldMaterialBinding.h
浏览该文件的文档.
61 [[nodiscard("check life-field upload")]] Result<graphics::Texture*> uploadLifeField(graphics::Graphics* gfx);
70 [[nodiscard("check surface-data upload")]] Result<graphics::Texture*> uploadSurfaceData(graphics::Graphics* gfx);
Move-only, checked operation results for the common layer.
Packs SurfaceField channels into Graphics-uploadable RGBA8 textures.
Definition LifeFieldMaterialBinding.h:37
const std::vector< std::uint8_t > & surfaceDataPixels() const
RGBA8 surface-data pixels (R=height01, GBA=normal*0.5+0.5).
Definition LifeFieldMaterialBinding.h:52
LifeFieldMaterialBinding()=default
Life field material binding.
const std::vector< std::uint8_t > & lifeFieldPixels() const
RGBA8 life-field pixels (R=trail, G=nutrient, B=danger, A=freshness).
Definition LifeFieldMaterialBinding.h:49
const LifeFieldMaterialUniforms & uniforms() const
Current material uniforms (valid after successful sync).
Definition LifeFieldMaterialBinding.h:46
2.5D surface + life-field textures for Life Network.
Definition SurfaceField.h:16
Definition Graphics.h:125
GPU texture created via Graphics::newTexture. Owns GPU resources through an opaque backend handle.
Definition Texture.h:18
Definition AgentInstanceRenderer.cpp:5
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
@ Graphics
Uniform block exposed to materials consuming Life Network surfaces.
Definition LifeFieldMaterialBinding.h:21