ezEngine Release 25.08
Loading...
Searching...
No Matches
ezGALBufferVulkan Class Reference
Inheritance diagram for ezGALBufferVulkan:

Classes

struct  View
 

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
 
EZ_ALWAYS_INLINE const ezVulkanAllocationInfoGetAllocationInfo () const
 
EZ_ALWAYS_INLINE vk::PipelineStageFlags GetUsedByPipelineStage () const
 
EZ_ALWAYS_INLINE vk::AccessFlags GetAccessMask () const
 
vk::BufferView GetTexelBufferView (ezGALBufferRange bufferRange, ezEnum< ezGALResourceFormat > overrideTexelBufferFormat) const
 
- Public Member Functions inherited from ezGALBuffer
EZ_ALWAYS_INLINE ezUInt32 GetSize () const
 
EZ_ALWAYS_INLINE ezGALBufferRange ClampRange (ezGALBufferRange range) const
 
- Public Member Functions inherited from ezGALResource< ezGALBufferCreationDescription >
EZ_ALWAYS_INLINE ezGALResource (const ezGALBufferCreationDescription &description)
 
EZ_ALWAYS_INLINE const 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 = {}
 
ezHashTable< View, vk::BufferView, Viewm_TexelBufferViews
 
ezString m_sDebugName
 
- Protected Attributes inherited from ezGALResource< ezGALBufferCreationDescription >
const ezGALBufferCreationDescription m_Description
 

Friends

class ezGALDeviceVulkan
 
class ezMemoryUtils
 

Member Function Documentation

◆ DeInitPlatform()

ezResult ezGALBufferVulkan::DeInitPlatform ( ezGALDevice pDevice)
overrideprotectedvirtual

Implements ezGALBuffer.

◆ InitPlatform()

ezResult ezGALBufferVulkan::InitPlatform ( ezGALDevice pDevice,
ezArrayPtr< const ezUInt8 >  pInitialData 
)
overrideprotectedvirtual

Implements ezGALBuffer.

◆ SetDebugNamePlatform()

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

Implements ezGALResourceBase.


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