MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / R_AddDrawViewCmd

Function R_AddDrawViewCmd

neo/renderer/RenderSystem.cpp:216–227  ·  view source on GitHub ↗

============= R_AddDrawViewCmd This is the main 3D rendering command. A single scene may have multiple views if a mirror, portal, or dynamic texture is present. ============= */

Source from the content-addressed store, hash-verified

214=============
215*/
216void R_AddDrawViewCmd( viewDef_t *parms ) {
217 drawSurfsCommand_t *cmd;
218
219 cmd = (drawSurfsCommand_t *)R_GetCommandBuffer( sizeof( *cmd ) );
220 cmd->commandId = RC_DRAW_VIEW;
221
222 cmd->viewDef = parms;
223
224 tr.pc.c_numViews++;
225
226 R_ViewStatistics( parms );
227}
228
229
230//=================================================================================

Callers 2

EmitFullScreenMethod · 0.85
R_RenderViewFunction · 0.85

Calls 2

R_GetCommandBufferFunction · 0.85
R_ViewStatisticsFunction · 0.85

Tested by

no test coverage detected