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

Method GetName

test/TestRenderGraph.cpp:1206–1216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1204public:
1205 template< typename T >
1206 static std::string GetName( int )
1207 {
1208 static constexpr bool EnableDepthPrepass = T::EnableDepthPrepassT;
1209 static constexpr bool EnableOpaque = T::EnableOpaqueT;
1210 static constexpr bool EnableSsao = T::EnableSsaoT;
1211 static constexpr bool EnableTransparent = T::EnableTransparentT;
1212 return ( EnableDepthPrepass ? std::string{ "Prepass" } : std::string{} )
1213 + ( EnableOpaque ? std::string{ "Opaque" } : std::string{} )
1214 + ( EnableSsao ? std::string{ "Ssao" } : std::string{} )
1215 + ( EnableTransparent ? std::string{ "Transparent" } : std::string{} );
1216 }
1217};
1218
1219template< typename ParamT >

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected