Diligent Engine  v.2.4.g
Namespaces | Functions
HLSLUtils.hpp File Reference
#include <sstream>
#include "BasicTypes.h"
#include "GraphicsTypes.h"
#include "Shader.h"
#include "RefCountedObjectImpl.hpp"
#include "Errors.hpp"
#include "DataBlobImpl.hpp"

Go to the source code of this file.

Namespaces

 Diligent
 The library uses Direct3D-style math:
 

Functions

String Diligent::BuildHLSLSourceString (const ShaderCreateInfo &ShaderCI, const char *ExtraDefinitions=nullptr)
 
String Diligent::GetHLSLProfileString (SHADER_TYPE ShaderType, ShaderVersion ShaderModel)
 
template<typename BlobType >
void Diligent::HandleHLSLCompilerResult (bool CompilationSucceeded, BlobType *pCompilerMsgBlob, const std::string &ShaderSource, const char *ShaderName, IDataBlob **ppOutputLog) noexcept(false)