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

Method generateStructs

generator/VideoHppGenerator.cpp:436–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

434}
435
436std::string VideoHppGenerator::generateStructs() const
437{
438 std::string const structsTemplate = R"(
439 //===============
440 //=== STRUCTS ===
441 //===============
442
443${structs}
444)";
445
446 std::string structs;
447 for ( auto const & extension : m_extensions )
448 {
449 structs += generateStructs( extension );
450 }
451 return replaceWithMap( structsTemplate, { { "structs", structs } } );
452}
453
454std::string VideoHppGenerator::generateStructs( ExtensionData const & extensionData ) const
455{

Callers

nothing calls this directly

Calls 1

replaceWithMapFunction · 0.85

Tested by

no test coverage detected