|
NSUNI/NSLAR Library a250670
|
Contains structures and functions for working with light source configs. More...
Classes | |
| struct | Light |
| Represents a directional light in the scene. This structure represents a directional light source that affects dynamically lit materials. More... | |
| struct | Lit |
| Represents a lighting configuration for a scene. More... | |
Functions | |
| std::vector< nnl::SLight > | Convert (const Lit &lit) |
| Converts a light config to a more generic representation that is more suitable for exporting into other formats. | |
| Lit | Convert (const std::vector< nnl::SLight > &slights, glm::vec3 ambient=glm::vec3(0), bool enable_specular=true, float character_brightness=1.0f) |
| Converts a vector of lights to a light config. | |
| bool | IsOfType (BufferView buffer) |
| Tests if the provided file is a light source config. | |
| Lit | Import (BufferView buffer) |
| Parses a binary file and converts it to a Lit struct. | |
| Buffer | Export (const Lit &lit) |
| Converts a light config to a binary file representation. | |
Contains structures and functions for working with light source configs.