Class RenderResource

Inheritance Relationships

Base Type

Derived Types

Class Documentation

class inexor::vulkan_renderer::RenderResource : public inexor::vulkan_renderer::RenderGraphObject

A single resource in the render graph.

Note

May become multiple physical (vulkan) resources during render graph compilation.

Subclassed by inexor::vulkan_renderer::BufferResource, inexor::vulkan_renderer::TextureResource

Public Functions

RenderResource(const RenderResource&) = delete
RenderResource(RenderResource&&) = delete
~RenderResource() override = default
RenderResource &operator=(const RenderResource&) = delete
RenderResource &operator=(RenderResource&&) = delete

Protected Functions

inline explicit RenderResource(std::string name)

Private Members

friend RenderGraph
const std::string m_name
std::shared_ptr<PhysicalResource> m_physical