载入中...
搜索中...
未找到
#include "common/Result.h"类 | |
| struct | eve::procgen::TerrainConcavitySettings |
| Concavity source controls; featureSize is in height texels, concavity is signed. 更多... | |
| struct | eve::procgen::TerrainCurvatureSettings |
| Radial curvature controls; radius is UV distance, worldUnits scales signed height-minus-blur. 更多... | |
| struct | eve::procgen::TerrainBrushBlendSettings |
| Paint-context affine UV mappings, evaluated at destination pixel centers. 更多... | |
| struct | eve::procgen::TerrainSampleGrid |
| World X/Z positions of height sample centers, with positive spacing and dimensions. 更多... | |
| struct | eve::procgen::TerrainDistanceMaskSettings |
| Value-only UV transform; distances are relative to the target raster, rotation in radians. 更多... | |
命名空间 | |
| namespace | eve |
| Build metadata (engine git commit, build time, third-party version). | |
| namespace | eve::procgen |
枚举 | |
| enum class | eve::procgen::TerrainStrengthMode { eve::procgen::Replace , eve::procgen::Maximum , eve::procgen::Minimum , eve::procgen::Add , eve::procgen::Subtract } |
| StrengthTransform pass order; source pass 0 named Multiply actually replaces with the curve value. 更多... | |
| enum class | eve::procgen::TerrainDistanceAxis { eve::procgen::Circle , eve::procgen::X , eve::procgen::Z , eve::procgen::RoundedSquare } |
| Distance coordinates used by the Pcg distance-mask shader. 更多... | |
函数 | |
| Result< int > | eve::procgen::generateTerrainConcavityMask (Heightmap &target, const Heightmap &input, const Heightmap &heights, const Heightmap &curve, const TerrainConcavitySettings &settings, TerrainMaskBlend mode) |
| Generate source normalized-gradient concavity with border attenuation and indexed curve lookup. | |
| Result< int > | eve::procgen::generateTerrainCurvatureMask (Heightmap &target, const Heightmap &input, const Heightmap &heights, const Heightmap &curve, const TerrainCurvatureSettings &settings, TerrainMaskBlend mode) |
| Radially blur heights, derive source curvature, transform its curve and combine with an input mask. | |
| Result< int > | eve::procgen::growShrinkTerrainMask (Heightmap &target, const Heightmap &source, const Heightmap &curve, float distance) |
| Ordered radial Grow/Shrink followed by the reference strength curve. | |
| Result< int > | eve::procgen::applyTerrainStrength (Heightmap &target, const Heightmap &source, const Heightmap &curve, TerrainStrengthMode mode, float strength, bool invert) |
| Apply the reference strength curve, inversion, mode and final interpolation. | |
| Result< int > | eve::procgen::smoothTerrainMask (Heightmap &target, const Heightmap &input, float verticality, float blurRadius) |
| Apply Pcg's two-pass Smooth ImageMask operation to a scalar mask. | |
| Result< int > | eve::procgen::configureTerrainBrushWorld (TerrainBrushBlendSettings &target, const TerrainStampSettings &world, int contextWidth, int contextHeight, const TerrainSampleGrid &heights) |
| Configure paint-context UV matrices from world sample centers and a rotated stamp footprint. | |
| Result< int > | eve::procgen::blendTerrainBrush (Heightmap &target, const Heightmap &oldHeights, const Heightmap &newHeights, const Heightmap &brush, const TerrainBrushBlendSettings &settings) |
| Blend an erosion scalar output with old heights through transformed brush UVs. | |
| Result< int > | eve::procgen::generateTerrainErosionMask (Heightmap &target, const Heightmap &oldHeights, const Heightmap &erosion, const Heightmap &brush, const TerrainBrushBlendSettings &spatial, const Heightmap &curve, TerrainStrengthMode mode, float strength, bool userInvert) |
| Compose spatial erosion-output blending and the source's inverted strength filter atomically. | |
| Result< int > | eve::procgen::transformTerrainMask (Heightmap &target, const Heightmap &source, const Heightmap &curve) |
| Transform scalar input through a clamped bilinear one-row curve texture. | |
| Result< int > | eve::procgen::generateTerrainRangeMask (Heightmap &target, const Heightmap &source, float minimum, float maximum, const Heightmap &filterCurve, const Heightmap &strengthCurve) |
| Generate height/range fitness with smoothstep followed by filter and strength curves. | |
| Result< int > | eve::procgen::deriveTerrainSlope (Heightmap &target, const Heightmap &heights, float spacingX, float spacingZ, float heightScale=1) |
| Derive the shader's slope metric 1-normal.y from world-scaled height gradients. | |
| Result< int > | eve::procgen::generateTerrainDistanceMask (Heightmap &target, const TerrainDistanceMaskSettings &settings, const Heightmap &filterCurve, const Heightmap &strengthCurve) |
| Generate a transformed distance mask using circle, X, Z or rounded-square coordinates. | |