$darkmode
PBR material definitions and management. More...
Go to the source code of this file.
Data Structures | |
| struct | PBRMaterial |
| Surface properties for the physically-based rendering pipeline. More... | |
| struct | MaterialLib |
| A collection of material presets loaded from disk or defined at runtime. More... | |
Macros | |
| #define | MAX_MATERIAL_NAME_LENGTH 64 |
| Maximum length for a material identifier string. More... | |
Functions | |
| MaterialLib * | material_load_presets (const char *path) |
| Loads a set of material presets from a configuration file. More... | |
| void | material_free_lib (MaterialLib *lib) |
| Frees all memory associated with a material library. More... | |
PBR material definitions and management.
| #define MAX_MATERIAL_NAME_LENGTH 64 |
Maximum length for a material identifier string.
| void material_free_lib | ( | MaterialLib * | lib | ) |
Frees all memory associated with a material library.
| lib | Pointer to the library to destroy. |
| MaterialLib* material_load_presets | ( | const char * | path | ) |
Loads a set of material presets from a configuration file.
| path | Path to the material description file. |