载入中...
搜索中...
未找到
eve::fluids::OceanMeshBuilder类 参考

Owning topology preparation; settings are copied at build, with no retained references. 更多...

#include <OceanMesh.h>

Public 成员函数

EVENGINE_API_DOMAINS Result< OceanMeshData > build () const
 Build positively oriented triangles on XZ, graded geometrically from near water to horizon.
 

Public 属性

OceanMeshSettings settings
 

详细描述

Owning topology preparation; settings are copied at build, with no retained references.

在文件 OceanMesh.h 第 36 行定义.

成员函数说明

◆ build()

Result< OceanMeshData > eve::fluids::OceanMeshBuilder::build ( ) const

Build positively oriented triangles on XZ, graded geometrically from near water to horizon.

返回
Complete owning mesh or InvalidArgument; no partial publication or callbacks. @cost O(segments * rings) allocation and work; amortize over renderer quality changes. @thread Caller-owned builder; reentrant const reads, no graphics context required.

在文件 OceanMesh.cpp 第 6 行定义.

引用了 direction, eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, mid, eve::fluids::OceanMeshData::parameterOffsets, radius, result, s, settings, eve::Result< T >::success(), t, eve::fluids::ocean_script::vector() , 以及 width.

被这些函数引用 eve::fluids::OceanRendererBuilder::build().

类成员变量说明

◆ settings

OceanMeshSettings eve::fluids::OceanMeshBuilder::settings

在文件 OceanMesh.h 第 38 行定义.

被这些函数引用 build() , 以及 eve::fluids::OceanRendererBuilder::build().


该类的文档由以下文件生成: