| 90 | } |
| 91 | |
| 92 | void ShapeRenderer::Build(ref_ptr<dp::GraphicsContext> context, ref_ptr<gpu::ProgramManager> mng) |
| 93 | { |
| 94 | ForEachShapeInfo([context, mng](ShapeControl::ShapeInfo & info) mutable |
| 95 | { info.m_buffer->Build(context, mng->GetProgram(info.m_state.GetProgram<gpu::Program>())); }); |
| 96 | } |
| 97 | |
| 98 | void ShapeRenderer::Render(ref_ptr<dp::GraphicsContext> context, ref_ptr<gpu::ProgramManager> mng, |
| 99 | ScreenBase const & screen) |
no test coverage detected