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

Synchronous borrowed geometry preparation, with no provider dependency. 更多...

#include <OceanHullMask.h>

Public 成员函数

 OceanHullMaskBuilder (std::span< const OceanHullVolume > volumes)
 Borrow volumes, which must remain alive and unchanged until build returns.
 
EVENGINE_API_DOMAINS Result< OceanHullMaskFrame > build () const
 Validate the entire batch then return its owning render projection.
 

Public 属性

glm::dvec3 origin {0.0}
 

详细描述

Synchronous borrowed geometry preparation, with no provider dependency.

在文件 OceanHullMask.h 第 50 行定义.

构造及析构函数说明

◆ OceanHullMaskBuilder()

eve::fluids::OceanHullMaskBuilder::OceanHullMaskBuilder ( std::span< const OceanHullVolume >  volumes)
inlineexplicit

Borrow volumes, which must remain alive and unchanged until build returns.

在文件 OceanHullMask.h 第 53 行定义.

成员函数说明

◆ build()

Result< OceanHullMaskFrame > eve::fluids::OceanHullMaskBuilder::build ( ) const

Validate the entire batch then return its owning render projection.

返回
Complete mask or InvalidArgument; no external mutation or callbacks. @cost O(volumes * planes) allocation and transform, amortized per changed vessel pose. @thread Caller-owned builder; input reads must not race mutation.

在文件 OceanHullMask.cpp 第 13 行定义.

引用了 axis, finite, first, index, eve::fluids::ocean_script::invalid(), length, normal, offset, origin, out, relative, rotation, eve::Result< T >::success(), eve::fluids::ocean_script::vector() , 以及 volume.

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

类成员变量说明

◆ origin

glm::dvec3 eve::fluids::OceanHullMaskBuilder::origin {0.0}

在文件 OceanHullMask.h 第 54 行定义.

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


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