Module build_tools

Source

Functionsยง

compile_hlsl
Compile hsls file to sks. Use variables SK_RUST_SHADERS_SOURCE_DIR SK_RUST_ASSETS_DIR and SK_RUST_SHADERS_SKS_DIR to change the default values.
copy_tree
Recursive fn to copy all the content of a directory to another one.
get_cargo_name
Reading Cargo.toml file of the current dir, looking for a [package]/name field and returning its value.
get_skshaderc
Reaching the skshaderc of this platform.