#include <CeresEngine/Material/ShaderCompiler/AST/AST.hpp>
|
| enum | : UInt32 {
isShaderInput = (1u << ( 0 ))
, isShaderOutput = (1u << ( 1 ))
, isParameter = (1u << ( 2 ))
, isSelfParameter = (1u << ( 3 ))
,
isBaseMember = (1u << ( 4 ))
, isImplicitConst = (1u << ( 5 ))
} |
| |
| enum class | Types {
Program
, CodeBlock
, Attribute
, SwitchCase
,
SamplerValue
, Register
, PackOffset
, ArrayDimension
,
TypeSpecifier
, VarDeclaration
, BufferDeclaration
, SamplerDeclaration
,
StructDeclaration
, AliasDeclaration
, FunctionDeclaration
, UniformBufferDeclaration
,
VarDeclarationStatement
, BufferDeclarationStatement
, SamplerDeclarationStatement
, AliasDeclarationStatement
,
BasicDeclarationStatement
, NullStatement
, CodeBlockStatement
, ForLoopStatement
,
WhileLoopStatement
, DoWhileLoopStatement
, IfStatement
, ElseStatement
,
SwitchStatement
, ExpressionStatement
, ReturnStatement
, CtrlTransferStatement
,
LayoutStatement
, NullExpression
, SequenceExpression
, LiteralExpression
,
TypeSpecifierExpression
, TernaryExpression
, BinaryExpression
, UnaryExpression
,
PostUnaryExpression
, CallExpression
, BracketExpression
, ObjectExpression
,
AssignExpression
, ArrayExpression
, CastExpression
, InitializerExpression
} |
| |
| enum | : UInt32 { isReachable = (1u << ( 30 ))
, isDeadCode = (1u << ( 29 ))
, isBuiltin = (1u << ( 28 ))
} |
| |
◆ anonymous enum
| Enumerator |
|---|
| isShaderInput | |
| isShaderOutput | |
| isParameter | |
| isSelfParameter | |
| isBaseMember | |
| isImplicitConst | |
◆ VarDeclarationStatement() [1/2]
| CeresEngine::ShaderCompiler::VarDeclarationStatement::VarDeclarationStatement |
( |
const SourcePosition & |
astPos | ) |
|
|
inlineexplicit |
◆ VarDeclarationStatement() [2/2]
| CeresEngine::ShaderCompiler::VarDeclarationStatement::VarDeclarationStatement |
( |
const SourceArea & |
astArea | ) |
|
|
inlineexplicit |
◆ accumulateAlignedVectorSize()
| bool CeresEngine::ShaderCompiler::VarDeclarationStatement::accumulateAlignedVectorSize |
( |
UInt32 & |
size, |
|
|
UInt32 & |
padding, |
|
|
UInt32 * |
offset = nullptr |
|
) |
| |
◆ collectDeclarationIdents()
| void CeresEngine::ShaderCompiler::VarDeclarationStatement::collectDeclarationIdents |
( |
Map< const AST *, String > & |
declarationASTIdents | ) |
const |
|
overridevirtual |
◆ fetchStructDeclarationRef()
| StructDeclaration * CeresEngine::ShaderCompiler::VarDeclarationStatement::fetchStructDeclarationRef |
( |
| ) |
const |
◆ fetchUniqueVarDeclaration()
| VarDeclaration * CeresEngine::ShaderCompiler::VarDeclarationStatement::fetchUniqueVarDeclaration |
( |
| ) |
const |
◆ fetchVarDeclaration()
◆ forEachVarDeclaration()
◆ getType()
| Types CeresEngine::ShaderCompiler::VarDeclarationStatement::getType |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ hasAnyTypeModifierOf()
◆ isConstOrUniform()
| bool CeresEngine::ShaderCompiler::VarDeclarationStatement::isConstOrUniform |
( |
| ) |
const |
◆ isInput()
| bool CeresEngine::ShaderCompiler::VarDeclarationStatement::isInput |
( |
| ) |
const |
◆ isOutput()
| bool CeresEngine::ShaderCompiler::VarDeclarationStatement::isOutput |
( |
| ) |
const |
◆ isUniform()
| bool CeresEngine::ShaderCompiler::VarDeclarationStatement::isUniform |
( |
| ) |
const |
◆ makeImplicitConst()
| void CeresEngine::ShaderCompiler::VarDeclarationStatement::makeImplicitConst |
( |
| ) |
|
◆ setTypeModifier()
| void CeresEngine::ShaderCompiler::VarDeclarationStatement::setTypeModifier |
( |
const TypeModifier |
modifier | ) |
|
◆ toString()
| String CeresEngine::ShaderCompiler::VarDeclarationStatement::toString |
( |
bool |
useVarNames = true | ) |
const |
◆ visit()
◆ classType
◆ typeSpecifier
| TypeSpecifierPtr CeresEngine::ShaderCompiler::VarDeclarationStatement::typeSpecifier |
◆ varDeclarations
The documentation for this struct was generated from the following file:
- /Users/Rogiel/Developer/CeresEngine/Engine/Sources/CeresEngine/Material/ShaderCompiler/AST/AST.hpp