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

Borrowed mask upload; no frame or vessel pointer is retained after publication. 更多...

#include <OceanRenderer.h>

Public 成员函数

EVENGINE_API_DOMAINS Result< void > publish () const
 Upload into the inactive texture and publish only on success; empty clears the mask.
 

友元

class OceanRenderer
 

详细描述

Borrowed mask upload; no frame or vessel pointer is retained after publication.

在文件 OceanRenderer.h 第 101 行定义.

成员函数说明

◆ publish()

Result< void > eve::fluids::OceanHullMaskPublication::publish ( ) const

Upload into the inactive texture and publish only on success; empty clears the mask.

返回
Success or provider/upload diagnostic. Invalidated Graphics is never dereferenced. @cost Bounded 4 by 545 RGBA8 upload with backend synchronization, once per changed vessel pose. @thread Render-thread-only, non-reentrant; no callbacks. Draw requires matching mask/ocean origins.

在文件 OceanHullMaskPublication.cpp 第 10 行定义.

引用了 code, error, eve::Diagnostic::error(), eve::Failed, eve::Result< T >::failure(), info, message, eve::graphics::TextureSampler::nearest(), eve::fluids::OceanHullMaskFrame::origin(), pixels, result, eve::fluids::OceanHullMaskFrame::rows(), eve::graphics::TextureCreateInfo::sampler, eve::fluids::OceanHullMaskFrame::size(), size, eve::StaleHandle, state, eve::Result< T >::success(), eve::Unsupported , 以及 value.

友元及相关函数文档

◆ OceanRenderer

在文件 OceanRenderer.h 第 111 行定义.


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