Diligent Engine  v.2.4.g
Namespaces | Enumerations | Functions
GLSLangUtils.hpp File Reference
#include <vector>
#include "Shader.h"
#include "DataBlob.h"

Go to the source code of this file.

Namespaces

 Diligent
 The library uses Direct3D-style math:
 
 Diligent::GLSLangUtils
 

Enumerations

enum  Diligent::GLSLangUtils::SpirvVersion { Diligent::GLSLangUtils::SpirvVersion::Vk100, Diligent::GLSLangUtils::SpirvVersion::Vk110, Diligent::GLSLangUtils::SpirvVersion::Vk110_Spirv14, Diligent::GLSLangUtils::SpirvVersion::Vk120 }
 

Functions

void Diligent::GLSLangUtils::InitializeGlslang ()
 
void Diligent::GLSLangUtils::FinalizeGlslang ()
 
std::vector< unsigned int > Diligent::GLSLangUtils::GLSLtoSPIRV (SHADER_TYPE ShaderType, const char *ShaderSource, int SourceCodeLen, const ShaderMacro *Macros, IShaderSourceInputStreamFactory *pShaderSourceStreamFactory, SpirvVersion Version, IDataBlob **ppCompilerOutput)
 
std::vector< unsigned int > Diligent::GLSLangUtils::HLSLtoSPIRV (const ShaderCreateInfo &ShaderCI, const char *ExtraDefinitions, IDataBlob **ppCompilerOutput)