VBuffer Sample

Description

This sample shows how to use the vertex buffers that are new to DirectX 6.0.

Path

Source: (SDK root)\Samples\Multimedia\D3dim\Src\VBuffer

Executable: (SDK root)\Samples\Multimedia\D3dim\Bin

User's Guide

Press F1 to see available commands.

Programming Notes

Before vertex buffers, geometry rendering was accomplished by using an array of vertices passed to DrawPrimitive calls. Vertex buffers are more useful, but need to be specifically created, locked, filled, and unlocked before being rendered with the new DrawPrimitiveVB calls.