else - ps

Start of an else block.

Syntax

else

 

Remarks

Pixel shader versions1_11_21_31_42_02_x2_sw3_03_sw
elsexxxx

 

If the condition in the corresponding if statement is true, the code enclosed by the if statement and the matching else is run.

Related topics

Pixel Shader Instructions
if bool - ps
endif - ps

 

 

Show: