Add CType to handle wrapper classes. (#354)

This commit is contained in:
Andreas Süßenbach
2019-07-03 13:49:40 +02:00
committed by Markus Tavenrath
parent 5414a2e232
commit f91fc93fc5
2 changed files with 114 additions and 0 deletions

View File

@@ -3445,6 +3445,9 @@ void VulkanHppGenerator::writeHandle(std::ostream & os, std::pair<std::string, H
static const std::string templateString = R"(
class ${className}
{
public:
using CType = Vk${className};
public:
VULKAN_HPP_CONSTEXPR ${className}()
: m_${memberName}(VK_NULL_HANDLE)