MythTV master
mythdebugvulkan.h
Go to the documentation of this file.
1#ifndef MYTHDEBUGVULKAN_H
2#define MYTHDEBUGVULKAN_H
3
4// MythTV
7
9{
10 public:
11 static const MythVulkan4F kDebugRed;
16
18
19 void BeginRegion (VkCommandBuffer CmdBuffer, const char* Name, MythVulkan4F Color);
20 void EndRegion (VkCommandBuffer CmdBuffer);
21 void NameObject (uint64_t Object, VkDebugReportObjectTypeEXT Type, const char *Name);
22
23 protected:
25
26 private:
27 PFN_vkCmdDebugMarkerBeginEXT m_beginRegion { nullptr };
28 PFN_vkCmdDebugMarkerEndEXT m_endRegion { nullptr };
29 PFN_vkDebugMarkerSetObjectNameEXT m_nameObject { nullptr };
30};
31
32#endif
static const MythVulkan4F kDebugRed
static const MythVulkan4F kDebugBlack
static const MythVulkan4F kDebugGreen
static const MythVulkan4F kDebugBlue
static const MythVulkan4F kDebugGray
static MythVulkanObject * Create(MythRenderVulkan *Render)
std::array< float, 4 > MythVulkan4F
#define MUI_PUBLIC
Definition: mythuiexp.h:9
Definition: graphic.h:7