Om
1.0.0
A universal framework for multimedia simulation
|
A class that specifies a kind of Buffer and how it is used. More...
#include <omGraphicsBufferType.h>
Public Types | |
enum | Enum { VERTEX = 1, INDEX = 2 } |
An enum type which represents the type for a hardware attribute buffer. More... | |
Public Member Functions | |
BufferType (Enum newType) | |
Create a new hardware attribute buffer type with the specified usage enum value. More... | |
operator Enum () const | |
Convert this hardware attribute buffer type to an enum value. More... | |
Bool | supportsAttributeType (const AttributeType &attributeType) const |
Return whether or not the specified attribute type is a valid type for this buffer type. More... | |
String | toString () const |
Return a string representation of the hardware attribute buffer type. More... | |
operator String () const | |
Convert this hardware attribute buffer type into a string representation. More... | |
A class that specifies a kind of Buffer and how it is used.
The type specified here is used to determine the kinds of elements that a buffer can hold and how it can be used.
|
inline |
Create a new hardware attribute buffer type with the specified usage enum value.
|
inline |
Convert this hardware attribute buffer type to an enum value.
Bool om::graphics::buffers::BufferType::supportsAttributeType | ( | const AttributeType & | attributeType | ) | const |
Return whether or not the specified attribute type is a valid type for this buffer type.
String om::graphics::buffers::BufferType::toString | ( | ) | const |
Return a string representation of the hardware attribute buffer type.
|
inline |
Convert this hardware attribute buffer type into a string representation.