| 276 | } |
| 277 | |
| 278 | bool RenderAdd_SetClearColor(RenderCmdList *cmdList, const SetClearColorCmd &cmd) |
| 279 | { |
| 280 | auto ret = Render_AppendCmdType(cmdList, cmd._type, &cmd, sizeof(cmd)); |
| 281 | if (!cmdList->immediateMode) |
| 282 | { |
| 283 | return ret; |
| 284 | } |
| 285 | |
| 286 | RenderDraw_SetClearColor(cmd, &cmdList->state); |
| 287 | return true; |
| 288 | } |
| 289 | |
| 290 | bool RenderAdd_ClearRT(RenderCmdList *cmdList, const ClearRTCmd &cmd) |
| 291 | { |
no test coverage detected