|
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
|
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. | |
Functions | |
| MaterialLib * | material_load_presets (const char *path) |
| Loads a set of material presets from a configuration file. | |
| void | material_free_lib (MaterialLib *lib) |
| Frees all memory associated with a material library. | |
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. |