sandbox
Loading...
Searching...
No Matches
sbx::graphics::graphics_module Class Referencefinal

Module for managing rendering specific tasks. More...

#include <graphics_module.hpp>

Inheritance diagram for sbx::graphics::graphics_module:
sbx::core::module< graphics_module > sbx::utility::noncopyable

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 &
 
- Public Member Functions inherited from sbx::utility::noncopyable
 noncopyable (const noncopyable &)=delete
 
 noncopyable (noncopyable &&) noexcept=default
 
auto operator= (const noncopyable &) -> noncopyable &=delete
 
auto operator= (noncopyable &&) noexcept -> noncopyable &=default
 

Additional Inherited Members

- Protected Types inherited from sbx::core::module< graphics_module >
using base_type = module_manager::module_base
 
using dependencies = module_manager::dependencies< Dependencies... >
 
using stage = module_manager::stage
 
- Static Protected Member Functions inherited from sbx::core::module< graphics_module >
static auto register_module (stage stage, dependencies< Dependencies... > &&dependencies={}) -> bool
 

Detailed Description

Module for managing rendering specific tasks.

sbx::core::module<T>


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