sandbox
Loading...
Searching...
No Matches
sbx::graphics::renderer Class Referenceabstract
Inheritance diagram for sbx::graphics::renderer:
sbx::utility::noncopyable

Public Member Functions

virtual auto initialize () -> void=0
 
auto render (const pipeline::stage &stage, command_buffer &command_buffer) -> void
 
auto execute_tasks (command_buffer &command_buffer) -> void
 
auto add_render_stage (std::vector< attachment > &&attachments, std::vector< subpass_binding > &&subpass_bindings, const viewport &viewport=graphics::viewport{}) -> void
 
auto render_stages () const noexcept -> const std::vector< std::unique_ptr< graphics::render_stage > > &
 
auto render_stage (const pipeline::stage &stage) -> graphics::render_stage &
 

Protected Member Functions

template<typename Type , typename... Args>
requires (std::is_constructible_v<Type, const std::filesystem::path&, const pipeline::stage&, Args...>)
auto add_subrenderer (const std::filesystem::path &path, const pipeline::stage &stage, Args &&... args) -> Type &
 
template<typename Type , typename... Args>
requires (std::is_constructible_v<Type, std::filesystem::path, Args...>)
auto add_task (const std::filesystem::path &path, Args &&... args) -> Type &
 

The documentation for this class was generated from the following file: