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

Render-thread-owned GPU projection of immutable spectral coefficients, with no independent clock. Vulkan compute reference parity is numerical, not bitwise. No callbacks during submission and no locks. Graphics retirement releases compute resources before the device; either destruction order is safe. A new submission invalidates all earlier tokens, including after a failed partially executed submission. Backend failure poisons the projection; rebuild it instead of appending commands to a failed recording. 更多...

#include <OceanGpuSpectrum.h>

类

struct  Impl
 

Public 成员函数

EVENGINE_API_DOMAINS ~OceanGpuSpectrum ()
 
 OceanGpuSpectrum (const OceanGpuSpectrum &)=delete
 
OceanGpuSpectrum & operator= (const OceanGpuSpectrum &)=delete
 
EVENGINE_API_DOMAINS OceanGpuFrameBuilder frameBuilder (double time)
 Prepare a cheap call-only builder; owner must outlive submit().
 
EVENGINE_API_DOMAINS Result< OceanGpuBandView > band (const OceanGpuFrameToken &token, unsigned index) const
 Validate revision and borrow one band for immediate same-device consumption; no allocation.
 
EVENGINE_API_DOMAINS Result< OceanGpuAtlasView > atlas (const OceanGpuFrameToken &token) const
 Validate revision and borrow the complete rendering atlas for immediate same-device copying.
 
EVENGINE_API_DOMAINS OceanGpuReadbackBuilder readbackBuilder (const OceanGpuFrameToken &token) const
 Prepare explicit diagnostic readback; no readback occurs in normal GPU rendering.
 

友元

class OceanGpuSpectrumBuilder
 
class OceanGpuFrameBuilder
 
class OceanGpuReadbackBuilder
 

详细描述

Render-thread-owned GPU projection of immutable spectral coefficients, with no independent clock. Vulkan compute reference parity is numerical, not bitwise. No callbacks during submission and no locks. Graphics retirement releases compute resources before the device; either destruction order is safe. A new submission invalidates all earlier tokens, including after a failed partially executed submission. Backend failure poisons the projection; rebuild it instead of appending commands to a failed recording.

在文件 OceanGpuSpectrum.h 第 65 行定义.

构造及析构函数说明

◆ ~OceanGpuSpectrum()

eve::fluids::OceanGpuSpectrum::~OceanGpuSpectrum ( )
default

◆ OceanGpuSpectrum()

eve::fluids::OceanGpuSpectrum::OceanGpuSpectrum ( const OceanGpuSpectrum &  )
delete

成员函数说明

◆ atlas()

Result< OceanGpuAtlasView > eve::fluids::OceanGpuSpectrum::atlas ( const OceanGpuFrameToken &  token) const

Validate revision and borrow the complete rendering atlas for immediate same-device copying.

在文件 OceanGpuSpectrum.cpp 第 263 行定义.

引用了 band(), eve::Result< T >::failure(), eve::Result< T >::success(), token, valid , 以及 view.

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

◆ band()

Result< OceanGpuBandView > eve::fluids::OceanGpuSpectrum::band ( const OceanGpuFrameToken &  token,
unsigned  index 
) const

Validate revision and borrow one band for immediate same-device consumption; no allocation.

在文件 OceanGpuSpectrum.cpp 第 251 行定义.

引用了 eve::Result< T >::failure(), index, eve::InvalidArgument, eve::fluids::OceanGpuSpectrum::Impl::Ready, settings, eve::StaleHandle, state, eve::Result< T >::success() , 以及 token.

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

◆ frameBuilder()

OceanGpuFrameBuilder eve::fluids::OceanGpuSpectrum::frameBuilder ( double  time)

Prepare a cheap call-only builder; owner must outlive submit().

在文件 OceanGpuSpectrum.cpp 第 138 行定义.

引用了 time.

◆ operator=()

OceanGpuSpectrum & eve::fluids::OceanGpuSpectrum::operator= ( const OceanGpuSpectrum &  )
delete

◆ readbackBuilder()

OceanGpuReadbackBuilder eve::fluids::OceanGpuSpectrum::readbackBuilder ( const OceanGpuFrameToken &  token) const

Prepare explicit diagnostic readback; no readback occurs in normal GPU rendering.

在文件 OceanGpuSpectrum.cpp 第 139 行定义.

引用了 token.

友元及相关函数文档

◆ OceanGpuFrameBuilder

在文件 OceanGpuSpectrum.h 第 82 行定义.

◆ OceanGpuReadbackBuilder

在文件 OceanGpuSpectrum.h 第 83 行定义.

◆ OceanGpuSpectrumBuilder

在文件 OceanGpuSpectrum.h 第 81 行定义.


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