#include <IPrimitiveRenderer.h>
Used by DrawPrimitive and DrawIndexedPrimitive for vertex data.
It is used for all types of primitive. The pointers should point to arrays in system memory.
Public Types |
|
| enum | { MaximalTextureStreams = 4 } |
Public Member Functions |
|
| SimpleVertexStream () | |
Public Attributes |
|
| Point3 * | Positions |
| Position array. |
|
| Point3 * | Normals |
| Normals array. |
|
| Point4 * | Colors |
| Vertex Color array. |
|
| TextureCoordStream | TextureStreams [MaximalTextureStreams] |
| Texture coordinate array. |
|
| anonymous enum |
{
MaximalTextureStreams = 4,
};
Position array.
Normals array.
Vertex Color array.
| TextureCoordStream TextureStreams[MaximalTextureStreams] |
Texture coordinate array.
The number of TextureCoordStreams is defined by "MaximalTextureStreams".