ezEngine  Release 25.03
ezGALBufferVulkan Class Reference
Inheritance diagram for ezGALBufferVulkan:

Public Member Functions

EZ_ALWAYS_INLINE vk::Buffer GetVkBuffer () const
 
const vk::DescriptorBufferInfo & GetBufferInfo () const
 
EZ_ALWAYS_INLINE vk::IndexType GetIndexType () const
 
EZ_ALWAYS_INLINE ezVulkanAllocation GetAllocation () const
 
const EZ_ALWAYS_INLINE ezVulkanAllocationInfoGetAllocationInfo () const
 
EZ_ALWAYS_INLINE vk::PipelineStageFlags GetUsedByPipelineStage () const
 
EZ_ALWAYS_INLINE vk::AccessFlags GetAccessMask () const
 
- Public Member Functions inherited from ezGALBuffer
EZ_ALWAYS_INLINE ezUInt32 GetSize () const
 
- Public Member Functions inherited from ezGALResource< ezGALBufferCreationDescription >
EZ_ALWAYS_INLINE ezGALResource (const ezGALBufferCreationDescription &description)
 
const EZ_ALWAYS_INLINE ezGALBufferCreationDescriptionGetDescription () const
 
- Public Member Functions inherited from ezGALResourceBase
void SetDebugName (const char *szName) const
 
virtual const ezGALResourceBaseGetParentResource () const
 
- Public Member Functions inherited from ezRefCounted
virtual ~ezRefCounted ()=default
 Adds a virtual destructor.
 
- Public Member Functions inherited from ezRefCountingImpl
 ezRefCountingImpl ()=default
 Constructor.
 
 ezRefCountingImpl (const ezRefCountingImpl &rhs)
 
void operator= (const ezRefCountingImpl &rhs)
 
ezInt32 AddRef () const
 Increments the reference counter. Returns the new reference count.
 
ezInt32 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.
 
ezInt32 GetRefCount () const
 Returns the current reference count.
 

Static Public Member Functions

static vk::DeviceSize GetAlignment (const ezGALDeviceVulkan *pDevice, vk::BufferUsageFlags usage)
 

Protected Member Functions

 ezGALBufferVulkan (const ezGALBufferCreationDescription &Description)
 
virtual ezResult InitPlatform (ezGALDevice *pDevice, ezArrayPtr< const ezUInt8 > pInitialData) override
 
virtual ezResult DeInitPlatform (ezGALDevice *pDevice) override
 
virtual void SetDebugNamePlatform (const char *szName) const override
 
void CreateBuffer ()
 
- Protected Member Functions inherited from ezGALBuffer
 ezGALBuffer (const ezGALBufferCreationDescription &Description)
 

Protected Attributes

vk::Buffer m_buffer = {}
 
ezVulkanAllocation m_alloc = {}
 
ezVulkanAllocationInfo m_allocInfo = {}
 
vk::DescriptorBufferInfo m_resourceBufferInfo = {}
 
vk::PipelineStageFlags m_stages = {}
 
vk::AccessFlags m_access = {}
 
vk::IndexType m_indexType = vk::IndexType::eUint16
 
vk::BufferUsageFlags m_usage = {}
 
vk::DeviceSize m_size = 0
 
ezGALDeviceVulkanm_pDeviceVulkan = nullptr
 
vk::Device m_device = {}
 
ezString m_sDebugName
 
- Protected Attributes inherited from ezGALBuffer
ezGALBufferResourceViewHandle m_hDefaultResourceView
 
ezHashTable< ezUInt32, ezGALBufferResourceViewHandlem_ResourceViews
 
ezHashTable< ezUInt32, ezGALBufferUnorderedAccessViewHandlem_UnorderedAccessViews
 
- Protected Attributes inherited from ezGALResource< ezGALBufferCreationDescription >
const ezGALBufferCreationDescription m_Description
 

Friends

class ezGALDeviceVulkan
 
class ezMemoryUtils
 

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