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

#include <mythdebugvulkan.h>

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

Public Member Functions

void BeginRegion (VkCommandBuffer CmdBuffer, const char *Name, MythVulkan4F Color)
 
void EndRegion (VkCommandBuffer CmdBuffer)
 
void NameObject (uint64_t Object, VkDebugReportObjectTypeEXT Type, const char *Name)
 

Static Public Member Functions

static MythDebugVulkanCreate (MythVulkanObject *Vulkan)
 

Static Public Attributes

static const MythVulkan4F kDebugRed { 1.0, 0.0, 0.0, 1.0 }
 
static const MythVulkan4F kDebugGreen { 0.0, 1.0, 0.0, 1.0 }
 
static const MythVulkan4F kDebugBlue { 0.0, 0.0, 1.0, 1.0 }
 
static const MythVulkan4F kDebugGray { 0.5, 0.5, 0.5, 1.0 }
 
static const MythVulkan4F kDebugBlack { 0.0, 0.0, 0.0, 1.0 }
 

Protected Member Functions

 MythDebugVulkan (MythVulkanObject *Vulkan)
 
- 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

PFN_vkCmdDebugMarkerBeginEXT m_beginRegion { nullptr }
 
PFN_vkCmdDebugMarkerEndEXT m_endRegion { nullptr }
 
PFN_vkDebugMarkerSetObjectNameEXT m_nameObject { 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 8 of file mythdebugvulkan.h.

Constructor & Destructor Documentation

◆ MythDebugVulkan()

MythDebugVulkan::MythDebugVulkan ( MythVulkanObject Vulkan)
protected

Definition at line 25 of file mythdebugvulkan.cpp.

Referenced by Create().

Member Function Documentation

◆ Create()

MythDebugVulkan * MythDebugVulkan::Create ( MythVulkanObject Vulkan)
static

Definition at line 14 of file mythdebugvulkan.cpp.

Referenced by MythRenderVulkan::initResources().

◆ BeginRegion()

void MythDebugVulkan::BeginRegion ( VkCommandBuffer  CmdBuffer,
const char *  Name,
MythVulkan4F  Color 
)

Definition at line 51 of file mythdebugvulkan.cpp.

Referenced by MythRenderVulkan::BeginDebugRegion().

◆ EndRegion()

void MythDebugVulkan::EndRegion ( VkCommandBuffer  CmdBuffer)

Definition at line 59 of file mythdebugvulkan.cpp.

Referenced by MythRenderVulkan::EndDebugRegion().

◆ NameObject()

void MythDebugVulkan::NameObject ( uint64_t  Object,
VkDebugReportObjectTypeEXT  Type,
const char *  Name 
)

Definition at line 64 of file mythdebugvulkan.cpp.

Member Data Documentation

◆ kDebugRed

const MythVulkan4F MythDebugVulkan::kDebugRed { 1.0, 0.0, 0.0, 1.0 }
static

Definition at line 11 of file mythdebugvulkan.h.

◆ kDebugGreen

const MythVulkan4F MythDebugVulkan::kDebugGreen { 0.0, 1.0, 0.0, 1.0 }
static

Definition at line 12 of file mythdebugvulkan.h.

Referenced by MythPainterVulkan::End().

◆ kDebugBlue

const MythVulkan4F MythDebugVulkan::kDebugBlue { 0.0, 0.0, 1.0, 1.0 }
static

◆ kDebugGray

const MythVulkan4F MythDebugVulkan::kDebugGray { 0.5, 0.5, 0.5, 1.0 }
static

Definition at line 14 of file mythdebugvulkan.h.

◆ kDebugBlack

const MythVulkan4F MythDebugVulkan::kDebugBlack { 0.0, 0.0, 0.0, 1.0 }
static

Definition at line 15 of file mythdebugvulkan.h.

◆ m_beginRegion

PFN_vkCmdDebugMarkerBeginEXT MythDebugVulkan::m_beginRegion { nullptr }
private

Definition at line 27 of file mythdebugvulkan.h.

Referenced by BeginRegion(), and MythDebugVulkan().

◆ m_endRegion

PFN_vkCmdDebugMarkerEndEXT MythDebugVulkan::m_endRegion { nullptr }
private

Definition at line 28 of file mythdebugvulkan.h.

Referenced by EndRegion(), and MythDebugVulkan().

◆ m_nameObject

PFN_vkDebugMarkerSetObjectNameEXT MythDebugVulkan::m_nameObject { nullptr }
private

Definition at line 29 of file mythdebugvulkan.h.

Referenced by MythDebugVulkan(), and NameObject().


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