This file contains the Shader class.
VkCommandBuffer beginFrame()
Renderer & operator=(const Renderer &)=delete
Window & getWindow() const
std::array< float, 4 > getClearColor() const
std::unique_ptr< SwapChain > m_swapChain
VkRenderPass getSwapChainRenderPass() const
float getAspectRatio() const
void endSwapChainRenderPass(VkCommandBuffer commandBuffer) const
Renderer & operator=(Renderer &&)=delete
void createCommandBuffers()
void beginSwapChainRenderPass(VkCommandBuffer commandBuffer) const
Renderer(Renderer &&)=delete
void freeCommandBuffers()
unsigned long m_currentFrameIndex
void setClearValue(const VkClearColorValue clearColorValue=DEFAULT_CLEAR_COLOR, const VkClearDepthStencilValue clearDepthValue=DEFAULT_CLEAR_DEPTH)
Renderer(const Renderer &)=delete
std::array< VkClearValue, 2 > m_clearValues
std::vector< VkCommandBuffer > m_commandBuffers
VkCommandBuffer getCurrentCommandBuffer() const
uint32_t m_currentImageIndex
unsigned long getFrameIndex() const
bool isFrameInProgress() const
Renderer(Window &window, Device &device)
static constexpr VkClearColorValue DEFAULT_CLEAR_COLOR
static constexpr VkClearDepthStencilValue DEFAULT_CLEAR_DEPTH