Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::Preprocessor Namespace Reference

Namespaces

namespace  Callback
 

Classes

struct  WorkData
 

Functions

static void OnThreadCreated ()
 
static bool PreProcessMacros (const std::string_view fileName, string &sourceInOut)
 

Variables

constexpr U8 g_maxTagCount = 64
 
NO_DESTROY static thread_local WorkData g_workData
 
NO_DESTROY static thread_local fppTag g_tags [g_maxTagCount] {}
 
NO_DESTROY static thread_local fppTag * g_tagHead = g_tags
 

Function Documentation

◆ OnThreadCreated()

static void Divide::Preprocessor::OnThreadCreated ( )
static

Definition at line 178 of file ShaderProgram.cpp.

◆ PreProcessMacros()

static bool Divide::Preprocessor::PreProcessMacros ( const std::string_view  fileName,
string sourceInOut 
)
static

Definition at line 222 of file ShaderProgram.cpp.

Variable Documentation

◆ g_maxTagCount

constexpr U8 Divide::Preprocessor::g_maxTagCount = 64
constexpr

Definition at line 104 of file ShaderProgram.cpp.

◆ g_tagHead

NO_DESTROY static thread_local fppTag* Divide::Preprocessor::g_tagHead = g_tags
static

Definition at line 108 of file ShaderProgram.cpp.

◆ g_tags

NO_DESTROY static thread_local fppTag Divide::Preprocessor::g_tags[g_maxTagCount] {}
static

Definition at line 107 of file ShaderProgram.cpp.

◆ g_workData

NO_DESTROY static thread_local WorkData Divide::Preprocessor::g_workData
static

Definition at line 106 of file ShaderProgram.cpp.