Public Member Functions | Public Attributes | List of all members
Material::VertexAttributeBinding Struct Reference

#include <material.h>

Public Member Functions

 VertexAttributeBinding (const std::string &meshAttributeID, const std::string &shaderAttributeID)
 VertexAttributeBinding ()=default

Public Attributes

std::string mMeshAttributeID
 mesh vertex buffer name More...
std::string mShaderAttributeID
 shader vertex buffer name More...


Binds a mesh vertex buffer to a shader input.

Constructor & Destructor Documentation

◆ VertexAttributeBinding() [1/2]

VertexAttributeBinding ( const std::string &  meshAttributeID,
const std::string &  shaderAttributeID 
meshAttributeIDthe mesh vertex buffer name
shaderAttributeIDthe shader vertex buffer name

◆ VertexAttributeBinding() [2/2]

Member Data Documentation

◆ mMeshAttributeID

std::string mMeshAttributeID

mesh vertex buffer name

◆ mShaderAttributeID

std::string mShaderAttributeID

shader vertex buffer name