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

Prepare GPU allocation from an owning immutable spectrum lease; providers borrowed through build(). 更多...

#include <OceanGpuSpectrum.h>

Public 成员函数

EVENGINE_API_DOMAINS OceanGpuSpectrumBuilder (const OceanSpectrum &spectrum, graphics::Graphics &graphics, gpgpu::Gpgpu &compute)
 Graphics must be the active same-device provider used by the injected Gpgpu service.
 
EVENGINE_API_DOMAINS OceanGpuSpectrumBuilder (const OceanSeaTransition &transition, graphics::Graphics &graphics, gpgpu::Gpgpu &compute)
 Own both immutable transition endpoints; providers borrowed through build().
 
EVENGINE_API_DOMAINS Result< std::unique_ptr< OceanGpuSpectrum > > build () const
 Allocate compiled pipelines and band buffers; Unsupported explicitly selects a caller-chosen CPU path. @cost Pipeline creation plus O(sum N*N) allocation; amortize over sea-state lifetime.
 

详细描述

Prepare GPU allocation from an owning immutable spectrum lease; providers borrowed through build().

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

构造及析构函数说明

◆ OceanGpuSpectrumBuilder() [1/2]

eve::fluids::OceanGpuSpectrumBuilder::OceanGpuSpectrumBuilder ( const OceanSpectrum &  spectrum,
graphics::Graphics &  graphics,
gpgpu::Gpgpu &  compute 
)

Graphics must be the active same-device provider used by the injected Gpgpu service.

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

引用了 graphics.

◆ OceanGpuSpectrumBuilder() [2/2]

eve::fluids::OceanGpuSpectrumBuilder::OceanGpuSpectrumBuilder ( const OceanSeaTransition &  transition,
graphics::Graphics &  graphics,
gpgpu::Gpgpu &  compute 
)

Own both immutable transition endpoints; providers borrowed through build().

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

引用了 graphics.

成员函数说明

◆ build()

Result< std::unique_ptr< OceanGpuSpectrum > > eve::fluids::OceanGpuSpectrumBuilder::build ( ) const

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