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

Method Create

trinityal/src/Tr2FenceAL.cpp:22–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22ALResult Tr2FenceAL::Create( Tr2PrimaryRenderContextAL& renderContext )
23{
24 m_fence = std::make_shared<TrinityALImpl::Tr2FenceAL>();
25 auto result = m_fence->Create( renderContext );
26 if( FAILED( result ) )
27 {
28 m_fence = NullFence();
29 }
30 return result;
31}
32
33ALResult Tr2FenceAL::PutFence( Tr2RenderContextAL& renderContext )
34{

Callers 5

GetMethod · 0.45
FillUPVertexBufferMethod · 0.45
FillUPIndexBufferMethod · 0.45
DispatchMethod · 0.45

Calls 1

NullFenceFunction · 0.85

Tested by

no test coverage detected