6 #include "VertexSemantics.h"
12 namespace VertexLayouts
21 VertexLayoutElement(
const VertexSemanticId::IdValues semantic, GLint numOfFields, GLenum dataType, GLboolean normalized, GLint offset)
22 : m_semantic(semantic)
23 , m_dataType(dataType)
24 , m_numOfFields(numOfFields)
26 , m_normalized(normalized)
30 VertexLayoutElement(
const VertexSemanticId::IdValues semantic, GLint numOfFields, GLenum dataType, GLint offset)
31 : m_semantic(semantic)
32 , m_dataType(dataType)
33 , m_numOfFields(numOfFields)
35 , m_normalized(GL_TRUE)
39 VertexSemanticId::IdValues GetSemanticId()
const
44 GLenum GetDataType()
const
49 GLint GetNumOfFields()
const
54 GLint GetOffset()
const
59 GLboolean GetNormalized()
const
65 VertexSemanticId::IdValues m_semantic;
69 GLboolean m_normalized;