Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
ShaderManager.cpp File Reference
#include "precompiled.h"
#include "ShaderManager.h"
#include "graphics/PreprocessorWrapper.h"
#include "graphics/ShaderTechnique.h"
#include "lib/config2.h"
#include "lib/hash.h"
#include "lib/timer.h"
#include "lib/utf8.h"
#include "ps/CLogger.h"
#include "ps/CStrIntern.h"
#include "ps/CStrInternStatic.h"
#include "ps/Filesystem.h"
#include "ps/Profile.h"
#include "ps/XML/Xeromyces.h"
#include "renderer/backend/IDevice.h"
#include "ps/XML/RelaxNG.h"
#include "ps/XML/XMLWriter.h"
#include <optional>
#include <vector>
Include dependency graph for ShaderManager.cpp:

Macros

#define USE_SHADER_XML_VALIDATION   1
 
#define EL(x)   int el_##x = XeroFile.GetElementID(#x)
 
#define AT(x)   int at_##x = XeroFile.GetAttributeID(#x)
 
#define MASK_CHANNEL(ATTRIBUTE, VALUE)
 

Functions

 TIMER_ADD_CLIENT (tc_ShaderValidation)
 

Macro Definition Documentation

◆ AT

#define AT (   x)    int at_##x = XeroFile.GetAttributeID(#x)

◆ EL

#define EL (   x)    int el_##x = XeroFile.GetElementID(#x)

◆ MASK_CHANNEL

#define MASK_CHANNEL (   ATTRIBUTE,
  VALUE 
)
Value:
if (Element.GetAttributes().GetNamedItem(ATTRIBUTE) == "TRUE") \
passPipelineStateDesc.blendState.colorWriteMask |= Renderer::Backend::ColorWriteMask::VALUE

◆ USE_SHADER_XML_VALIDATION

#define USE_SHADER_XML_VALIDATION   1

Function Documentation

◆ TIMER_ADD_CLIENT()

TIMER_ADD_CLIENT ( tc_ShaderValidation  )