MythTV master
mythvisualvulkan.h
Go to the documentation of this file.
1#ifndef MYTHVISUALVULKAN_H
2#define MYTHVISUALVULKAN_H
3
4// MythTV
6
8
10{
11 public:
13 std::vector<VkDynamicState> Dynamic,
14 std::vector<int> Stages,
15 const MythShaderMap* Sources,
16 const MythBindingMap* Bindings);
17 virtual ~MythVisualVulkan();
18
19 virtual MythRenderVulkan* InitialiseVulkan(QRect /*Area*/);
20 virtual void TearDownVulkan ();
21
22 protected:
28 std::vector<VkDynamicState> m_dynamicState { };
29 std::vector<int> m_shaderStages { };
30 const MythShaderMap* m_shaderSources { nullptr };
31 const MythBindingMap* m_shaderBindings { nullptr };
32};
33#endif
Creates shader objects suitable for use with the Vulkan API.
virtual void TearDownVulkan()
VkDescriptorPool m_descriptorPool
MythVisualVulkan(MythRenderVulkan *Render, std::vector< VkDynamicState > Dynamic, std::vector< int > Stages, const MythShaderMap *Sources, const MythBindingMap *Bindings)
const MythBindingMap * m_shaderBindings
VkPipeline m_pipeline
std::vector< VkDynamicState > m_dynamicState
virtual MythRenderVulkan * InitialiseVulkan(QRect)
MythUniformBufferVulkan * m_projectionUniform
virtual ~MythVisualVulkan()
std::vector< int > m_shaderStages
VkDescriptorSet m_projectionDescriptor
MythShaderVulkan * m_vulkanShader
const MythShaderMap * m_shaderSources
MythRenderVulkan * Render()
#define MYTH_NULL_DISPATCH
std::map< int, std::pair< QString, std::vector< uint32_t > > > MythShaderMap
std::map< int, MythBindingDesc > MythBindingMap