holds necessary information to map shader attribute to data in vertex buffer
#include <attribute_bindings.hpp>
Public Member Functions | |
attribute_mapping (std::string const &name_, enum vertex_attribute_usage usage_, int index_, int dimension_) | |
Data Fields | |
std::string | name |
enum vertex_attribute_usage | usage |
int | index |
int | dimension |
Definition at line 45 of file attribute_bindings.hpp.
renderstack::attribute_mapping::attribute_mapping | ( | std::string const & | name_, | |
enum vertex_attribute_usage | usage_, | |||
int | index_, | |||
int | dimension_ | |||
) | [inline] |
std::string renderstack::attribute_mapping::name |
Definition at line 60 of file attribute_bindings.hpp.
Definition at line 61 of file attribute_bindings.hpp.
Definition at line 62 of file attribute_bindings.hpp.
Definition at line 63 of file attribute_bindings.hpp.