CeresEngine
0.2.0
A game development framework
Loading...
Searching...
No Matches
GLSLIntrinsics.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/Foundation/String.hpp
"
11
12
#include "
CeresEngine/Material/ShaderCompiler/AST/ASTEnums.hpp
"
13
#include "
CeresEngine/Material/ShaderCompiler/AST/Token.hpp
"
14
15
namespace
CeresEngine::ShaderCompiler
{
16
17
// Returns GLSL keyword for the specified intrinsic.
18
const
String
*
intrinsicToGLSLKeyword
(
const
Intrinsic
intr
,
bool
useGLSL120
=
false
);
19
20
}
// namespace CeresEngine::ShaderCompiler
ASTEnums.hpp
String.hpp
Token.hpp
CeresEngine::BasicString< char >
CeresEngine::ShaderCompiler
Definition
AST.hpp:33
CeresEngine::ShaderCompiler::intrinsicToGLSLKeyword
const String * intrinsicToGLSLKeyword(const Intrinsic intr, bool useGLSL120=false)
CeresEngine::ShaderCompiler::Intrinsic
Intrinsic
Intrinsics function enumeration (currently only HLSL intrinsics).
Definition
ASTEnums.hpp:980
CeresEngine::hash
constexpr size_t hash(const T &v)
Generates a hash for the provided type.
Definition
Hash.hpp:25
Sources
CeresEngine
Material
ShaderCompiler
Backend
GLSL
GLSLIntrinsics.hpp
Generated by
1.9.8