sandbox
|
Module for managing rendering specific tasks. More...
#include <graphics_module.hpp>
Public Member Functions | |
auto | update () -> void override |
auto | instance () -> instance & |
auto | physical_device () -> physical_device & |
auto | logical_device () -> logical_device & |
auto | surface () -> surface & |
auto | command_pool (VkQueueFlagBits queue_type=VK_QUEUE_GRAPHICS_BIT, const std::thread::id &thread_id=std::this_thread::get_id()) -> const std::shared_ptr< command_pool > & |
auto | swapchain () -> swapchain & |
template<utility::implements< renderer > Renderer, typename... Args> requires (std::is_constructible_v<Renderer, Args...>) | |
auto | set_renderer (Args &&... args) -> void |
auto | render_stage (const pipeline::stage &stage) -> graphics::render_stage & |
auto | current_frame () const noexcept -> std::uint32_t |
auto | attachment (const std::string &name) const -> const descriptor & |
template<typename Type , typename... Args> | |
auto | add_asset (Args &&... args) -> math::uuid |
template<typename Type > | |
auto | add_asset (std::unique_ptr< Type > &&asset) -> math::uuid |
template<typename Type > | |
auto | get_asset (const math::uuid &id) const -> const Type & |
template<typename Type > | |
auto | get_asset (const math::uuid &id) -> Type & |
![]() | |
noncopyable (const noncopyable &)=delete | |
noncopyable (noncopyable &&) noexcept=default | |
auto | operator= (const noncopyable &) -> noncopyable &=delete |
auto | operator= (noncopyable &&) noexcept -> noncopyable &=default |
Additional Inherited Members | |
![]() | |
using | base_type = module_manager::module_base |
using | dependencies = module_manager::dependencies< Dependencies... > |
using | stage = module_manager::stage |
![]() | |
static auto | register_module (stage stage, dependencies< Dependencies... > &&dependencies={}) -> bool |
Module for managing rendering specific tasks.
sbx::core::module<T>