|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration options for a Sky3D. More...
#include <GREM/graphics_3d/Sky3D.hpp>
Public Member Functions | |
| constexpr bool | operator== (const Sky3DOptions &other) const noexcept=default |
| Compare these options to another set of options for equality. | |
Public Attributes | |
| Color | color = Color::WHITE |
| Tint color of the skybox. | |
| Color | ambientColor = Color::WHITE |
| Ambient light tint color produced by the skybox. | |
| Color | reflectionColor = Color::WHITE |
| Reflection tint color produced by the skybox. | |
| uint32_t | radianceMapResolution = 0 |
| Desired width, in texels, of the generated radiance cubemap, or 0 to choose an appropriate resolution automatically based on the size of the source image or texture. | |
| uint32_t | irradianceMapResolution = 16 |
| Desired width, in texels, of the generated irradiance cubemap, or 0 to disable diffuse irradiance from the sky. | |
| uint32_t | reflectionMapResolution = 256 |
| Desired width, in texels, of the generated reflection cubemap, or 0 to disable specular reflections from the sky. | |
Configuration options for a Sky3D.
|
nodiscardconstexprdefaultnoexcept |
Compare these options to another set of options for equality.
| other | the options to compare these to. |
| Color grem::graphics::Sky3DOptions::color = Color::WHITE |
Tint color of the skybox.
| Color grem::graphics::Sky3DOptions::ambientColor = Color::WHITE |
Ambient light tint color produced by the skybox.
| Color grem::graphics::Sky3DOptions::reflectionColor = Color::WHITE |
Reflection tint color produced by the skybox.
| uint32_t grem::graphics::Sky3DOptions::radianceMapResolution = 0 |
Desired width, in texels, of the generated radiance cubemap, or 0 to choose an appropriate resolution automatically based on the size of the source image or texture.
Must be 0 or a power of 2.
| uint32_t grem::graphics::Sky3DOptions::irradianceMapResolution = 16 |
Desired width, in texels, of the generated irradiance cubemap, or 0 to disable diffuse irradiance from the sky.
Must be 0 or a power of 2.
| uint32_t grem::graphics::Sky3DOptions::reflectionMapResolution = 256 |
Desired width, in texels, of the generated reflection cubemap, or 0 to disable specular reflections from the sky.
Must be 0 or a power of 2.