We use essential cookies for the website to function, as well as analytics cookies for analyzing and creating statistics of the website performance. To agree to the use of analytics cookies, click "Accept All". You can manage your preferences at any time by clicking "Cookie Settings" on the footer. More Information.

Only Essential Cookies
Accept All

GetDataSize

Function Description

Obtains the length of tiling data.

Function Prototype

Collapse
Word wrap
Dark theme
Copy code
  1. size_t GetDataSize() const;

Parameters

None

Return Value

Length of tiling data

Restrictions

None

Calling Example

Collapse
Word wrap
Dark theme
Copy code
  1. auto td_buf = TilingData::CreateCap(100U);
  2. auto td = reinterpret_cast<TilingData *>(td_buf.get());
  3. size_t data_size = td->GetDataSize(); // 0
  4. td->SetDataSize(100U);
  5. data_size = td->GetDataSize(); // 100
Search in Guides
Enter a keyword.