Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Utility Functions for the Vulkan Samples Kit

utils.hpp/utils.cpp

  • get_base_data_dir() - return full path to the base data directory; uses CMAKE definition VULKAN_SAMPLES_BASE_DIR to get the samples base directory and appends “/data/”
  • get_data_dir(FILE) - return the full path to the release-specific data directory
    • the version prefix is extracted from FILE to determine the release specific data directory component
    • implies that function must be called from the main sample source file, not another utility

Other utility functions may be added to utils.cpp, or new source files created.