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

Function adjustName

source/RenderGraph/FramePass.cpp:19–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17 namespace fpass
18 {
19 static std::string adjustName( FramePass const & pass
20 , std::string const & dataName )
21 {
22 auto result = pass.getGroupName() + "/" + dataName;
23 uint32_t index = 0u;
24
25 while ( result[index] == '/' )
26 {
27 ++index;
28 }
29
30 return result.substr( index );
31 }
32 }
33
34 FramePass::FramePass( FramePassGroup const & group

Callers 15

addInputUniformBufferMethod · 0.85
addInputSampledImageMethod · 0.85
addInputUniformMethod · 0.85
addInputSampledMethod · 0.85
addInputStorageBufferMethod · 0.85
addInputStorageImageMethod · 0.85
addInputStorageMethod · 0.85
addInOutStorageMethod · 0.85
addOutputStorageImageMethod · 0.85

Calls 1

getGroupNameMethod · 0.80

Tested by

no test coverage detected