Microsoft SDK for Java

processVerticesData

This method of the Direct3dExecuteBuffer Class sets the data for the PROCESSVERTICES instruction in the execute buffer. This method describes how vertices in the execute buffer should be handled by the driver.

Syntax

public int processVerticesData(int flags, int start, int dest, int cnt, int bufferindex);

Return Value

Returns the number of 32-bit values added.

Parameters

flags The flags that indicate how the driver should process the vertices. These can be:

D3DPROCESSVERTICES_COPY
D3DPROCESSVERTICES_NOCOLOR
D3DPROCESSVERTICES_OPMASK
D3DPROCESSVERTICES_TRANSFORM
D3DPROCESSVERTICES_TRANSFORMLIGHT
D3DPROCESSVERTICES_UPDATEEXTENTS

start The index of the first vertex in the source.
dest The index of the first vertex in the local buffer.
cnt The number of vertices to be processed.
bufferindex The position in the execute buffer to place the instruction.

Remarks

The execute buffer is treated as an array of 32-bit values, which is a collection of floats and ints that describe vertices and instructions. It is up to the user to manage the position of each item added to the buffer.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.