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

Public Member Functions

auto render (command_buffer &command_buffer, const swapchain &swapchain) -> void
 
auto resize (const viewport::type flags) -> void
 
auto attachment (const std::string &name) const -> const descriptor &
 
template<typename Type >
requires (std::is_base_of_v<draw_list, Type>)
auto draw_list (const utility::hashed_string &name) -> Type &
 

Protected Member Functions

template<typename Type , typename... Args>
requires (std::is_base_of_v<graphics::subrenderer, Type> && std::is_constructible_v<Type, const std::vector<sbx::graphics::attachment_description>&, Args...>)
auto add_subrenderer (const pass_handle handle, Args &&... args) -> Type &
 
template<typename Type , typename... Args>
requires (std::is_base_of_v<graphics::task, Type> && std::is_constructible_v<Type, Args...>)
auto add_task (const pass_handle handle, Args &&... args) -> Type &
 
template<typename Type , typename... Args>
requires (std::is_constructible_v<Type, Args...>)
auto add_draw_list (const utility::hashed_string &name, Args &&... args) -> Type &
 
template<typename... Args>
auto create_attachment (Args &&... args) -> attachment_handle
 
template<typename Callable >
auto create_pass (Callable &&callable) -> pass_handle
 
auto build_render_graph () -> void
 
auto attachment_descriptions (const pass_handle handle) const -> std::vector< attachment_description >
 

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