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

Method SetName

trinityal/dx12/Tr2ResourceHelper.cpp:308–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306}
307
308void Tr2ResourceHelper::SetName( const char* name )
309{
310 m_name = name;
311 for( auto& r : m_resources )
312 {
313 SetDebugName( r.resource, name );
314 }
315 if( m_gpuResource.resource )
316 {
317 SetDebugName( m_gpuResource.resource, name );
318 }
319}
320
321const std::string& Tr2ResourceHelper::GetName() const
322{

Callers

nothing calls this directly

Calls 1

SetDebugNameFunction · 0.85

Tested by

no test coverage detected