MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / CanBatchDrawCalls

Function CanBatchDrawCalls

Source/Engine/Render2D/Render2D.cpp:478–481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476// @formatter:on
477
478bool CanBatchDrawCalls(const Render2DDrawCall& d1, const Render2DDrawCall& d2)
479{
480 return d1.Type == d2.Type && CanDrawCallBatch[(int32)d1.Type](d1, d2);
481}
482
483void DrawBatch(int32 startIndex, int32 count);
484

Callers 1

EndMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected