| 595 | } |
| 596 | |
| 597 | bool 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 | |
| 617 | bool AppFrame::EndScene()LNOEXCEPT |
| 618 | { |
nothing calls this directly
no outgoing calls
no test coverage detected