Sleeping Wombat GUI  0.100
swGUI
MockPipelineState.h
Go to the documentation of this file.
1 #pragma once
2 
12 
13 
14 
15 namespace sw
16 {
17 
18 
22 {
24 private:
25 
27 
28 protected:
29  ~MockRasterizerState() = default;
30 public:
31  explicit MockRasterizerState ( const RasterizerStateInfo& info );
32 
33 
34  // Inherited via RasterizerState
35  virtual std::string GetResourceName () const override;
36  virtual const RasterizerStateInfo& GetDescriptor () override;
37 
38  static MockRasterizerState* Create ( const RasterizerStateInfo& info );
39 };
40 
41 
45 {
47 private:
48 
50 
51 protected:
52  ~MockDepthStencilState() = default;
53 public:
54  explicit MockDepthStencilState ( const DepthStencilInfo& info );
55 
56 
57  // Inherited via DepthStencilState
58  virtual std::string GetResourceName () const override;
59  virtual const DepthStencilInfo& GetDescriptor () override;
60 
61  static MockDepthStencilState* Create ( const DepthStencilInfo& info );
62 };
63 
64 
65 
69 {
71 private:
72 
74 
75 protected:
76  ~MockBlendingState() = default;
77 public:
78  explicit MockBlendingState ( const BlendingInfo& info );
79 
80 
81  // Inherited via BlendingState
82  virtual std::string GetResourceName () const override;
83  virtual const BlendingInfo& GetDescriptor () override;
84 
85  static MockBlendingState* Create ( const BlendingInfo& info );
86 };
87 
88 } // sw
Definition: DepthStencilState.h:45
RasterizerStateInfo m_info
Definition: MockPipelineState.h:26
static MockDepthStencilState * Create(const DepthStencilInfo &info)
Definition: MockPipelineState.cpp:77
DepthStencilInfo m_info
Definition: MockPipelineState.h:49
RTTR_ENABLE(RasterizerState)
Definition: RasterizerState.h:20
static MockRasterizerState * Create(const RasterizerStateInfo &info)
Definition: MockPipelineState.cpp:46
MockRasterizerState(const RasterizerStateInfo &info)
Definition: MockPipelineState.cpp:26
Definition: DirectInputModule.cpp:11
Definition: MockPipelineState.h:44
Definition: MockPipelineState.h:21
virtual const RasterizerStateInfo & GetDescriptor() override
Definition: MockPipelineState.cpp:39
BlendingInfo m_info
Definition: MockPipelineState.h:73
RTTR_ENABLE(DepthStencilState)
RTTR_ENABLE(BlendingState)
Initialization of BlendingState.
Definition: BlendingState.h:20
static MockBlendingState * Create(const BlendingInfo &info)
Definition: MockPipelineState.cpp:106
~MockBlendingState()=default
virtual std::string GetResourceName() const override
Zwraca nazwę zasobu. To może być nazwa pliku, na podstawie którego stworzono zasób, ale zasadniczo interpretacja jest dowolna.
Definition: MockPipelineState.cpp:32
virtual const BlendingInfo & GetDescriptor() override
Definition: MockPipelineState.cpp:101
MockDepthStencilState(const DepthStencilInfo &info)
Definition: MockPipelineState.cpp:57
virtual std::string GetResourceName() const override
Zwraca nazwę zasobu. To może być nazwa pliku, na podstawie którego stworzono zasób, ale zasadniczo interpretacja jest dowolna.
Definition: MockPipelineState.cpp:94
Definition: MockPipelineState.h:68
~MockRasterizerState()=default
Definition: DepthStencilState.h:17
MockBlendingState(const BlendingInfo &info)
Definition: MockPipelineState.cpp:88
Rasterizer state and depth stencil state.
Definition: RasterizerState.h:67
Definition: BlendingState.h:72
virtual const DepthStencilInfo & GetDescriptor() override
Definition: MockPipelineState.cpp:70
virtual std::string GetResourceName() const override
Zwraca nazwę zasobu. To może być nazwa pliku, na podstawie którego stworzono zasób, ale zasadniczo interpretacja jest dowolna.
Definition: MockPipelineState.cpp:63