The Dirtchamber
A mixed reality testing environment for real-time global illumination algorithms
Public Member Functions | List of all members
dune::sampler_state Struct Reference

A wrapper class for a sampler state. More...

#include <shader_resource.h>

Inheritance diagram for dune::sampler_state:
dune::shader_resource

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.
 

Detailed Description

A wrapper class for a sampler state.

Manages an ID3D11SamplerState.


The documentation for this struct was generated from the following files: