27 inline Texture* GetTexture()
const;
28 inline ID3D11ShaderResourceView* GetSRView()
const;
29 inline ID3D11UnorderedAccessView* GetUAView()
const;
32 virtual bool Update(ID3D11DeviceContext* context,
unsigned int sri)
override;
33 virtual bool Update(ID3D11DeviceContext* context)
override;
34 virtual bool CopyCpuToGpu(ID3D11DeviceContext* context,
unsigned int sri)
override;
35 virtual bool CopyCpuToGpu(ID3D11DeviceContext* context)
override;
36 virtual bool CopyGpuToCpu(ID3D11DeviceContext* context,
unsigned int sri)
override;
37 virtual bool CopyGpuToCpu(ID3D11DeviceContext* context)
override;
38 virtual void CopyGpuToGpu(ID3D11DeviceContext* context,
39 ID3D11Resource*
target,
unsigned int sri)
override;
40 virtual void CopyGpuToGpu(ID3D11DeviceContext* context,
41 ID3D11Resource* target)
override;
50 static void CopyPitched2(
unsigned int numRows,
unsigned int srcRowPitch,
51 void const* srcData,
unsigned int trgRowPitch,
void* trgData);
53 static void CopyPitched3(
unsigned int numRows,
unsigned int numSlices,
54 unsigned int srcRowPitch,
unsigned int srcSlicePitch,
55 void const* srcData,
unsigned int trgRowPitch,
56 unsigned int trgSlicePitch,
void* trgData);
64 return static_cast<Texture*
>(mGTObject);
ID3D11UnorderedAccessView * GetUAView() const
GLuint const GLchar * name
ID3D11UnorderedAccessView * mUAView
GLsizei const GLchar *const * string
ID3D11ShaderResourceView * GetSRView() const
Texture * GetTexture() const
ID3D11ShaderResourceView * mSRView