2D_Game_Engine
Loading...
Searching...
No Matches
src
vertexbufferlayout.cpp
Go to the documentation of this file.
1
#include <pch.hpp>
2
#include <
vertexbufferlayout.hpp
>
3
4
void
VertexBufferLayout::Push
(
unsigned
int
type,
unsigned
int
count,
bool
normalized){
5
m_Elements.push_back({type,count,normalized});
6
m_Stride+=count*
VertexBufferElement::GetSizeOfType
(type);
7
}
VertexBufferLayout::Push
void Push(unsigned int type, unsigned int count, bool normalized)
Definition
vertexbufferlayout.cpp:4
VertexBufferElement::GetSizeOfType
static unsigned int GetSizeOfType(unsigned int type)
Definition
vertexbufferlayout.hpp:8
vertexbufferlayout.hpp
Generated by
1.10.0