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

Public Member Functions

auto render (command_buffer &command_buffer, const swapchain &swapchain) -> void
 
auto resize (const std::string &viewport_name) -> void
 
auto attachment (const std::string &name) const -> const descriptor &
 
template<typename Type >
requires (std::is_base_of_v<graphics::draw_list, Type>)
auto draw_list () -> Type &
 
template<typename Type >
requires (std::is_base_of_v<graphics::task, Type>)
auto task () -> memory::observer_ptr< Type >
 
template<typename Type >
requires (std::is_base_of_v<graphics::task, Type>)
auto task () const -> memory::observer_ptr< const 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 (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: