class CommandBuffers
Defined at line 19 of file ../../src/graphics/examples/vkproto/common/command_buffers.h
Public Members
static array magenta_s
Public Methods
void CommandBuffers (std::shared_ptr<vk::Device> device, std::shared_ptr<CommandPool> vkp_command_pool, const std::vector<vk::UniqueFramebuffer> & framebuffers, const vk::Pipeline & graphics_pipeline, const vk::RenderPass & render_pass, const vk::Extent2D & extent, const std::array<float, 4> & clear_color, const vk::CommandBufferUsageFlags & usage_flags, const vk::CommandBufferLevel & level)
Defined at line 13 of file ../../src/graphics/examples/vkproto/common/command_buffers.cc
bool Init ()
Allocated and initialize command buffers. Mutually exclusive with Alloc().
Defined at line 47 of file ../../src/graphics/examples/vkproto/common/command_buffers.cc
bool Alloc ()
Allocate command buffers from command pool without initialization.
May not call Init() after Alloc(). Initialization must be done manually.
Defined at line 32 of file ../../src/graphics/examples/vkproto/common/command_buffers.cc
const std::vector<vk::UniqueCommandBuffer> & command_buffers ()
Defined at line 37 of file ../../src/graphics/examples/vkproto/common/command_buffers.h
const std::vector<vk::UniqueFramebuffer> & framebuffers ()
Defined at line 38 of file ../../src/graphics/examples/vkproto/common/command_buffers.h
const vk::RenderPass & render_pass ()
Defined at line 39 of file ../../src/graphics/examples/vkproto/common/command_buffers.h
const vk::Pipeline & graphics_pipeline ()
Defined at line 40 of file ../../src/graphics/examples/vkproto/common/command_buffers.h
const vk::Extent2D & extent ()
Defined at line 41 of file ../../src/graphics/examples/vkproto/common/command_buffers.h