ludus::graphics::renderer::RenderGraphAttachmentPool¶
Ludus Wiki · API overview · Browse API
Class
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
#include <ludus/graphics/renderer/render_graph.hpp>
class ludus::graphics::renderer::RenderGraphAttachmentPool final
Members¶
internal::RenderGraphPoolAccess¶
friend struct internal::RenderGraphPoolAccess
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
Methods¶
RenderGraphAttachmentPool¶
ludus::graphics::renderer::RenderGraphAttachmentPool::RenderGraphAttachmentPool() noexcept
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
~RenderGraphAttachmentPool¶
ludus::graphics::renderer::RenderGraphAttachmentPool::~RenderGraphAttachmentPool() noexcept
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
RenderGraphAttachmentPool¶
ludus::graphics::renderer::RenderGraphAttachmentPool::RenderGraphAttachmentPool(const RenderGraphAttachmentPool &)=delete
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
operator=¶
RenderGraphAttachmentPool & ludus::graphics::renderer::RenderGraphAttachmentPool::operator=(const RenderGraphAttachmentPool &)=delete
Related types: RenderGraphAttachmentPool
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
Initialize¶
rhi::RasterStatus ludus::graphics::renderer::RenderGraphAttachmentPool::Initialize(rhi::DeviceHandle device, foundation::uint32 idleCapacity=RENDER_GRAPH_POOL_CAPACITY) noexcept
| Parameter | Description |
|---|---|
device |
Ready owned device; outlives the pool and every graph initialized with it.
|
idleCapacity |
Most idle allocations retained, 1..RENDER_GRAPH_POOL_CAPACITY.
|
Returns
Related types: foundation::uint32 · rhi::RasterStatus · rhi::DeviceHandle
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
Trim¶
void ludus::graphics::renderer::RenderGraphAttachmentPool::Trim() noexcept
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
GetReport¶
RenderGraphPoolReport ludus::graphics::renderer::RenderGraphAttachmentPool::GetReport() const noexcept
Related types: RenderGraphPoolReport
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp
Reset¶
void ludus::graphics::renderer::RenderGraphAttachmentPool::Reset() noexcept
Precondition
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp