MCPcopy Create free account
hub / github.com/RenderKit/ospray / getTileIDs

Method getTileIDs

modules/cpu/fb/SparseFB.cpp:230–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230const utility::ArrayView<uint32_t> SparseFrameBuffer::getTileIDs()
231{
232 if (tileIDs.empty()) {
233 return utility::ArrayView<uint32_t>(nullptr, 0);
234 }
235 return utility::ArrayView<uint32_t>(tileIDs.data(), tileIDs.size());
236}
237
238uint32_t SparseFrameBuffer::getTileIndexForTask(uint32_t taskID) const
239{

Callers 4

renderFrameMethod · 0.80
renderFrameMethod · 0.80
writeTilesMethod · 0.80

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected