MCPcopy Create free account
hub / github.com/MyGUI/mygui / doRender

Method doRender

Wrappers/MyGUI_Export/MyGUI_ExportRenderManager.cpp:68–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 }
67
68 void ExportRenderManager::doRender(IVertexBuffer* _buffer, ITexture* _texture, size_t _count)
69 {
70 if (_texture == nullptr || _buffer == nullptr || _count == 0)
71 return;
72
73 ExportTexture* texture = static_cast<ExportTexture*>(_texture);
74 ExportVertexBuffer* vertexes = static_cast<ExportVertexBuffer*>(_buffer);
75
76 mBatchInfo.push_back(RenderBatchInfo(vertexes, texture, _count, mCurrentLayer));
77 }
78
79 void ExportRenderManager::drawOneFrame()
80 {

Callers

nothing calls this directly

Calls 2

RenderBatchInfoClass · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected