.clang-format

cross platform rendering playground

.clang-format

711 B
BasedOnStyle: LLVM

ColumnLimit: 120
IndentWidth: 4

PointerAlignment: Right
ReferenceAlignment: Right

BinPackArguments: false
BinPackParameters: false
AlignAfterOpenBracket: BlockIndent

BreakBeforeBraces: Attach
BreakAfterReturnType: ExceptShortType
AlwaysBreakAfterDefinitionReturnType: None

AllowShortNamespacesOnASingleLine: false
AllowShortIfStatementsOnASingleLine: Never
AllowShortBlocksOnASingleLine: Never
AllowShortCaseExpressionOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortLoopsOnASingleLine: false
AllowShortFunctionsOnASingleLine: false
AllowShortEnumsOnASingleLine: false

AlignConsecutiveMacros: true

Macros:
  - GPU_PTR(x)=x
  - GPU_HND(x)=x
  - STATIC_CONST(x)=x