The Dirtchamber
A mixed reality testing environment for real-time global illumination algorithms
Namespaces | Functions
shader_tools.h File Reference
#include <map>
#include <string>
#include <D3D11.h>
#include "exception.h"

Go to the source code of this file.

Namespaces

 dune
 Direct3D helper library.
 

Functions

template<typename T >
void dune::compile_shader (ID3D11Device *device, LPCTSTR filename, LPCSTR shadermodel, LPCSTR mainfunc, UINT shader_flags, D3D_SHADER_MACRO *defines, T **shader, ID3DBlob **binary=nullptr)
 (Re-)Compile a shader. More...