| 219 | } |
| 220 | |
| 221 | void CHOM::DispatchRender() |
| 222 | { |
| 223 | VisibleTriangleCount = 0; |
| 224 | FrustumTriangleCount = 0; |
| 225 | CulledOutCount = 0; |
| 226 | |
| 227 | if (!Allowed()) |
| 228 | return; |
| 229 | |
| 230 | if (g_pGameLevel && !IsMainMenuActive()) |
| 231 | { |
| 232 | ZoneScoped; |
| 233 | |
| 234 | CFrustum ViewBase; |
| 235 | ViewBase.CreateFromMatrix(Device.mFullTransform, FRUSTUM_P_LRTB + FRUSTUM_P_FAR); |
| 236 | |
| 237 | Raster.clear(); |
| 238 | Render_DB(ViewBase); |
| 239 | Raster.propagade(); |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | namespace |
| 244 | { |
no test coverage detected