载入中...
搜索中...
未找到
WaterUnderwaterEffects.h 文件参考
#include "common/Result.h"
#include <cstdint>
#include <vector>
#include <glm/glm.hpp>

浏览源代码.

类

struct  eve::graphics::UnderwaterColorStop
 One normalized RGB key in a Pcg underwater fog gradient. 更多...
 
class  eve::graphics::UnderwaterColorGradient
 Caller-owned ordered color gradient used for depth or time-of-day fog. 更多...
 
class  eve::graphics::UnderwaterScalarCurve
 Caller-owned normalized scalar curve used by Pcg underwater post exposure. 更多...
 
struct  eve::graphics::WaterUnderwaterSettings
 Authored Pcg underwater-effects policy; owns no renderer, audio source or scene object. 更多...
 
struct  eve::graphics::WaterUnderwaterInput
 Immutable per-frame water, camera and lighting snapshot. 更多...
 
struct  eve::graphics::WaterUnderwaterState
 Persistent caller-owned transition and caustic animation state. 更多...
 
struct  eve::graphics::WaterUnderwaterDisableTriggerState
 Caller-owned enable state driven by Pcg disable-underwater trigger events. 更多...
 
struct  eve::graphics::WaterUnderwaterTriggerEvent
 Immutable normalized 3D trigger event snapshot supplied by the physics owner. 更多...
 
struct  eve::graphics::WaterUnderwaterOutput
 Effects snapshot for graphics, audio, particles and VFX providers to consume. 更多...
 
struct  eve::graphics::WaterSurfaceFogSnapshot
 Caller-owned surface fog values restored after leaving or disabling underwater effects. 更多...
 
struct  eve::graphics::WaterSurfacePostFxSnapshot
 Caller-owned surface post-processing values restored above water. 更多...
 
struct  eve::graphics::WaterSurfaceMaterialSnapshot
 Caller-owned water-renderable tint restored outside the underwater state. 更多...
 

命名空间

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

函数

Result< void > eve::graphics::advanceWaterUnderwaterEffects (WaterUnderwaterState &state, WaterUnderwaterOutput &output, const WaterUnderwaterSettings &settings, const WaterUnderwaterInput &input, const UnderwaterColorGradient &depthGradient, const UnderwaterColorGradient &timeGradient, const UnderwaterScalarCurve &postExposureCurve, const UnderwaterColorGradient &postColorGradient)
 Advance Pcg underwater transitions and derive provider-neutral effects.
 
Result< void > eve::graphics::advanceWaterUnderwaterDisableTrigger (WaterUnderwaterDisableTriggerState &state, const WaterUnderwaterTriggerEvent &event, int expectedSensorTag, int expectedVisitorTag)
 Apply one Box3D trigger event using Pcg DisableUnderwaterFXTrigger semantics.
 
Result< void > eve::graphics::applyWaterUnderwaterFog (Volumetric *volumetric, const WaterUnderwaterOutput &output, const WaterSurfaceFogSnapshot &surface)
 Apply a water-effects snapshot to an existing EVEngine volumetric fog provider.
 
Result< void > eve::graphics::applyWaterUnderwaterPostFx (Graphics *graphics, Camera3D *camera, const WaterUnderwaterOutput &output, const WaterSurfacePostFxSnapshot &surface)
 Apply underwater exposure and final-composite color to borrowed graphics providers.
 
Result< void > eve::graphics::applyWaterUnderwaterHorizon (Renderable3D *horizon, const WaterUnderwaterOutput &output)
 Synchronize Pcg's underwater horizon mesh visibility.
 
Result< void > eve::graphics::applyWaterUnderwaterMaterial (Renderable3D *renderable, const WaterUnderwaterOutput &output, const WaterSurfaceMaterialSnapshot &surface)
 Apply Pcg's per-frame underwater material color to a dedicated water renderable.
 
void eve::graphics::exposeWaterUnderwaterEffectsBindings (ssq::Table &table)
 Register underwater-effects value types and checked transition with the VM owner thread.