Microsoft DirectX 8.0 (Visual Basic) |
Applies the vertex processing defined by the vertex shader to the set of input data streams, generating a single stream of interleaved vertex data to the destination vertex buffer.
object.ProcessVertices( _ SrcStartIndex As Long, _ DestIndex As Long, _ VertexCount As Long, _ DestBuffer As Direct3DVertexBuffer8, _ Flags As Long)
If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
The destination vertex buffer, DestBuffer, must be created with a nonzero FVF parameter. The FVF code specified during the call to the Direct3DDevice8.CreateVertexBuffer method, specifies the vertex elements present in the destination vertex buffer.