GetDataSize

Description

Obtains the length of tiling data.

Prototype

size_t GetDataSize() const

Parameters

None

Returns

Length of tiling data

Restrictions

None

Example

auto td_buf = TilingData::CreateCap(100U);
auto td = reinterpret_cast<TilingData *>(td_buf.get());
size_t data_size = td->GetDataSize(); // 0

td->SetDataSize(100U);
data_size = td->GetDataSize(); // 100