CeresEngine
0.2.0
A game development framework
Loading...
Searching...
No Matches
GLSLScanner.hpp
Go to the documentation of this file.
1
//
2
// CeresEngine - A game development framework
3
//
4
// Created by Rogiel Sulzbach.
5
// Copyright (c) 2018-2022 Rogiel Sulzbach. All rights reserved.
6
//
7
8
#pragma once
9
10
#include "
CeresEngine/Material/ShaderCompiler/Frontend/SLScanner.hpp
"
11
12
namespace
CeresEngine::ShaderCompiler
{
13
14
// GLSL token scanner.
15
class
GLSLScanner
:
public
SLScanner
{
16
public
:
17
GLSLScanner
(
Log
* log =
nullptr
);
18
19
private
:
20
TokenPtr
scanIdentifierOrKeyword
(
String
&&
spell
)
override
;
21
};
22
23
}
// namespace CeresEngine::ShaderCompiler
SLScanner.hpp
CeresEngine::BasicString< char >
CeresEngine::ShaderCompiler::GLSLScanner
Definition
GLSLScanner.hpp:15
CeresEngine::ShaderCompiler::GLSLScanner::scanIdentifierOrKeyword
TokenPtr scanIdentifierOrKeyword(String &&spell) override
CeresEngine::ShaderCompiler::GLSLScanner::GLSLScanner
GLSLScanner(Log *log=nullptr)
CeresEngine::ShaderCompiler::Log
Log base class.
Definition
Log.hpp:19
CeresEngine::ShaderCompiler::SLScanner
Definition
SLScanner.hpp:15
CeresEngine::ShaderCompiler
Definition
AST.hpp:33
CeresEngine::ShaderCompiler::TokenPtr
SPtr< Token > TokenPtr
Definition
Token.hpp:174
CeresEngine::hash
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition
Hash.hpp:25
Sources
CeresEngine
Material
ShaderCompiler
Frontend
GLSL
GLSLScanner.hpp
Generated by
1.9.8