blue_noise_generation/src/arg_parse.hpp

24 lines
416 B
C++
Raw Permalink Normal View History

#ifndef DITHERING_ARG_PARSE_HPP_
#define DITHERING_ARG_PARSE_HPP_
#include <string>
struct Args {
2023-03-31 09:47:33 +00:00
Args();
2023-03-31 09:47:33 +00:00
static void DisplayHelp();
2023-03-31 09:47:33 +00:00
/// Returns true if help was printed
bool ParseArgs(int argc, char **argv);
2023-03-31 09:47:33 +00:00
bool generate_blue_noise_;
bool use_opencl_;
bool overwrite_file_;
bool use_vulkan_;
2023-03-31 09:47:33 +00:00
unsigned int blue_noise_size_;
unsigned int threads_;
std::string output_filename_;
};
#endif