Karma Engine
Loading...
Searching...
No Matches
Karma::VulkanRendererAPI Class Reference
Inheritance diagram for Karma::VulkanRendererAPI:
Collaboration diagram for Karma::VulkanRendererAPI:

Public Member Functions

virtual void SetClearColor (const glm::vec4 &color) override
 
virtual void Clear () override
 
virtual void BeginScene () override
 
virtual void DrawIndexed (std::shared_ptr< VertexArray > vertexArray) override
 
virtual void EndScene () override
 
void AllocateCommandBuffers ()
 
void RecordCommandBuffers (VkCommandBuffer commandBuffer, uint32_t imageIndex)
 
void SubmitCommandBuffers ()
 
void CreateSynchronicity ()
 
void ClearVulkanRendererAPI ()
 
void RemoveSynchronicity ()
 
void RecreateCommandBuffersPipelineSwapchain ()
 
void RecreateCommandBuffersAndSwapChain ()
 
const std::vector< VkCommandBuffer > & GetCommandBuffers () const
 
const int & GetMaxFramesInFlight () const
 
const std::vector< VkFence > & GetFences () const
 
const std::vector< VkSemaphore > & GetImageAvailableSemaphores () const
 
const std::vector< VkSemaphore > GetRenderFinishedSemaphore () const
 
- Public Member Functions inherited from Karma::RendererAPI
glm::vec4 & GetClearColor () const
 

Additional Inherited Members

- Public Types inherited from Karma::RendererAPI
enum class  API { None = 0 , OpenGL = 1 , Vulkan = 2 }
 
- Static Public Member Functions inherited from Karma::RendererAPI
static API GetAPI ()
 
- Static Protected Attributes inherited from Karma::RendererAPI
static glm::vec4 m_ClearColor = { 0.0f, 0.0f, 0.0f, 0.0f }
 

Member Function Documentation

◆ BeginScene()

void Karma::VulkanRendererAPI::BeginScene ( )
overridevirtual

Implements Karma::RendererAPI.

◆ Clear()

void Karma::VulkanRendererAPI::Clear ( )
overridevirtual

Implements Karma::RendererAPI.

◆ DrawIndexed()

void Karma::VulkanRendererAPI::DrawIndexed ( std::shared_ptr< VertexArray > vertexArray)
overridevirtual

Implements Karma::RendererAPI.

◆ EndScene()

void Karma::VulkanRendererAPI::EndScene ( )
overridevirtual

Implements Karma::RendererAPI.

◆ SetClearColor()

void Karma::VulkanRendererAPI::SetClearColor ( const glm::vec4 & color)
overridevirtual

Implements Karma::RendererAPI.


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