载入中...
搜索中...
未找到
VegetationField.h
浏览该文件的文档.
107 [[nodiscard]] Result<void> replace(const VegetationGlobals& globals, std::span<const VegetationElement> elements);
111 [[nodiscard]] Result<VegetationSample> sample(glm::vec3 position, std::array<uint8_t, 4> layers = {}) const;
116 [[nodiscard]] Result<VegetationAtlas> bake(glm::vec3 center, glm::vec3 extent, uint32_t width, uint32_t height,
Move-only, checked operation results for the common layer.
Owning, renderer-independent dynamic values.
Backend-independent, owning vegetation influence field. Single writer; concurrent const evaluation is...
Definition VegetationField.h:86
VegetationGlobals globalValues() const
Return detached global defaults; concurrent reads require no writer. No callbacks.
Definition VegetationField.h:89
uint64_t revision() const
Monotonic successful-publication revision for derived render snapshots.
Definition VegetationField.h:91
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
@ Multiply
eve::Color Color
RGBA color used by every graphics draw call. Lives inside eve::graphics so including a graphics heade...
Definition Color.h:13
VegetationChannel
Independent vegetation field channels; values use linear color and world units.
Definition VegetationField.h:16
VegetationShape
Analytic influence shape in an element's local coordinates.
Definition VegetationField.h:20
@ Ellipsoid
Four owning arrays in row-major X/Z order at texel centers.
Definition VegetationField.h:66
std::array< std::vector< glm::vec4 >, 4 > channels
Definition VegetationField.h:69
One owning vegetation channel in row-major X/Z order at texel centers. Channel atlases may use indepe...
Definition VegetationField.h:75
std::vector< glm::vec4 > pixels
Definition VegetationField.h:78
Owning element definition; no scene, texture or entity pointers survive admission....
Definition VegetationField.h:33
std::array< glm::vec4, 4 > seasons
Definition VegetationField.h:43
Owning global defaults. Extras = emission, wetness, overlay, alpha. Motion = signed world X/Z directi...
Definition VegetationField.h:52
Owning linear RGBA mask, sampled bilinearly with clamped addressing.
Definition VegetationField.h:23
Owning sampled field channels; no lifetime dependency on the field.
Definition VegetationField.h:61