载入中...
搜索中...
未找到
Snow.h
浏览该文件的文档.
26EVENGINE_API_ORCHESTRATION void applySnowToHeightmap(const SnowField &field, const procgen::Heightmap &terrain,
Definition Graphics.h:125
GPU texture created via Graphics::newTexture. Owns GPU resources through an opaque backend handle.
Definition Texture.h:18
In-memory terrain heightmap: a dense float grid (row-major, index = y * width + x) materialized from ...
Definition Heightmap.h:21
Interactive snow depth field: a dense [0,1] float grid.
Definition SnowField.h:21
bool updateTexture(SnowField *field, graphics::Texture *texture, graphics::Graphics *gfx, const std::string &kind)
Replace an uploaded snow texture's pixels in place.
Definition Snow.cpp:70
SnowField * newField(int width, int height)
New empty snow field. @ownership Ownership transfers to the script/native caller. @lifetime Valid unt...
Definition Snow.cpp:31
bool applyToHeightmap(SnowField *field, procgen::Heightmap *terrain, procgen::Heightmap *out, float heightScale)
Compatibility script wrapper around applySnowToHeightmap(). @ownership All pointers are borrowed; no ...
Definition Snow.cpp:35
graphics::Texture * uploadTexture(SnowField *field, graphics::Graphics *gfx, const std::string &kind)
Upload the field as an RGBA8 texture.
Definition Snow.cpp:62
Module_REG(Snow)
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
Definition EvpackPointGraphLoader.h:12
Definition LightingTarget.h:19
void applySnowToHeightmap(const SnowField &field, const procgen::Heightmap &terrain, procgen::Heightmap &out, float heightScale)
out(x, y) = terrain(x, y) + field(x, y) * heightScale.
Definition Snow.cpp:18
@ Graphics