Plasma Engine  2.0
Loading...
Searching...
No Matches
plGALBufferDX11 Class Reference
Inheritance diagram for plGALBufferDX11:

Public Member Functions

ID3D11Buffer * GetDXBuffer () const
 
DXGI_FORMAT GetIndexFormat () const
 
- Public Member Functions inherited from plGALBuffer
PL_ALWAYS_INLINE plUInt32 GetSize () const
 
- Public Member Functions inherited from plGALResource< plGALBufferCreationDescription >
PL_ALWAYS_INLINE plGALResource (const plGALBufferCreationDescription &description)
 
PL_ALWAYS_INLINE const plGALBufferCreationDescriptionGetDescription () const
 
- Public Member Functions inherited from plGALResourceBase
void SetDebugName (const char *szName) const
 
virtual const plGALResourceBaseGetParentResource () const
 
- Public Member Functions inherited from plRefCounted
virtual ~plRefCounted ()=default
 Adds a virtual destructor.
 
- Public Member Functions inherited from plRefCountingImpl
 plRefCountingImpl ()=default
 Constructor.
 
 plRefCountingImpl (const plRefCountingImpl &rhs)
 
void operator= (const plRefCountingImpl &rhs)
 
plInt32 AddRef () const
 Increments the reference counter. Returns the new reference count.
 
plInt32 ReleaseRef () const
 Decrements the reference counter. Returns the new reference count.
 
bool IsReferenced () const
 Returns true if the reference count is greater than 0, false otherwise.
 
plInt32 GetRefCount () const
 Returns the current reference count.
 

Protected Member Functions

 plGALBufferDX11 (const plGALBufferCreationDescription &Description)
 
virtual plResult InitPlatform (plGALDevice *pDevice, plArrayPtr< const plUInt8 > pInitialData) override
 
virtual plResult DeInitPlatform (plGALDevice *pDevice) override
 
virtual void SetDebugNamePlatform (const char *szName) const override
 
- Protected Member Functions inherited from plGALBuffer
 plGALBuffer (const plGALBufferCreationDescription &Description)
 

Protected Attributes

ID3D11Buffer * m_pDXBuffer = nullptr
 
DXGI_FORMAT m_IndexFormat = DXGI_FORMAT_UNKNOWN
 
- Protected Attributes inherited from plGALBuffer
plGALBufferResourceViewHandle m_hDefaultResourceView
 
plHashTable< plUInt32, plGALBufferResourceViewHandlem_ResourceViews
 
plHashTable< plUInt32, plGALBufferUnorderedAccessViewHandlem_UnorderedAccessViews
 
- Protected Attributes inherited from plGALResource< plGALBufferCreationDescription >
const plGALBufferCreationDescription m_Description
 

Friends

class plGALDeviceDX11
 
class plMemoryUtils
 

Member Function Documentation

◆ DeInitPlatform()

plResult plGALBufferDX11::DeInitPlatform ( plGALDevice * pDevice)
overrideprotectedvirtual

Implements plGALBuffer.

◆ InitPlatform()

plResult plGALBufferDX11::InitPlatform ( plGALDevice * pDevice,
plArrayPtr< const plUInt8 > pInitialData )
overrideprotectedvirtual

Implements plGALBuffer.

◆ SetDebugNamePlatform()

void plGALBufferDX11::SetDebugNamePlatform ( const char * szName) const
overrideprotectedvirtual

Implements plGALResourceBase.


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