endloop - vs

loop...endloop 블록의 끝입니다.

Syntax

endloop

 

설명

꼭짓점 셰이더 버전 1_1 2_0 2_x 2_sw 3_0 3_sw
endloop x x x x x

 

이 명령은 여기에 표시된 대로 작동합니다.

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

endloop는 loop - vs 블록의 마지막 명령을 따라야 합니다.

예제

loop aL, i3
    add r1, r0, c2[ aL ]
endloop

꼭짓점 셰이더 명령