MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / stRegisterObject

Method stRegisterObject

include/RenderGraph/GraphContext.hpp:541–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

539
540 template< typename ObjectT >
541 static void stRegisterObject( GraphContext & context
542 , std::string const & name
543 , ObjectT object )
544 {
545 using MyTraits = DebugTypeTraits< ObjectT >;
546 context.doRegisterObject( uint64_t( object )
547#if VK_EXT_debug_utils
548 , uint32_t( MyTraits::UtilsValue )
549#elif VK_EXT_debug_marker
550 , uint32_t( MyTraits::ReportValue )
551#endif
552 , name
553 , MyTraits::Name );
554 }
555
556 template< typename ObjectT >
557 static void stRegisterObjectName( GraphContext & context

Callers

nothing calls this directly

Calls 1

doRegisterObjectMethod · 0.80

Tested by

no test coverage detected