Skip to content

layer saveToFile

GitHub Action edited this page Jul 9, 2026 · 1 revision
void saveToFile(std::filesystem::path output)

Basic Info

Saves layer to file.

Return Type

Returns void

Parameters

Parameter Type Use Optional
output std::filesystem::path Output file

Example

// Calling the saveToFile() function
std::filesystem::path output; // Fill with your filepath
layer l(42, 420);
l.readFromFile(output);

Clone this wiki locally