2D_Game_Engine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
VertexBufferLayout Class Reference

#include <vertexbufferlayout.hpp>

Public Member Functions

 VertexBufferLayout ()
 
void Push (unsigned int type, unsigned int count, bool normalized)
 
const std::vector< VertexBufferElement > & GetElements () const
 
unsigned int GetStride () const
 
void Clear ()
 

Detailed Description

Definition at line 23 of file vertexbufferlayout.hpp.

Constructor & Destructor Documentation

◆ VertexBufferLayout()

VertexBufferLayout::VertexBufferLayout ( )
inline

Definition at line 25 of file vertexbufferlayout.hpp.

Member Function Documentation

◆ Clear()

void VertexBufferLayout::Clear ( )
inline

Definition at line 30 of file vertexbufferlayout.hpp.

◆ GetElements()

const std::vector< VertexBufferElement > & VertexBufferLayout::GetElements ( ) const
inline

Definition at line 28 of file vertexbufferlayout.hpp.

◆ GetStride()

unsigned int VertexBufferLayout::GetStride ( ) const
inline

Definition at line 29 of file vertexbufferlayout.hpp.

◆ Push()

void VertexBufferLayout::Push ( unsigned int type,
unsigned int count,
bool normalized )

Definition at line 4 of file vertexbufferlayout.cpp.


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