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

Method Tr2PrimaryRenderContext

trinity/Tr2RenderContext.cpp:264–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262
263#if TRINITY_PLATFORM_HAS_PRIMARY_CONTEXT
264Tr2PrimaryRenderContext::Tr2PrimaryRenderContext() :
265 Tr2RenderContextBase( *reinterpret_cast<Tr2RenderContext*>( this ) )
266{
267 m_backBuffer.CreateInstance();
268 m_backBuffer->SetName( "backbuffer" );
269
270 m_events = this;
271}
272
273void Tr2PrimaryRenderContext::OnContextCreated( Tr2PrimaryRenderContextAL& renderContext )
274{

Callers

nothing calls this directly

Calls 2

CreateInstanceMethod · 0.80
SetNameMethod · 0.45

Tested by

no test coverage detected