Skip to content

layer readFromFile

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

Basic Info

Reads layer from file.

Return Type

Returns void

Parameters

Parameter Type Use Optional
input std::filesystem::path Input file

Example

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

Clone this wiki locally