#include <GteDX11Resource.h>
Public Member Functions | |
virtual bool | CopyCpuToGpu (ID3D11DeviceContext *context, unsigned int sri)=0 |
virtual bool | CopyCpuToGpu (ID3D11DeviceContext *context)=0 |
virtual bool | CopyGpuToCpu (ID3D11DeviceContext *context, unsigned int sri)=0 |
virtual bool | CopyGpuToCpu (ID3D11DeviceContext *context)=0 |
virtual void | CopyGpuToGpu (ID3D11DeviceContext *context, ID3D11Resource *target, unsigned int sri)=0 |
virtual void | CopyGpuToGpu (ID3D11DeviceContext *context, ID3D11Resource *target)=0 |
ID3D11Resource * | GetDXResource () const |
Resource * | GetResource () const |
ID3D11Resource * | GetStagingResource () const |
D3D11_MAPPED_SUBRESOURCE | MapForWrite (ID3D11DeviceContext *context, unsigned int sri) |
virtual void | SetName (std::string const &name) override |
void | Unmap (ID3D11DeviceContext *context, unsigned int sri) |
virtual bool | Update (ID3D11DeviceContext *context, unsigned int sri)=0 |
virtual bool | Update (ID3D11DeviceContext *context)=0 |
virtual | ~DX11Resource () |
Public Member Functions inherited from gte::DX11GraphicsObject | |
ID3D11DeviceChild * | GetDXDeviceChild () const |
virtual | ~DX11GraphicsObject () |
Public Member Functions inherited from gte::GEObject | |
GraphicsObject * | GetGraphicsObject () const |
std::string const & | GetName () const |
virtual | ~GEObject () |
Protected Member Functions | |
DX11Resource (Resource const *gtResource) | |
bool | PreparedForCopy (D3D11_CPU_ACCESS_FLAG access) const |
Protected Member Functions inherited from gte::DX11GraphicsObject | |
DX11GraphicsObject (GraphicsObject const *gtObject) | |
Protected Member Functions inherited from gte::GEObject | |
GEObject (GraphicsObject const *gtObject) | |
Protected Attributes | |
ID3D11Resource * | mStaging |
Protected Attributes inherited from gte::DX11GraphicsObject | |
ID3D11DeviceChild * | mDXObject |
Protected Attributes inherited from gte::GEObject | |
GraphicsObject * | mGTObject |
std::string | mName |
Static Protected Attributes | |
static UINT const | msStagingAccess [] |
Definition at line 16 of file GteDX11Resource.h.
|
virtual |
Definition at line 12 of file GteDX11Resource.cpp.
|
protected |
Definition at line 17 of file GteDX11Resource.cpp.
|
pure virtual |
Implemented in gte::DX11Buffer, and gte::DX11Texture.
|
pure virtual |
Implemented in gte::DX11Texture, and gte::DX11Buffer.
|
pure virtual |
Implemented in gte::DX11Buffer, and gte::DX11Texture.
|
pure virtual |
Implemented in gte::DX11Texture, gte::DX11StructuredBuffer, and gte::DX11Buffer.
|
pure virtual |
Implemented in gte::DX11Buffer, and gte::DX11Texture.
|
pure virtual |
Implemented in gte::DX11Texture, and gte::DX11Buffer.
|
inline |
Definition at line 80 of file GteDX11Resource.h.
|
inline |
Definition at line 75 of file GteDX11Resource.h.
|
inline |
Definition at line 85 of file GteDX11Resource.h.
D3D11_MAPPED_SUBRESOURCE DX11Resource::MapForWrite | ( | ID3D11DeviceContext * | context, |
unsigned int | sri | ||
) |
Definition at line 27 of file GteDX11Resource.cpp.
|
protected |
Definition at line 52 of file GteDX11Resource.cpp.
|
overridevirtual |
Reimplemented from gte::DX11GraphicsObject.
Reimplemented in gte::DX11Texture, gte::DX11StructuredBuffer, gte::DX11RawBuffer, gte::DX11TextureBuffer, gte::DX11TextureDS, and gte::DX11TextureRT.
Definition at line 45 of file GteDX11Resource.cpp.
Definition at line 40 of file GteDX11Resource.cpp.
|
pure virtual |
Implemented in gte::DX11Buffer, and gte::DX11Texture.
|
pure virtual |
Implemented in gte::DX11Texture, and gte::DX11Buffer.
|
staticprotected |
Definition at line 72 of file GteDX11Resource.h.
|
protected |
Definition at line 69 of file GteDX11Resource.h.