| 18 | } |
| 19 | |
| 20 | void GraphicRenderer3D::Initialize() { |
| 21 | // enable management of transparent background image (RGBA-8) |
| 22 | glEnable(GL_BLEND); |
| 23 | glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); |
| 24 | |
| 25 | // enable Z-depth and stencil testing |
| 26 | glEnable(GL_DEPTH_TEST); |
| 27 | glEnable(GL_STENCIL_TEST); |
| 28 | } |
| 29 | |
| 30 | void GraphicRenderer3D::AddMesh(Meshes::Mesh& mesh) { |
| 31 | m_mesh_collection.push_back(mesh); |
nothing calls this directly
no outgoing calls
no test coverage detected