|
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 |
|
glm::vec4 & | GetClearColor () const |
|
|
enum class | API { None = 0
, OpenGL = 1
, Vulkan = 2
} |
|
static API | GetAPI () |
|
static glm::vec4 | m_ClearColor = { 0.0f, 0.0f, 0.0f, 0.0f } |
|
◆ BeginScene()
void Karma::VulkanRendererAPI::BeginScene |
( |
| ) |
|
|
overridevirtual |
◆ Clear()
void Karma::VulkanRendererAPI::Clear |
( |
| ) |
|
|
overridevirtual |
◆ DrawIndexed()
void Karma::VulkanRendererAPI::DrawIndexed |
( |
std::shared_ptr< VertexArray > | vertexArray | ) |
|
|
overridevirtual |
◆ EndScene()
void Karma::VulkanRendererAPI::EndScene |
( |
| ) |
|
|
overridevirtual |
◆ SetClearColor()
void Karma::VulkanRendererAPI::SetClearColor |
( |
const glm::vec4 & | color | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: