22 static std::shared_ptr<GEObject> Create(
void* device,
GraphicsObject const*
object);
27 inline ID3D11ShaderResourceView* GetSRView()
const;
28 inline ID3D11UnorderedAccessView* GetUAView()
const;
29 inline ID3D11Buffer* GetCounterStagingBuffer()
const;
32 virtual bool CopyGpuToCpu(ID3D11DeviceContext* context);
38 bool GetNumActiveElements(ID3D11DeviceContext* context);
46 void CreateSRView(ID3D11Device* device);
47 void CreateUAView(ID3D11Device* device);
48 void CreateCounterStaging(ID3D11Device* device);
55 static unsigned int const msUAVFlag[];
75 return mCounterStaging;
StructuredBuffer * GetStructuredBuffer() const
ID3D11Buffer * mCounterStaging
ID3D11UnorderedAccessView * mUAView
ID3D11UnorderedAccessView * GetUAView() const
GLuint const GLchar * name
GLsizei const GLchar *const * string
ID3D11ShaderResourceView * mSRView
ID3D11ShaderResourceView * GetSRView() const
ID3D11Buffer * GetCounterStagingBuffer() const