|
CeresEngine 0.2.0
A game development framework
|
Formatting descriptor structure for the output shader. More...
#include <CeresEngine/Material/ShaderCompiler/ShaderCompiler.hpp>
Public Attributes | |
| bool | alwaysBracedScopes = true |
| If true, scopes are always written in braces. By default, true. | |
| bool | blanks = true |
| If true, blank lines are allowed. By default, true. | |
| bool | compactWrappers = false |
| If true, wrapper functions for special intrinsics are written in a compact formatting (i.e. | |
| String | indent = String(4, ' ') |
| Indentation string for code generation. By default, String(4, ' '). | |
| bool | lineMarks = false |
| If true, line marks are allowed. By default, false. | |
| bool | lineSeparation = true |
| If true, auto-formatting of line separation is allowed. By default, true. | |
| bool | newLineOpenScope = false |
| If true, the '{'-braces for an open scope gets its own line. | |
Formatting descriptor structure for the output shader.
If true, scopes are always written in braces. By default, true.
If true, blank lines are allowed. By default, true.
If true, wrapper functions for special intrinsics are written in a compact formatting (i.e.
all in one line). By default, false.
Indentation string for code generation. By default, String(4, ' ').
If true, line marks are allowed. By default, false.
If true, auto-formatting of line separation is allowed. By default, true.
If true, the '{'-braces for an open scope gets its own line.
If false, braces are written like in Java coding conventions. By default, false.