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

Public Member Functions

virtual void Bind () const override
 
virtual void UnBind () const override
 
virtual void AddVertexBuffer (const std::shared_ptr< VertexBuffer > &vertexBuffer) override
 
virtual void SetIndexBuffer (const std::shared_ptr< IndexBuffer > &indexBuffer) override
 
virtual void SetMesh (std::shared_ptr< Mesh > mesh) override
 
virtual void SetMaterial (std::shared_ptr< Material > material) override
 
virtual void SetShader (std::shared_ptr< Shader > shader) override
 
void CreateDescriptorSetLayout ()
 
void CreatePipelineLayout ()
 
void CreateGraphicsPipeline ()
 
void CreateDescriptorPool ()
 
void CreateDescriptorSets ()
 
void CreateExternalViewPort (float startX, float startY, float width, float height)
 
void GenerateVulkanVA ()
 
void RecreateVulkanVA ()
 
void CleanupPipeline ()
 
VkShaderModule CreateShaderModule (const std::vector< uint32_t > &code)
 
VkPipeline GetGraphicsPipeline () const
 
VkPipelineLayout GetGraphicsPipelineLayout () const
 
const std::shared_ptr< VulkanShader > & GetShader () const
 
const std::shared_ptr< VulkanVertexBuffer > & GetVertexBuffer () const
 
const std::vector< VkDescriptorSet > & GetDescriptorSets () const
 
virtual std::shared_ptr< MaterialGetMaterial () const override
 
virtual void UpdateProcessAndSetReadyForSubmission () const override
 
virtual const std::vector< std::shared_ptr< VertexBuffer > > & GetVertexBuffers () const override
 
virtual const VulkanIndexBufferGetIndexBuffer () const override
 
- Public Member Functions inherited from Karma::VertexArray

Additional Inherited Members

- Static Public Member Functions inherited from Karma::VertexArray
static VertexArrayCreate ()
 

Member Function Documentation

◆ AddVertexBuffer()

void Karma::VulkanVertexArray::AddVertexBuffer ( const std::shared_ptr< VertexBuffer > & vertexBuffer)
overridevirtual

Implements Karma::VertexArray.

◆ Bind()

void Karma::VulkanVertexArray::Bind ( ) const
overridevirtual

Implements Karma::VertexArray.

◆ GetIndexBuffer()

virtual const VulkanIndexBuffer * Karma::VulkanVertexArray::GetIndexBuffer ( ) const
inlineoverridevirtual

Implements Karma::VertexArray.

◆ GetMaterial()

virtual std::shared_ptr< Material > Karma::VulkanVertexArray::GetMaterial ( ) const
inlineoverridevirtual

Implements Karma::VertexArray.

◆ GetVertexBuffers()

virtual const std::vector< std::shared_ptr< VertexBuffer > > & Karma::VulkanVertexArray::GetVertexBuffers ( ) const
inlineoverridevirtual

Implements Karma::VertexArray.

◆ SetIndexBuffer()

void Karma::VulkanVertexArray::SetIndexBuffer ( const std::shared_ptr< IndexBuffer > & indexBuffer)
overridevirtual

Implements Karma::VertexArray.

◆ SetMaterial()

void Karma::VulkanVertexArray::SetMaterial ( std::shared_ptr< Material > material)
overridevirtual

Implements Karma::VertexArray.

◆ SetMesh()

void Karma::VulkanVertexArray::SetMesh ( std::shared_ptr< Mesh > mesh)
overridevirtual

Implements Karma::VertexArray.

◆ SetShader()

void Karma::VulkanVertexArray::SetShader ( std::shared_ptr< Shader > shader)
overridevirtual

Implements Karma::VertexArray.

◆ UnBind()

virtual void Karma::VulkanVertexArray::UnBind ( ) const
inlineoverridevirtual

Implements Karma::VertexArray.

◆ UpdateProcessAndSetReadyForSubmission()

void Karma::VulkanVertexArray::UpdateProcessAndSetReadyForSubmission ( ) const
overridevirtual

Implements Karma::VertexArray.


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