#include <sglTexCoords.hpp>
Public Types | |
| typedef const char* | iterator |
Public Methods | |
| sglTexCoords (float *tex_coords, unsigned int size=2) | |
| sglTexCoords (sglDataPtr *data=NULL, sglDataPtr::DataTypeEnum type=sglDataPtr::eFLOAT, int size=2, int offset=0, int stride=0) | |
| ~sglTexCoords () | |
| sglTexCoords (const sglTexCoords &rhs) | |
| sglTexCoords& | operator= (const sglTexCoords &rhs) |
| void | set (sglDataPtr *data, sglDataPtr::DataTypeEnum type=sglDataPtr::eFLOAT, int size=2, int offset=0, int stride=0) |
| sglDataPtr* | getDataPtr () const |
| sglDataPtr::DataTypeEnum | getType () const |
| int | getNumDimensions () const |
| int | getOffset () const |
| int | getStride () const |
| void | apply (unsigned int index) const |
| void | applyMulti (GLenum unit, unsigned int index) const |
| bool | isValid () const |
| int | getInc () const |
| int | getSize () const |
| sglDataPtr::DataTypeEnum | getDataType () const |
| int | getTypeIndex () const |
| iterator | begin () const |
| void | printInfo (ostream &ostrm, const char *indent_string) const |
Static Public Methods | |
| void | applySet (const vector< sglTexCoords > &tc, unsigned int index, GLenum max) |
| void | applyArraySet (const vector< sglTexCoords > &tc) |
| void | applyArraySetMulti (const vector< sglTexCoords > &tc) |
Definition at line 36 of file sglTexCoords.hpp.
|
|
Constructor.
Definition at line 46 of file sglTexCoords.hpp. |
|
|
Constructor.
Definition at line 61 of file sglTexCoords.hpp. |
|
|
Destructor. Definition at line 70 of file sglTexCoords.hpp. |
|
|
Copy Constructor Definition at line 73 of file sglTexCoords.hpp. |
|
|
Assignment Operator |
|
|
Set the texture coordinate parameters.
Referenced by sglTexCoords(). |
|
|
Get the texture coordinate values.
Definition at line 103 of file sglTexCoords.hpp. |
|
|
Get the data type of the texture coordinate values.
Definition at line 108 of file sglTexCoords.hpp. |
|
|
Get the number of dimensions.
Definition at line 113 of file sglTexCoords.hpp. |
|
|
Get the offset between the start of the data pointer and the start of the texture coordinate values.
Definition at line 119 of file sglTexCoords.hpp. |
|
|
Get the number of bytes from the start of one color to the start of the next color.
Definition at line 127 of file sglTexCoords.hpp. |
1.2.6 written by Dimitri van Heesch,
© 1997-2001