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
A device containing images (ie. USB stick, CD, storage group etc)
MythIndexBufferVulkan(MythRenderVulkan *Render, VkDevice Device, QVulkanDeviceFunctions *Functions, const std::vector< uint16_t > &Indices)
static MythIndexBufferVulkan * Create(MythRenderVulkan *Render, VkDevice Device, QVulkanDeviceFunctions *Functions, const std::vector< uint16_t > &Indices)
uint32_t GetSize(void) const
VkBuffer GetBuffer(void) const
MythRenderVulkan * Render()