Skip to main content

get_board_texture_path

Function get_board_texture_path 

Source
pub fn get_board_texture_path(board_dir: &Path) -> Option<PathBuf>
Expand description

Get the texture path from a board’s configuration files.

  1. Reads boardcnf.txt to find material file
  2. Reads the material file to find the texture field