MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Hpp / isDeviceCommand

Method isDeviceCommand

generator/VulkanHppGenerator.cpp:12737–12741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12735}
12736
12737bool VulkanHppGenerator::isDeviceCommand( CommandData const & commandData ) const
12738{
12739 return !commandData.handle.empty() && !commandData.params.empty() && m_handles.contains( commandData.params[0].type.name ) &&
12740 ( commandData.params[0].type.name != "VkInstance" ) && ( commandData.params[0].type.name != "VkPhysicalDevice" );
12741}
12742
12743bool VulkanHppGenerator::isEnumerated( std::string const & type ) const
12744{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected