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

#include <ShaderProgram.h>

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

Public Member Functions

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

Private Attributes

CDevicem_Device = nullptr
 
std::vector< SVertexAttributeFormatm_Attributes
 

Constructor & Destructor Documentation

◆ CVertexInputLayout()

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

◆ ~CVertexInputLayout()

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

Member Function Documentation

◆ GetAttributes()

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

◆ GetDevice()

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

Member Data Documentation

◆ m_Attributes

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

◆ m_Device

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

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