| 12442 | } |
| 12443 | |
| 12444 | std::pair<std::string, std::string> VulkanHppGenerator::getPoolTypeAndName( std::string const & type ) const |
| 12445 | { |
| 12446 | auto structIt = m_structs.find( type ); |
| 12447 | assert( structIt != m_structs.end() ); |
| 12448 | auto memberIt = std::ranges::find_if( structIt->second.members, []( MemberData const & md ) { return md.name.find( "Pool" ) != std::string::npos; } ); |
| 12449 | assert( memberIt != structIt->second.members.end() ); |
| 12450 | assert( std::none_of( |
| 12451 | std::next( memberIt ), structIt->second.members.end(), []( MemberData const & md ) { return md.name.find( "Pool" ) != std::string::npos; } ) ); |
| 12452 | return { memberIt->type.name, memberIt->name }; |
| 12453 | } |
| 12454 | |
| 12455 | std::string VulkanHppGenerator::getProtectFromPlatform( std::string const & platformName ) const |
| 12456 | { |
nothing calls this directly
no outgoing calls
no test coverage detected