载入中...
搜索中...
未找到
GrassParameters.cpp 文件参考
#include <array>
#include <cmath>
#include "common/Exception.h"
#include "graphics/Grass.h"

浏览源代码.

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 
namespace  eve::graphics
 卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局参数。 数据模型与渲染/交互逻辑见 CardTypes.h。
 
namespace  eve::graphics::grass
 t3ssel8r-style stylized grass.
 

函数

EVENGINE_API_BACKENDS int eve::graphics::grass::paramCount ()
 Param count.
 
EVENGINE_API_BACKENDS std::string eve::graphics::grass::paramName (int index)
 Param name.
 
EVENGINE_API_BACKENDS void eve::graphics::grass::bindDefaults (Shader *shader)
 Binds defaults.
 
EVENGINE_API_BACKENDS void eve::graphics::grass::bindFoliage (Shader *shader, const GrassFoliageSettings &settings)
 Select the static foliage profile and copy its validated surface parameters.
 
EVENGINE_API_BACKENDS TerrainDetailQuality eve::graphics::grass::terrainDetailQuality (int resolutionPerPatch) noexcept
 Classify a Unity terrain detail patch resolution with Pcg's exact default mapping.
 
EVENGINE_API_BACKENDS Result< int > eve::graphics::grass::applyTerrainDetailOverwrite (GrassFoliageSettings &foliage, const TerrainDetailOverwriteSettings &settings)
 Validate and copy TerrainDetailOverwrite distances/density into a foliage profile atomically.