MythTV
master
mythtv
libs
libmythui
vulkan
mythindexbuffervulkan.h
Go to the documentation of this file.
1
#ifndef MYTHINDEXBUFFERVULKAN_H
2
#define MYTHINDEXBUFFERVULKAN_H
3
4
// MythTV
5
#include "
vulkan/mythrendervulkan.h
"
6
7
class
MythIndexBufferVulkan
:
protected
MythVulkanObject
8
{
9
public
:
10
static
MythIndexBufferVulkan
*
Create
(
MythRenderVulkan
*
Render
, VkDevice
Device
,
11
QVulkanDeviceFunctions* Functions,
12
const
std::vector<uint16_t>& Indices);
13
~MythIndexBufferVulkan
();
14
15
VkBuffer
GetBuffer
(
void
)
const
;
16
uint32_t
GetSize
(
void
)
const
;
17
18
protected
:
19
MythIndexBufferVulkan
(
MythRenderVulkan
*
Render
, VkDevice
Device
,
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:32
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:35
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:57
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
Generated on Tue Jan 7 2025 03:18:37 for MythTV by
1.8.17