Cheap borrowed graphics preparation; provider must survive build and later rendering. 更多...
#include <OceanSprayRenderer.h>
Public 成员函数 | |
| OceanSprayRendererBuilder (graphics::Graphics &graphics) | |
| Borrow graphics through build; created renderer observes its retirement thereafter. | |
| EVENGINE_API_DOMAINS Result< std::unique_ptr< OceanSprayRenderer > > | build () const |
| Create shaders and double-buffered meshes; retain no builder reference. @cost Pipeline creation and small initial GPU allocations; amortize over renderer lifetime. | |
详细描述
Cheap borrowed graphics preparation; provider must survive build and later rendering.
在文件 OceanSprayRenderer.h 第 64 行定义.
构造及析构函数说明
◆ OceanSprayRendererBuilder()
|
inlineexplicit |
Borrow graphics through build; created renderer observes its retirement thereafter.
在文件 OceanSprayRenderer.h 第 67 行定义.
引用了 graphics.
成员函数说明
◆ build()
| Result< std::unique_ptr< OceanSprayRenderer > > eve::fluids::OceanSprayRendererBuilder::build | ( | ) | const |
Create shaders and double-buffered meshes; retain no builder reference. @cost Pipeline creation and small initial GPU allocations; amortize over renderer lifetime.
- 返回
- Owning renderer or explicit unsupported/provider diagnostic. Render-thread only.
在文件 OceanSprayRenderer.cpp 第 35 行定义.
引用了 attributes, backend, error, indices, lifetime, mesh, positions, result, eve::fluids::shaders::sprayFragment, eve::fluids::shaders::sprayVertex, eve::StaleHandle, state, eve::Unsupported, uv , 以及 eve::fluids::ocean_script::vector().
该类的文档由以下文件生成:
- src/modules/fluids/OceanSprayRenderer.h
- src/modules/fluids/OceanSprayRenderer.cpp