目录

GetDataSize

Function Description

Obtains the length of tiling data.

Function Prototype

size_t GetDataSize() const;

Parameters

None

Return Value

Length of tiling data

Restrictions

None

Calling 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