|
Gama C Library
Gama C API Documentation
|
Represents a material library, typically loaded from an .mtl file. More...
#include <mtl.h>
Data Fields | |
| char | name [256] |
| gm3Material * | materials |
| size_t | n_materials |
| gm3Texture * | textures |
| size_t | n_textures |
Represents a material library, typically loaded from an .mtl file.
This struct contains a collection of materials and the textures they reference.
| gm3Material* gm3MtlLib::materials |
Array of materials defined in this library.
| size_t gm3MtlLib::n_materials |
Number of materials in the array.
| size_t gm3MtlLib::n_textures |
Number of textures in the array.
| char gm3MtlLib::name[256] |
The name of the material library (usually the MTL filename).
| gm3Texture* gm3MtlLib::textures |
Array of textures referenced by materials in this library.