载入中...
搜索中...
未找到
OceanSprayRenderer.h
浏览该文件的文档.
Immutable owning visual spray state. The application owns the current frame; replacing it with a succ...
Definition OceanSpray.h:45
Cheap borrowed projection; source must remain alive and immutable through build().
Definition OceanSprayRenderer.h:22
EVENGINE_API_DOMAINS Result< OceanSprayMeshFrame > build() const
Sort back-to-front and build camera-facing quads in a floating render origin.
Definition OceanSprayMesh.cpp:7
OceanSprayMeshBuilder(const OceanSprayFrame &source)
Borrow source for synchronous build only; never retain across move/destruction.
Definition OceanSprayRenderer.h:25
Cheap borrowed graphics preparation; provider must survive build and later rendering.
Definition OceanSprayRenderer.h:64
OceanSprayRendererBuilder(graphics::Graphics &graphics)
Borrow graphics through build; created renderer observes its retirement thereafter.
Definition OceanSprayRenderer.h:67
EVENGINE_API_DOMAINS Result< std::unique_ptr< OceanSprayRenderer > > build() const
Create shaders and double-buffered meshes; retain no builder reference. @cost Pipeline creation and s...
Definition OceanSprayRenderer.cpp:35
Render-thread-only spray projection; never advances or owns simulation authority. Graphics resources ...
Definition OceanSprayRenderer.h:41
EVENGINE_API_DOMAINS ~OceanSprayRenderer()
EVENGINE_API_DOMAINS Result< void > draw()
Draw one transparent, depth-tested batch after opaque water and hull geometry.
Definition OceanSprayRenderer.cpp:106
EVENGINE_API_DOMAINS Result< void > publish(const OceanSprayMeshFrame &frame)
Upload validated geometry to the inactive mesh, then publish it atomically.
Definition OceanSprayRenderer.cpp:73
OceanSprayRenderer(const OceanSprayRenderer &)=delete
OceanSprayRenderer & operator=(const OceanSprayRenderer &)=delete
Definition Graphics.h:134
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
@ Graphics
Owning batch; attributes store (coverage,0,0) in the mesh normal attribute.
Definition OceanSprayRenderer.h:16
std::vector< float > attributes
Definition OceanSprayRenderer.h:17
std::vector< std::uint32_t > indices
Definition OceanSprayRenderer.h:18
std::vector< float > positions
Definition OceanSprayRenderer.h:17
World camera basis and render origin; all positions use metres and Y-up.
Definition OceanSprayRenderer.h:12