Buffer object implementation in Direct3D12 backend. More...
#include <BufferD3D12Impl.hpp>
Public Member Functions | |
virtual ID3D12Resource *DILIGENT_CALL_TYPE | GetD3D12Buffer (Uint64 &DataStartByteOffset, IDeviceContext *pContext) override final |
Implementation of IBufferD3D12::GetD3D12Buffer(). | |
virtual Uint64 DILIGENT_CALL_TYPE | GetNativeHandle () override final |
Implementation of IBuffer::GetNativeHandle(). | |
virtual void DILIGENT_CALL_TYPE | SetD3D12ResourceState (D3D12_RESOURCE_STATES state) override final |
Implementation of IBufferD3D12::SetD3D12ResourceState(). | |
virtual D3D12_RESOURCE_STATES DILIGENT_CALL_TYPE | GetD3D12ResourceState () const override final |
Implementation of IBufferD3D12::GetD3D12ResourceState(). | |
virtual SparseBufferProperties DILIGENT_CALL_TYPE | GetSparseProperties () const override final |
Implementation of IBuffer::GetSparseProperties(). | |
![]() | |
BufferBase (IReferenceCounters *pRefCounters, TBuffViewObjAllocator &BuffViewObjAllocator, RenderDeviceImplType *pDevice, const BufferDesc &BuffDesc, bool bIsDeviceInternal) | |
virtual void DILIGENT_CALL_TYPE | CreateView (const struct BufferViewDesc &ViewDesc, IBufferView **ppView) override |
virtual IBufferView *DILIGENT_CALL_TYPE | GetDefaultView (BUFFER_VIEW_TYPE ViewType) override |
Implementation of IBuffer::GetDefaultView(). | |
void | CreateDefaultViews () |
Creates default buffer views. | |
BufferBase (IReferenceCounters *pRefCounters, TBuffViewObjAllocator &BuffViewObjAllocator, RenderDeviceImplType *pDevice, const BufferDesc &BuffDesc, bool bIsDeviceInternal) | |
virtual void DILIGENT_CALL_TYPE | CreateView (const struct BufferViewDesc &ViewDesc, IBufferView **ppView) override |
virtual IBufferView *DILIGENT_CALL_TYPE | GetDefaultView (BUFFER_VIEW_TYPE ViewType) override |
Implementation of IBuffer::GetDefaultView(). | |
void | CreateDefaultViews () |
Creates default buffer views. | |
![]() | |
DeviceObjectBase (IReferenceCounters *pRefCounters, RenderDeviceImplType *pDevice, const ObjectDescType &ObjDesc, bool bIsDeviceInternal=false) | |
virtual Int32 DILIGENT_CALL_TYPE | GetUniqueID () const override final |
Returns unique identifier. | |
virtual void DILIGENT_CALL_TYPE | SetUserData (IObject *pUserData) override final |
Implementation of IDeviceObject::SetUserData. | |
virtual IObject *DILIGENT_CALL_TYPE | GetUserData () const override final |
Implementation of IDeviceObject::GetUserData. | |
Additional Inherited Members | |
![]() | |
std::unique_ptr< BufferViewImplType, STDDeleter< BufferViewImplType, TBuffViewObjAllocator > > | m_pDefaultUAV |
Default UAV addressing the entire buffer. | |
std::unique_ptr< BufferViewImplType, STDDeleter< BufferViewImplType, TBuffViewObjAllocator > > | m_pDefaultSRV |
Default SRV addressing the entire buffer. | |
std::unique_ptr< BufferViewImplType, STDDeleter< BufferViewImplType, TBuffViewObjAllocator > > | m_pDefaultUAV |
Default UAV addressing the entire buffer. | |
std::unique_ptr< BufferViewImplType, STDDeleter< BufferViewImplType, TBuffViewObjAllocator > > | m_pDefaultSRV |
Default SRV addressing the entire buffer. | |
![]() | |
RenderDeviceImplType *const | m_pDevice |
Pointer to the device. | |
ObjectDescType | m_Desc |
Object description. | |
![]() | |
CComPtr< ID3D12Resource > | m_pd3d12Resource |
D3D12 resource object. | |
Buffer object implementation in Direct3D12 backend.