?/TD>
Microsoft DirectX 9.0

endloop (Vertex Shader)


End of a loop...endloop block.

Syntax

endloop

Remarks

Vertex shader versions1_12_02_x2_sw3_03_sw
endloopxxxxx

This instruction works as shown here.

LoopCounter += LoopStep;
LoopInterationCount = LoopIterationCount - 1;
if (LoopIterationCount > 0)
    Continue execution at the StartLoopOffset

The endloop instruction offset must be greater than the loop instruction offset.

The code block defined between the loop and endloop instructions does not consume additional instruction slots beyond those required to define it.

Instruction Information

Minimum operating systemWindows 98


© 2002 Microsoft Corporation. All rights reserved.