renderstack::attribute_mapping Struct Reference

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

Detailed Description

Definition at line 45 of file attribute_bindings.hpp.


Constructor & Destructor Documentation

renderstack::attribute_mapping::attribute_mapping ( std::string const &  name_,
enum vertex_attribute_usage  usage_,
int  index_,
int  dimension_ 
) [inline]

Definition at line 47 of file attribute_bindings.hpp.

00053     :   name        (name_)
00054     ,   usage       (usage_)
00055     ,   index       (index_)
00056     ,   dimension   (dimension_)
00057     {
00058     }


Field Documentation

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.


The documentation for this struct was generated from the following file:
Generated on Sun Apr 11 12:23:11 2010 for RenderStack by  doxygen 1.6.3