Microsoft SDK for Java

stateTransForm

This method of the Direct3dExecuteBuffer Class sets the number of STATETRANSFORM instructions that will proceed with this instruction in the execute buffer.

Syntax

public int stateTransForm(int cnt, int bufferindex);

Return Value

Returns the number of 32-bit values added.

Parameters

cnt The number of instructions.
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.