MultiLine

Engine/source/shaderGen/langElement.h

More...

Private Attributes

Public Functions

Detailed Description

MultiLine - Multi Line Statement - This class simply ties multiple

example:

MultiLine *meta = new MultiLine;
meta->addStatement( new GenOp( "foo = true;\r\n" ) );
meta->addStatement( new GenOp( "bar = false;\r\n ) );

it prints out in the shader declaration as:

foo = true;
bar = false;

Private Attributes

Vector< LangElement * > mStatementList 

Public Functions

MultiLine()

addStatement(LangElement * elem)

print(Stream & stream)

Reimplemented from: LangElement