Sleeping Wombat GUI  0.100
swGUI
MockComputeShader.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 
6 
7 namespace sw
8 {
9 
10 
14 {
16 private:
17 protected:
19 public:
20  explicit MockComputeShader ();
21 
22 
23  virtual bool ReloadFromFile () override;
24  virtual bool ReloadFromBinFile () override;
25  virtual void SaveShaderBinFile ( const std::wstring& fileName ) override;
26 
27  static MockComputeShader* CreateFromFile ( const std::wstring& fileName, const std::string& shaderName, const char* shaderModel = "cs_4_0" );
28  static MockComputeShader* CreateFromBinFile ( const std::wstring& fileName );
29 };
30 
31 } // sw
virtual void SaveShaderBinFile(const std::wstring &fileName) override
Definition: MockComputeShader.cpp:48
Definition: DirectInputModule.cpp:11
Definition: MockComputeShader.h:13
RTTR_ENABLE(ComputeShader)
static MockComputeShader * CreateFromFile(const std::wstring &fileName, const std::string &shaderName, const char *shaderModel="cs_4_0")
Definition: MockComputeShader.cpp:55
Plik zawiera deklaracje formatów wierzchołków oraz klas zawierających assety shadery itp...
static MockComputeShader * CreateFromBinFile(const std::wstring &fileName)
Definition: MockComputeShader.cpp:61
Klasa przechowująca compute shader.
Definition: MeshResources.h:492
MockComputeShader()
Definition: MockComputeShader.cpp:24
virtual bool ReloadFromFile() override
Definition: MockComputeShader.cpp:34
virtual bool ReloadFromBinFile() override
Definition: MockComputeShader.cpp:41
~MockComputeShader()
Definition: MockComputeShader.cpp:29