Module rustracer::cli

source ·
Expand description

Command Line Interface module.

Provides build_cli function with all cli desired subcommands and flags, using clap library.

Structs§

  • Inherits some useful cli parameters.

Constants§

  • ALGORITHM 🔒
    Default rendering algorithm.
  • ANGLE_DEG 🔒
    Default angle of view (in degrees).
  • Default anti-aliasing level.
  • FACTOR 🔒
    Default normalization factor.
  • GAMMA 🔒
    Default transfer function parameter.
  • HEIGHT 🔒
    Default image height.
  • INIT_SEQ 🔒
    Default identifier for random generator sequence.
  • INIT_STATE 🔒
    Default init seed for random generator.
  • MAX_DEPTH 🔒
    Default max depth for pathtracer algorithm.
  • Default number of rays for pathtracer algorithm.
  • WIDTH 🔒
    Default image width.

Functions§