Plasma Engine  2.0
Loading...
Searching...
No Matches
BufferVulkan_inl.h
1
2vk::Buffer plGALBufferVulkan::GetVkBuffer() const
3{
4 m_currentBuffer.m_currentFrame = m_pDeviceVulkan->GetCurrentFrame();
5 return m_currentBuffer.m_buffer;
6}
7
8vk::IndexType plGALBufferVulkan::GetIndexType() const
9{
10 return m_indexType;
11}
12
13plVulkanAllocation plGALBufferVulkan::GetAllocation() const
14{
15 return m_currentBuffer.m_alloc;
16}
17
18const plVulkanAllocationInfo& plGALBufferVulkan::GetAllocationInfo() const
19{
20 return m_allocInfo;
21}
22
23vk::PipelineStageFlags plGALBufferVulkan::GetUsedByPipelineStage() const
24{
25 return m_stages;
26}
27
28vk::AccessFlags plGALBufferVulkan::GetAccessMask() const
29{
30 return m_access;
31}
plUInt64 GetCurrentFrame() const
The current rendering frame. This is a monotonically increasing number which changes +1 every time En...
Definition Device_inl.h:12
Subset of VmaAllocationInfo. Duplicated for abstraction purposes.
Definition MemoryAllocatorVulkan.h:78