Vertex buffer view (VBV) and Index buffer view (IBV)

A vertex buffer holds data for a list of vertices. The data for each vertex can include position, color, normal vector, texture co-ordinates, and so on. An index buffer holds integer indexes (offsets) into a vertex buffer, and is used to define and render an object made up of a subset of the full list of vertices.

The definition of a single vertex is often up to the application to define, such as:

struct CUSTOMVERTEX { 
        FLOAT x, y, z;      // The position
        FLOAT nx, ny, nz;   // The normal
        DWORD color;        // RGBA color
        FLOAT tu, tv;       // The texture coordinates. 
}; 

The definition of CUSTOMVERTEX would then be passed to the graphics driver when creating vertex buffers.

Views