HatchitGraphics
ht_d3d11pixelshader.h
1 
15 #pragma once
16 
17 #include <ht_platform.h>
18 #include <ht_directx.h>
19 #include <ht_d3d11shader.h>
20 
21 namespace Hatchit {
22 
23  namespace Graphics {
24 
25  namespace DirectX {
26 
27  class HT_API D3D11PixelShader : public D3D11Shader
28  {
29  public:
30  D3D11PixelShader(ID3D11Device* device, ID3D11DeviceContext* context);
31 
33 
34 
35  ID3D11PixelShader* GetShader();
36 
37  bool VSetShaderResourceView(std::string name, ID3D11ShaderResourceView* rv) override;
38 
39  bool VSetSamplerState(std::string name, ID3D11SamplerState* ss) override;
40 
41  private:
42  ID3D11PixelShader* m_shader;
43 
44  protected:
45  void VBind() override;
46  void VUnbind() override;
47  bool VInitShader() override;
48 
49  };
50  }
51  }
52 }
Definition: ht_d3d11pixelshader.h:27
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition: ht_color.h:19
Definition: ht_d3d11shader.h:29