MCPcopy Create free account
hub / github.com/crossuo/crossuo / RenderAdd_SetColorMask

Function RenderAdd_SetColorMask

src/Renderer/RenderAdd.cpp:254–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252}
253
254bool 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
266bool RenderAdd_SetColor(RenderCmdList *cmdList, const SetColorCmd &cmd)
267{

Callers 2

DrawMethod · 0.85
RedrawMethod · 0.85

Calls 2

Render_AppendCmdTypeFunction · 0.85
RenderDraw_SetColorMaskFunction · 0.85

Tested by

no test coverage detected