CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::ShaderCompiler::Warnings Struct Reference

Compiler warning flags. More...

#include <CeresEngine/Material/ShaderCompiler/ShaderCompiler.hpp>

Public Types

enum  : UInt32 {
  Basic = (1 << 0) , Syntax = (1 << 1) , PreProcessor = (1 << 2) , UnusedVariables = (1 << 3) ,
  EmptyStatementBody = (1 << 4) , ImplicitTypeConversions = (1 << 5) , DeclarationShadowing = (1 << 6) , UnlocatedObjects = (1 << 7) ,
  RequiredExtensions = (1 << 8) , CodeReflection = (1 << 9) , IndexBoundary = (1 << 10) , All = (~0u)
}
 

Detailed Description

Compiler warning flags.

See also
ShaderInput::warnings

Member Enumeration Documentation

◆ anonymous enum

Enumerator
Basic 

Warning for basic issues (control path, disabled code etc.).

Syntax 

Warning for syntactic issues.

PreProcessor 

Warning for pre-processor issues.

UnusedVariables 

Warning for unused variables.

EmptyStatementBody 

Warning for statements with empty body.

ImplicitTypeConversions 

Warning for specific implicit type conversions.

DeclarationShadowing 

Warning for declarations that shadow a previous local (e.g. for-loops or variables in class hierarchy).

UnlocatedObjects 

Warning for optional objects that where not found.

RequiredExtensions 

Warning for required extensions in the output code.

CodeReflection 

Warning for issues during code reflection.

IndexBoundary 

Warning for index boundary violations.

All 

All warnings.


The documentation for this struct was generated from the following file: