载入中...
搜索中...
未找到
OceanRenderer.h
浏览该文件的文档.
33 [[nodiscard]] EVENGINE_API_DOMAINS OceanMeshFrameBuilder frameBuilder(const OceanWaterView& water) const;
35 [[nodiscard]] EVENGINE_API_DOMAINS OceanGpuRenderFrameBuilder gpuFrameBuilder(const OceanGpuSpectrum& spectrum,
Opaque revision of a completed GPU ocean; copying does not extend resource lifetime.
Definition OceanGpuSpectrum.h:22
Borrowed GPU rendering publication, with optional synchronous local wake upload. Does not retain inpu...
Definition OceanRenderer.h:78
EVENGINE_API_DOMAINS Result< void > publish() const
Copy the completed resident atlas and optional wake to inactive textures, then publish atomically....
Definition OceanGpuRenderFrame.cpp:17
const OceanWake * wake
Borrow wake until publish returns; nullptr explicitly renders the open sea without a local wake.
Definition OceanRenderer.h:83
Render-thread-owned GPU projection of immutable spectral coefficients, with no independent clock....
Definition OceanGpuSpectrum.h:65
Immutable owning render-only union of convex dry volumes. No body handles, callbacks,...
Definition OceanHullMask.h:28
Borrowed mask upload; no frame or vessel pointer is retained after publication.
Definition OceanRenderer.h:101
EVENGINE_API_DOMAINS Result< void > publish() const
Upload into the inactive texture and publish only on success; empty clears the mask.
Definition OceanHullMaskPublication.cpp:10
Prepare CPU reference vertices from the same water view used by rigid bodies. Borrows mesh and water ...
Definition OceanMesh.h:64
Prepare renderer quality; borrows Graphics only until build returns.
Definition OceanRenderer.h:60
EVENGINE_API_DOMAINS Result< std::unique_ptr< OceanRenderer > > build() const
Allocate shader and fixed topology, publishing only a complete renderer.
Definition OceanRenderer.cpp:38
OceanRendererBuilder(graphics::Graphics &graphics)
Select the live graphics provider on its owner thread.
Definition OceanRenderer.h:63
Graphics projection of an ocean; never owns or advances simulation state. Render-thread only,...
Definition OceanRenderer.h:27
EVENGINE_API_DOMAINS OceanHullMaskPublication hullMaskBuilder(const OceanHullMaskFrame &frame)
Borrow a mask frame for synchronous upload; keep frame and renderer alive until publish returns.
Definition OceanHullMaskPublication.cpp:9
OceanRenderer(const OceanRenderer &)=delete
EVENGINE_API_DOMAINS OceanGpuRenderFrameBuilder gpuFrameBuilder(const OceanGpuSpectrum &spectrum, const OceanGpuFrameToken &token)
Prepare a borrowed GPU publication; owners must remain alive and unchanged through publish().
Definition OceanGpuRenderFrame.cpp:13
EVENGINE_API_DOMAINS OceanMeshFrameBuilder frameBuilder(const OceanWaterView &water) const
Prepare a cheap borrowed CPU projection builder; set center/origin before building.
Definition OceanRenderer.cpp:35
OceanRenderer & operator=(const OceanRenderer &)=delete
EVENGINE_API_DOMAINS Result< void > draw()
Draw the published frame in the current 3D pass; camera/scene must use its render origin.
Definition OceanRenderer.cpp:125
EVENGINE_API_DOMAINS ~OceanRenderer()
EVENGINE_API_DOMAINS Result< void > publish(const OceanMeshFrame &frame)
Publish a prepared owning vertex frame; input is borrowed only for this call.
Definition OceanRenderer.cpp:98
Caller-owned wave field with finite-depth gravity dispersion and absorbing boundaries....
Definition OceanWake.h:53
Synchronous borrowed composition of the spectral sea and an optional local wake. Both owners must out...
Definition OceanWaterView.h:17
Definition Graphics.h:134
OceanRenderBackend
Explicit projection backend; GPU mode never silently substitutes CPU vertex uploads.
Definition OceanRenderer.h:20
@ CpuReference
@ GpuResident
卡牌游戏 UI 工具模块:工厂 + 脚本绑定入口。 功能参考 ycarowr/UiCard:扇形手牌布局、抽牌/洗牌、悬浮放大、拖拽到落牌区、 敌方手牌(背面/偷看)、费用不足置灰,以及可实时调节的布局...
Definition Animation.h:25
@ Graphics
Owning CPU reference projection, ready for a mesh upload; simulation time and origin identify the fra...
Definition OceanMesh.h:49
Camera-centered concentric square rings with shared vertices and continuous distance grading.
Definition OceanMesh.h:15