MCPcopy Create free account
hub / github.com/carbonengine/trinity / AppendName

Function AppendName

trinity/Tr2GpuResourcePool.cpp:21–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20template <typename T>
21void AppendName( T& record, const char* name )
22{
23 if( record->name.find( name ) == std::string::npos )
24 {
25 if( !record->name.empty() )
26 {
27 record->name += ",";
28 }
29 record->name += name;
30 record->resource.SetName( record->name.c_str() );
31 }
32}
33
34bool IsValid( const Tr2BitmapDimensions& desc )
35{

Callers 2

GetTempTextureMethod · 0.85
GetTempBufferMethod · 0.85

Calls 2

emptyMethod · 0.80
SetNameMethod · 0.45

Tested by

no test coverage detected