The Dirtchamber
A mixed reality testing environment for real-time global illumination algorithms
|
A wrapper class for a sampler state. More...
#include <shader_resource.h>
Public Member Functions | |
void | destroy () |
Destroy the shader_resource and free all memory. | |
void | to_vs (ID3D11DeviceContext *context, UINT slot) |
Upload the shader resource to register slot of a vertex shader. | |
void | to_ps (ID3D11DeviceContext *context, UINT slot) |
Upload the shader resource to register slot of a pixel shader. | |
Public Member Functions inherited from dune::shader_resource | |
virtual void | to_gs (ID3D11DeviceContext *context, UINT slot) |
Upload the shader resource to register slot of a geometry shader. | |
virtual void | to_cs (ID3D11DeviceContext *context, UINT slot) |
Upload the shader resource to register slot of a compute shader. | |
A wrapper class for a sampler state.
Manages an ID3D11SamplerState.