Export (0) Print
Expand All

Statement Blocks

A statement block contains one or more statements; each statement is made up of expressions and operators.



{
   statement 1;
   statement 2;
   ...
   statement n;
}


A statement block also indicates subscope. Variables declared within a statement block are only recognized within the block.

Related topics

Statements (DirectX HLSL)

 

 

Community Additions

ADD
Show:
© 2014 Microsoft