raSystem  1.0 bata
raComputeShaderObject.h
Go to the documentation of this file.
1 #pragma once
2 
4  {
5  protected:
6  raComputeShaderObject(const GUID& raguid, raDirectX *dx, LPCSTR ShaderFileName, LPCSTR FunctionName);
7  public:
8  raComputeShaderObject(raDirectX *dx, LPCSTR ShaderFileName, LPCSTR FunctionName);
9 
10  virtual bool Create();
11  virtual void Destroy();
12 
13  virtual bool RunCS(UINT ThreadGroupCountX,
14  UINT ThreadGroupCountY,
15  UINT ThreadGroupCountZ);
16  protected:
20 
21  ID3D11ComputeShader* m_pCS;
22  };
#define RAPI
Definition: raMain.h:11
ID3D11ComputeShader * m_pCS