MythTV  master
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Attributes | List of all members
MythIndexBufferVulkan Class Reference

#include <mythindexbuffervulkan.h>

Inheritance diagram for MythIndexBufferVulkan:
Inheritance graph
[legend]
Collaboration diagram for MythIndexBufferVulkan:
Collaboration graph
[legend]

Public Member Functions

 ~MythIndexBufferVulkan ()
 
VkBuffer GetBuffer (void) const
 
uint32_t GetSize (void) const
 

Static Public Member Functions

static MythIndexBufferVulkanCreate (MythRenderVulkan *Render, VkDevice Device, QVulkanDeviceFunctions *Functions, const std::vector< uint16_t > &Indices)
 

Protected Member Functions

 MythIndexBufferVulkan (MythRenderVulkan *Render, VkDevice Device, QVulkanDeviceFunctions *Functions, const std::vector< uint16_t > &Indices)
 
- Protected Member Functions inherited from MythVulkanObject
void CheckValid ()
 
 MythVulkanObject (MythRenderVulkan *Render)
 
 MythVulkanObject (MythVulkanObject *Other)
 
bool IsValidVulkan () const
 
MythRenderVulkanRender ()
 
VkDevice Device ()
 
QVulkanDeviceFunctions * Funcs ()
 
MythWindowVulkanWindow ()
 

Private Attributes

uint32_t m_size { 0 }
 
VkBuffer m_buffer { nullptr }
 
VkDeviceMemory m_memory { nullptr }
 

Additional Inherited Members

- Static Protected Member Functions inherited from MythVulkanObject
static MythVulkanObjectCreate (MythRenderVulkan *Render)
 
- Protected Attributes inherited from MythVulkanObject
bool m_vulkanValid { true }
 
MythRenderVulkanm_vulkanRender { nullptr }
 
VkDevice m_vulkanDevice { nullptr }
 
QVulkanDeviceFunctions * m_vulkanFuncs { nullptr }
 
MythWindowVulkanm_vulkanWindow { nullptr }
 

Detailed Description

Definition at line 7 of file mythindexbuffervulkan.h.

Constructor & Destructor Documentation

◆ ~MythIndexBufferVulkan()

MythIndexBufferVulkan::~MythIndexBufferVulkan ( )

Definition at line 48 of file mythindexbuffervulkan.cpp.

◆ MythIndexBufferVulkan()

MythIndexBufferVulkan::MythIndexBufferVulkan ( MythRenderVulkan Render,
VkDevice  Device,
QVulkanDeviceFunctions *  Functions,
const std::vector< uint16_t > &  Indices 
)
protected

Definition at line 17 of file mythindexbuffervulkan.cpp.

Referenced by Create().

Member Function Documentation

◆ Create()

MythIndexBufferVulkan * MythIndexBufferVulkan::Create ( MythRenderVulkan Render,
VkDevice  Device,
QVulkanDeviceFunctions *  Functions,
const std::vector< uint16_t > &  Indices 
)
static

Definition at line 4 of file mythindexbuffervulkan.cpp.

◆ GetBuffer()

VkBuffer MythIndexBufferVulkan::GetBuffer ( void  ) const

Definition at line 57 of file mythindexbuffervulkan.cpp.

◆ GetSize()

uint32_t MythIndexBufferVulkan::GetSize ( void  ) const

Definition at line 62 of file mythindexbuffervulkan.cpp.

Member Data Documentation

◆ m_size

uint32_t MythIndexBufferVulkan::m_size { 0 }
private

Definition at line 24 of file mythindexbuffervulkan.h.

Referenced by GetSize(), and MythIndexBufferVulkan().

◆ m_buffer

VkBuffer MythIndexBufferVulkan::m_buffer { nullptr }
private

◆ m_memory

VkDeviceMemory MythIndexBufferVulkan::m_memory { nullptr }
private

Definition at line 26 of file mythindexbuffervulkan.h.

Referenced by MythIndexBufferVulkan(), and ~MythIndexBufferVulkan().


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