Structure representing the primitive. More...
Public Member Functions | |
Primitive (DrawMode mode, int first, int count, int userData) | |
Creates the structure representing the primitive. | |
void | Set (DrawMode mode, int first, int count, int userData) |
Sets the structure representing the primitive. | |
Public Attributes | |
DrawMode | Mode |
Primitive rendering mode. | |
ushort | First |
Starting vertex of the primitive. | |
ushort | Count |
Number of vertices in the primitive. | |
ushort | UserData |
User data. |
Structure representing the primitive.
Creates the structure representing the primitive.
mode | Primitive rendering mode |
first | Starting vertex of the primitive |
count | Number of vertices in the primitive |
userData | User data |