载入中...
搜索中...
未找到
TerrainCurveTexture.h
浏览该文件的文档.
1#pragma once
2
3#include "common/Result.h"
4
5namespace ssq { class Table; }
6namespace eve::image { class ImageData; }
7namespace eve::procgen {
8class Heightmap;
9
12 float minimum = 0;
13 float maximum = 0;
15};
16
26 const Heightmap& curve);
29} // namespace eve::procgen
std::string output
#define EVENGINE_API_DOMAINS
Definition Export.h:110
Move-only, checked operation results for the common layer.
Heightmap curve
Move-only operation result carrying either a value or Status.
Definition Result.h:155
Represents raw pixel data.
Definition ImageData.h:38
In-memory terrain heightmap: a dense float grid (row-major, index = y * width + x) materialized from ...
Definition Heightmap.h:21
void exposeTerrainCurveTexture(ssq::Table &table)
Register the Pcg terrain curve texture adapter; VM-thread only.
Result< TerrainCurveTextureReceipt > bakeTerrainCurveTexture(image::ImageData &output, const Heightmap &curve)
Bake a sampled one-row curve into an existing one-row image with Pcg's exact pixel-coordinate contrac...
enum EVENGINE_API_FOUNDATION Table
OT_TABLE (editable via Runtime table APIs / ReflectedPropertyModel).
Definition Runtime.h:121
EVEngine ECS 集成层:底层实现使用 sunxfancy/ECS.hpp https://github.com/sunxfancy/ECS.hpp
Definition ECS.h:14
Range and write count returned by Pcg AnimationCurve texture baking.