Package com.ms.com.directX Previous
Previous
Microsoft Packages
Microsoft Packages
Index
Index
Next
Next

D3DOP_ Values

Contains the opcodes for execute buffers.

D3DOP_POINT
Sends a point to the renderer.
D3DOP_LINE
Sends a line to the renderer.
D3DOP_TRIANGLE
Sends a triangle to the renderer.
D3DOP_MATRIXLOAD
Triggers a data transfer in the rendering engine.
D3DOP_MATRIXMULTIPLY
Triggers a data transfer in the rendering engine.
D3DOP_STATETRANSFORM
Sets the value of internal state variables in the rendering engine for the transformation module. Operand data is a variable token and the new value. The token identifies the internal state variable, and the new value is the value to which that variable should be set.
D3DOP_STATELIGHT
Sets the value of internal state variables in the rendering engine for the lighting module. Operand data is a variable token and the new value. The token identifies the internal state variable, and the new value is the value to which that variable should be set.
D3DOP_STATERENDER
Sets the value of internal state variables in the rendering engine for the rendering module. Operand data is a variable token and the new value. The token identifies the internal state variable, and the new value is the value to which that variable should be set.
D3DOP_PROCESSVERTICES
Sets both lighting and transformations for vertices.
D3DOP_TEXTURELOAD
Triggers a data transfer in the rendering engine.
D3DOP_EXIT
Signals that the end of the list has been reached.
D3DOP_BRANCHFORWARD
Enables a branching mechanism within the execute buffer.
D3DOP_SPAN
Spans a list of points with the same y value.
D3DOP_SETSTATUS
Resets the status of the execute buffer.

An execute buffer has two parts: an array of vertices (each typically with position, normal vector, and texture coordinates) and an array of opcode/operand groups. One opcode can have several operands following it; the system simply performs the relevant operation on each operand.

Top© 1996 Microsoft Corporation. All rights reserved.