| 252 | } |
| 253 | |
| 254 | bool RenderAdd_SetColorMask(RenderCmdList *cmdList, const SetColorMaskCmd &cmd) |
| 255 | { |
| 256 | auto ret = Render_AppendCmdType(cmdList, cmd._type, &cmd, sizeof(cmd)); |
| 257 | if (!cmdList->immediateMode) |
| 258 | { |
| 259 | return ret; |
| 260 | } |
| 261 | |
| 262 | RenderDraw_SetColorMask(cmd, &cmdList->state); |
| 263 | return true; |
| 264 | } |
| 265 | |
| 266 | bool RenderAdd_SetColor(RenderCmdList *cmdList, const SetColorCmd &cmd) |
| 267 | { |
no test coverage detected