Struct RenderGraphObject

Inheritance Relationships

Derived Types

Struct Documentation

struct inexor::vulkan_renderer::RenderGraphObject

Base class of all render graph objects (resources and stages).

Note

This is just for internal use.

Subclassed by inexor::vulkan_renderer::PhysicalResource, inexor::vulkan_renderer::PhysicalStage, inexor::vulkan_renderer::RenderResource, inexor::vulkan_renderer::RenderStage

Public Functions

RenderGraphObject() = default
RenderGraphObject(const RenderGraphObject&) = delete
RenderGraphObject(RenderGraphObject&&) = delete
virtual ~RenderGraphObject() = default
RenderGraphObject &operator=(const RenderGraphObject&) = delete
RenderGraphObject &operator=(RenderGraphObject&&) = delete
template<typename T>
T *as()

Casts this object to type T

Returns

The object as type T or nullptr if the cast failed

template<typename T>
const T *as() const

Casts this object to type T

Returns

The object as type T or nullptr if the cast failed