Files
filament/tools
Sungun Park 0ef7507464 mat: Store matc parameters in material packages (#9070)
This commit enhances the material compilation process by embedding the
`matc` command-line parameters directly into the compiled material file.
This feature is valuable for debugging, as it allows developers to
inspect the exact compilation settings used for a given material.

A key consideration is the potential for personally identifiable
information (PII) in the command-line arguments (e.g., file paths). To
address this, a `toPIISafeString` method has been implemented to filter
out PII-sensitive options before they are stored in the material.

With this change, the matc command below
    /path/to/matc -a opengl --api vulkan -p desktop -g -o /path/to/my.filamat /path/to/my.mat

is stored to the package as below. (veryfied by running `matinfo my.filamat`)
    Compilation Parameters:         -a opengl --api vulkan -p desktop -g
2025-08-17 19:25:37 +00:00
..
2024-10-25 00:29:13 -07:00
2025-08-07 14:58:18 -07:00
2023-09-20 10:16:55 -07:00
2023-09-20 10:16:55 -07:00
2024-10-17 14:15:40 -07:00
2025-03-18 10:25:10 -07:00
2023-09-20 10:16:55 -07:00
2025-08-07 14:58:18 -07:00
2023-09-12 20:28:46 +00:00