Vyroda
Game engine made by hand, with modern C++ and Vulkan.
Loading...
Searching...
No Matches
Vyroda::DrawCommands Struct Referenceexport
Collaboration diagram for Vyroda::DrawCommands:
[legend]

Public Member Functions

 DrawCommands ()=default
 DrawCommands (DrawCommands &&other) noexcept=default
DrawCommandsoperator= (DrawCommands &&other) noexcept=default
void insert (VkCommandBuffer cmd_buffer, std::uint32_t const thread_id, bool const is_attachment, std::vector< VkPipelineStageFlags > flags={ VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT })
void clear ()
bool has_cmd () const
void init (std::size_t const size)

Public Attributes

std::vector< VkCommandBuffer > cmd_buffers {}
std::vector< std::vector< VkPipelineStageFlags > > stage_flags {}
std::vector< bool > is_attachments { }

Constructor & Destructor Documentation

◆ DrawCommands() [1/2]

Vyroda::DrawCommands::DrawCommands ( )
default
Here is the caller graph for this function:

◆ DrawCommands() [2/2]

Vyroda::DrawCommands::DrawCommands ( DrawCommands && other)
defaultnoexcept
Here is the call graph for this function:

Member Function Documentation

◆ clear()

void Vyroda::DrawCommands::clear ( )
inline
Here is the call graph for this function:

◆ has_cmd()

bool Vyroda::DrawCommands::has_cmd ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init()

void Vyroda::DrawCommands::init ( std::size_t const size)
inline
Here is the caller graph for this function:

◆ insert()

void Vyroda::DrawCommands::insert ( VkCommandBuffer cmd_buffer,
std::uint32_t const thread_id,
bool const is_attachment,
std::vector< VkPipelineStageFlags > flags = { VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT } )
inline

◆ operator=()

DrawCommands & Vyroda::DrawCommands::operator= ( DrawCommands && other)
defaultnoexcept
Here is the call graph for this function:

Member Data Documentation

◆ cmd_buffers

std::vector<VkCommandBuffer> Vyroda::DrawCommands::cmd_buffers {}

◆ is_attachments

std::vector<bool> Vyroda::DrawCommands::is_attachments { }

◆ stage_flags

std::vector<std::vector<VkPipelineStageFlags> > Vyroda::DrawCommands::stage_flags {}

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