Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::BufferWebGPUImpl Class Referencefinal

Buffer implementation in WebGPU backend. More...

#include <BufferWebGPUImpl.hpp>

Inheritance diagram for Diligent::BufferWebGPUImpl:
Diligent::BufferBase< EngineWebGPUImplTraits > Diligent::WebGPUResourceBase Diligent::DeviceObjectBase< BaseInterface, RenderDeviceImplType, ObjectDescType > Diligent::ObjectBase< BaseInterface > Diligent::RefCountedObject< BaseInterface >

Public Member Functions

Uint64 DILIGENT_CALL_TYPE GetNativeHandle () override final
 Implementation of IBuffer::GetNativeHandle().
 
SparseBufferProperties DILIGENT_CALL_TYPE GetSparseProperties () const override final
 Implementation of IBuffer::GetSparseProperties().
 
WGPUBuffer DILIGENT_CALL_TYPE GetWebGPUBuffer () const override final
 Implementation of IBufferWebGPU::GetWebGPUBuffer().
 
- Public Member Functions inherited from Diligent::BufferBase< EngineWebGPUImplTraits >
 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.
 
- Public Member Functions inherited from Diligent::DeviceObjectBase< BaseInterface, RenderDeviceImplType, ObjectDescType >
 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

- Protected Member Functions inherited from Diligent::BufferBase< EngineWebGPUImplTraits >
virtual void CreateViewInternal (const struct BufferViewDesc &ViewDesc, IBufferView **ppView, bool bIsDefaultView)=0
 Pure virtual function that creates buffer view for the specific engine implementation.
 
virtual void CreateViewInternal (const struct BufferViewDesc &ViewDesc, IBufferView **ppView, bool bIsDefaultView)=0
 Pure virtual function that creates buffer view for the specific engine implementation.
 
- Protected Attributes inherited from Diligent::BufferBase< EngineWebGPUImplTraits >
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.
 
- Protected Attributes inherited from Diligent::DeviceObjectBase< BaseInterface, RenderDeviceImplType, ObjectDescType >
RenderDeviceImplType *const m_pDevice
 Pointer to the device.
 
ObjectDescType m_Desc
 Object description.
 

Detailed Description

Buffer implementation in WebGPU backend.