24 inline Buffer* GetBuffer()
const;
25 inline ID3D11Buffer* GetDXBuffer()
const;
29 virtual bool Update(ID3D11DeviceContext* context)
override;
30 virtual bool CopyCpuToGpu(ID3D11DeviceContext* context)
override;
31 virtual bool CopyGpuToCpu(ID3D11DeviceContext* context)
override;
35 virtual void CopyGpuToGpu(ID3D11DeviceContext* context, ID3D11Resource*
target)
override;
39 virtual bool Update(ID3D11DeviceContext* context,
unsigned int sri)
override;
40 virtual bool CopyCpuToGpu(ID3D11DeviceContext* context,
unsigned int sri)
override;
41 virtual bool CopyGpuToCpu(ID3D11DeviceContext* context,
unsigned int sri)
override;
42 virtual void CopyGpuToGpu(ID3D11DeviceContext* context, ID3D11Resource* target,
unsigned int sri)
override;
46 void CreateStaging(ID3D11Device* device, D3D11_BUFFER_DESC
const& bf);
71 return static_cast<Buffer*
>(mGTObject);
76 return static_cast<ID3D11Buffer*
>(mDXObject);
ID3D11Buffer * GetDXBuffer() const
Buffer * GetBuffer() const