Class atlas::renderer
Public Functions
Type | Name |
---|---|
void | begin (const vk::vk_command_buffer & p_current, const vk::vk_swapchain & p_current_rp) Indicates to the renderer is at the start of the next frame to prepare workloads before next frame is processeed. |
void | end () Indications when the renderer has reached the end of the frame. |
renderer () = default |
|
renderer (const vk::vk_swapchain & p_swapchain, const std::string & p_tag="Renderer") |
|
void | set_background_color (const std::array< float, 4 > & p_color) |
Public Functions Documentation
function begin
Indicates to the renderer is at the start of the next frame to prepare workloads before next frame is processeed.
void atlas::renderer::begin (
const vk::vk_command_buffer & p_current,
const vk::vk_swapchain & p_current_rp
)
function end
Indications when the renderer has reached the end of the frame.
void atlas::renderer::end ()
function renderer [1/2]
atlas::renderer::renderer () = default
function renderer [2/2]
atlas::renderer::renderer (
const vk::vk_swapchain & p_swapchain,
const std::string & p_tag="Renderer"
)
function set_background_color
void atlas::renderer::set_background_color (
const std::array< float, 4 > & p_color
)
The documentation for this class was generated from the following file TheAtlasEngine/atlas/renderer/renderer.hpp