#include <Stream.h>
Public Member Functions | |
| Attribute (Slot slot, Slot channel, Element element, Offset offset=0, Frequency frequency=PER_VERTEX) | |
| uint32 | getSize () const |
| std::string | getKey () const |
| Generate a string key describing the attribute uniquely. More... | |
The attribute description. Every thing that is needed to detail a stream attribute and how to interpret it.
|
inline |
| slot | Slot on which data will be available to the shader. |
| channel | Binding number which this attribute gets data from. |
| element | Object describing element type. |
| offset | Offset in bytes. |
| frequency | When is current position incremented by stride. |
| std::string Stream::Attribute::getKey | ( | ) | const |
Generate a string key describing the attribute uniquely.
|
inline |