Diligent Engine  v.2.4.g
Classes | Namespaces | Macros
ShaderMacroHelper.hpp File Reference
#include <set>
#include <vector>
#include <sstream>
#include <iomanip>
#include "../../GraphicsEngine/interface/Shader.h"
#include "../../../Platforms/Basic/interface/DebugUtilities.hpp"

Go to the source code of this file.

Classes

class  Diligent::ShaderMacroHelper
 

Namespaces

 Diligent
 The library uses Direct3D-style math:
 

Macros

#define ADD_SHADER_MACRO_ENUM_VALUE(Helper, EnumValue)   Helper.AddShaderMacro(#EnumValue, static_cast<int>(EnumValue));
 

Macro Definition Documentation

◆ ADD_SHADER_MACRO_ENUM_VALUE

#define ADD_SHADER_MACRO_ENUM_VALUE (   Helper,
  EnumValue 
)    Helper.AddShaderMacro(#EnumValue, static_cast<int>(EnumValue));