MythTV  master
mythindexbuffervulkan.h
Go to the documentation of this file.
1 #ifndef MYTHINDEXBUFFERVULKAN_H
2 #define MYTHINDEXBUFFERVULKAN_H
3 
4 // MythTV
6 
8 {
9  public:
11  QVulkanDeviceFunctions* Functions,
12  const std::vector<uint16_t>& Indices);
14 
15  VkBuffer GetBuffer (void) const;
16  uint32_t GetSize (void) const;
17 
18  protected:
20  QVulkanDeviceFunctions* Functions,
21  const std::vector<uint16_t>& Indices);
22 
23  private:
24  uint32_t m_size { 0 };
25  VkBuffer m_buffer { nullptr };
26  VkDeviceMemory m_memory { nullptr };
27 };
28 
29 #endif // MYTHINDEXBUFFERVULKAN_H
MythIndexBufferVulkan::~MythIndexBufferVulkan
~MythIndexBufferVulkan()
Definition: mythindexbuffervulkan.cpp:48
MythIndexBufferVulkan::GetBuffer
VkBuffer GetBuffer(void) const
Definition: mythindexbuffervulkan.cpp:57
MythVulkanObject
Definition: mythrendervulkan.h:29
MythIndexBufferVulkan::MythIndexBufferVulkan
MythIndexBufferVulkan(MythRenderVulkan *Render, VkDevice Device, QVulkanDeviceFunctions *Functions, const std::vector< uint16_t > &Indices)
Definition: mythindexbuffervulkan.cpp:17
MythIndexBufferVulkan::GetSize
uint32_t GetSize(void) const
Definition: mythindexbuffervulkan.cpp:62
Device
A device containing images (ie. USB stick, CD, storage group etc)
Definition: imagemanager.cpp:33
MythIndexBufferVulkan
Definition: mythindexbuffervulkan.h:7
MythIndexBufferVulkan::Create
static MythIndexBufferVulkan * Create(MythRenderVulkan *Render, VkDevice Device, QVulkanDeviceFunctions *Functions, const std::vector< uint16_t > &Indices)
Definition: mythindexbuffervulkan.cpp:4
MythRenderVulkan
Definition: mythrendervulkan.h:54
MythIndexBufferVulkan::m_memory
VkDeviceMemory m_memory
Definition: mythindexbuffervulkan.h:26
mythrendervulkan.h
MythIndexBufferVulkan::m_size
uint32_t m_size
Definition: mythindexbuffervulkan.h:24
MythVulkanObject::Render
MythRenderVulkan * Render()
Definition: mythrendervulkan.cpp:68
MythIndexBufferVulkan::m_buffer
VkBuffer m_buffer
Definition: mythindexbuffervulkan.h:25