Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
gte::DX11IndexBuffer Class Reference

#include <GteDX11IndexBuffer.h>

Inheritance diagram for gte::DX11IndexBuffer:
Inheritance graph
[legend]

Public Member Functions

void Disable (ID3D11DeviceContext *context)
 
 DX11IndexBuffer (ID3D11Device *device, IndexBuffer const *vbuffer)
 
void Enable (ID3D11DeviceContext *context)
 
IndexBufferGetIndexBuffer () const
 
- Public Member Functions inherited from gte::DX11Buffer
virtual bool CopyCpuToGpu (ID3D11DeviceContext *context) override
 
virtual bool CopyGpuToCpu (ID3D11DeviceContext *context) override
 
virtual void CopyGpuToGpu (ID3D11DeviceContext *context, ID3D11Resource *target) override
 
BufferGetBuffer () const
 
ID3D11Buffer * GetDXBuffer () const
 
virtual bool Update (ID3D11DeviceContext *context) override
 
- Public Member Functions inherited from gte::DX11Resource
ID3D11Resource * GetDXResource () const
 
ResourceGetResource () 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 ~DX11Resource ()
 
- Public Member Functions inherited from gte::DX11GraphicsObject
ID3D11DeviceChild * GetDXDeviceChild () const
 
virtual ~DX11GraphicsObject ()
 
- Public Member Functions inherited from gte::GEObject
GraphicsObjectGetGraphicsObject () const
 
std::string const & GetName () const
 
virtual ~GEObject ()
 

Static Public Member Functions

static std::shared_ptr< GEObjectCreate (void *device, GraphicsObject const *object)
 

Private Attributes

DXGI_FORMAT mFormat
 

Additional Inherited Members

- Protected Member Functions inherited from gte::DX11Buffer
void CreateStaging (ID3D11Device *device, D3D11_BUFFER_DESC const &bf)
 
 DX11Buffer (Buffer const *buffer)
 
- Protected Member Functions inherited from gte::DX11Resource
 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 inherited from gte::DX11Buffer
D3D11_MAP mUpdateMapMode
 
- Protected Attributes inherited from gte::DX11Resource
ID3D11Resource * mStaging
 
- Protected Attributes inherited from gte::DX11GraphicsObject
ID3D11DeviceChild * mDXObject
 
- Protected Attributes inherited from gte::GEObject
GraphicsObjectmGTObject
 
std::string mName
 
- Static Protected Attributes inherited from gte::DX11Resource
static UINT const msStagingAccess []
 

Detailed Description

Definition at line 16 of file GteDX11IndexBuffer.h.

Constructor & Destructor Documentation

DX11IndexBuffer::DX11IndexBuffer ( ID3D11Device *  device,
IndexBuffer const *  vbuffer 
)

Definition at line 12 of file GteDX11IndexBuffer.cpp.

Member Function Documentation

std::shared_ptr< GEObject > DX11IndexBuffer::Create ( void device,
GraphicsObject const *  object 
)
static

Definition at line 66 of file GteDX11IndexBuffer.cpp.

void DX11IndexBuffer::Disable ( ID3D11DeviceContext *  context)

Definition at line 88 of file GteDX11IndexBuffer.cpp.

void DX11IndexBuffer::Enable ( ID3D11DeviceContext *  context)

Definition at line 79 of file GteDX11IndexBuffer.cpp.

IndexBuffer * gte::DX11IndexBuffer::GetIndexBuffer ( ) const
inline

Definition at line 34 of file GteDX11IndexBuffer.h.

Member Data Documentation

DXGI_FORMAT gte::DX11IndexBuffer::mFormat
private

Definition at line 31 of file GteDX11IndexBuffer.h.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:05