MCPcopy Create free account
hub / github.com/9chu/LuaSTGPlus / BeginScene

Method BeginScene

LuaSTGPlus/AppFrame.cpp:597–615  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

595}
596
597bool AppFrame::BeginScene()LNOEXCEPT
598{
599 if (!m_bRenderStarted)
600 {
601 LERROR("不能在RenderFunc以外的地方执行渲染");
602 return false;
603 }
604
605 if (m_GraphType == GraphicsType::Graph2D)
606 {
607 if (FCYFAILED(m_Graph2D->Begin()))
608 {
609 LERROR("执行f2dGraphics2D::Begin失败");
610 return false;
611 }
612 }
613
614 return true;
615}
616
617bool AppFrame::EndScene()LNOEXCEPT
618{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected