| 226 | } |
| 227 | |
| 228 | bool RenderAdd_DisableDepth(RenderCmdList *cmdList) |
| 229 | { |
| 230 | DisableDepthStateCmd cmd; |
| 231 | auto ret = Render_AppendCmdType(cmdList, cmd._type, &cmd, sizeof(cmd)); |
| 232 | if (!cmdList->immediateMode) |
| 233 | { |
| 234 | return ret; |
| 235 | } |
| 236 | |
| 237 | RenderDraw_DisableDepthState(cmd, &cmdList->state); |
| 238 | return true; |
| 239 | } |
| 240 | |
| 241 | bool RenderAdd_EnableDepth(RenderCmdList *cmdList) |
| 242 | { |
no test coverage detected