else - vs

Start of an else block.

Syntax

else

 

Remarks

Vertex shader versions 1_1 2_0 2_x 2_sw 3_0 3_sw
else x x x x x

 

If the condition in the corresponding if bool - vs statement is true, the code enclosed by the if bool - vs statement and the matching endif is run. Otherwise, the code enclosed by the else...endif statements is run.

Vertex Shader Instructions

if bool - vs

endif - vs