Microsoft SDK for Java

stateRenderData

This method of the Direct3dExecuteBuffer Class describes the render state for the STATERENDER instruction.

Syntax

public int stateRenderData(int flags, int Arg, int bufferindex);

Return Value

Returns the number of 32-bit values added.

Parameters

flags The flags that describe the render state. For a complete listing of D3DRENDERSTATE_ flags, see DirectXConstants.
Arg A value that is dependant on the D3DRENDERSTATE_ flag.
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.