Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Renderer::Backend::Vulkan::CVertexInputLayout Class Reference

#include <ShaderProgram.h>

Inheritance diagram for Renderer::Backend::Vulkan::CVertexInputLayout:
Collaboration diagram for Renderer::Backend::Vulkan::CVertexInputLayout:

Public Types

using UID = uint32_t
 

Public Member Functions

 CVertexInputLayout (CDevice *device, const PS::span< const SVertexAttributeFormat > attributes)
 
 ~CVertexInputLayout () override=default
 
IDeviceGetDevice () override
 
const std::vector< SVertexAttributeFormat > & GetAttributes () const noexcept
 
UID GetUID () const
 
- Public Member Functions inherited from Renderer::Backend::IDeviceObject< IVertexInputLayout >
virtual ~IDeviceObject ()
 
virtual IDeviceGetDevice ()=0
 
TAs ()
 

Private Attributes

CDevicem_Device = nullptr
 
UID m_UID = 0
 
std::vector< SVertexAttributeFormatm_Attributes
 

Member Typedef Documentation

◆ UID

Constructor & Destructor Documentation

◆ CVertexInputLayout()

Renderer::Backend::Vulkan::CVertexInputLayout::CVertexInputLayout ( CDevice device,
const PS::span< const SVertexAttributeFormat attributes 
)
inline

◆ ~CVertexInputLayout()

Renderer::Backend::Vulkan::CVertexInputLayout::~CVertexInputLayout ( )
overridedefault

Member Function Documentation

◆ GetAttributes()

const std::vector< SVertexAttributeFormat > & Renderer::Backend::Vulkan::CVertexInputLayout::GetAttributes ( ) const
inlinenoexcept

◆ GetDevice()

IDevice * Renderer::Backend::Vulkan::CVertexInputLayout::GetDevice ( )
overridevirtual

◆ GetUID()

UID Renderer::Backend::Vulkan::CVertexInputLayout::GetUID ( ) const
inline

Member Data Documentation

◆ m_Attributes

std::vector<SVertexAttributeFormat> Renderer::Backend::Vulkan::CVertexInputLayout::m_Attributes
private

◆ m_Device

CDevice* Renderer::Backend::Vulkan::CVertexInputLayout::m_Device = nullptr
private

◆ m_UID

UID Renderer::Backend::Vulkan::CVertexInputLayout::m_UID = 0
private

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