|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Configuration options for a Renderer3D. More...
#include <GREM/graphics_3d/Renderer3D.hpp>
Public Member Functions | |
| constexpr bool | operator== (const Renderer3DOptions &other) const noexcept=default |
| Compare these options to another set of options for equality. | |
Public Attributes | |
| uint32_t | tileSize = 64 |
| Width or height of each screen tile, in pixels. | |
| uint32_t | depthBinCount = 1024 |
| Number of depth bins to use for culling items on the screen along the Z axis. | |
| uint32_t | specularSplitSumBRDFIntegrationMapResolution = 512 |
| The width, in texels, of the generated bidirectional reflectance distribution function (BRDF) integration map for split-sum approximation of ambient specular reflections. | |
| uint32_t | specularSplitSumBRDFIntegrationMapSampleCount = 2048 |
| Number of samples to use when generating the bidirectional reflectance distribution function (BRDF) integration map for split-sum approximation of ambient specular reflections. | |
| float | shadowMapDepthBiasSlopeFactor = 0.0f |
| Slope-scaled depth bias factor to use in the shadow map shader. | |
| float | shadowMapDepthBiasConstantFactor = 1.0f |
| Constant depth bias factor to use in the shadow map shader. | |
Configuration options for a Renderer3D.
|
nodiscardconstexprdefaultnoexcept |
Compare these options to another set of options for equality.
| other | the options to compare these to. |
| uint32_t grem::graphics::Renderer3DOptions::tileSize = 64 |
Width or height of each screen tile, in pixels.
Must be positive.
| uint32_t grem::graphics::Renderer3DOptions::depthBinCount = 1024 |
Number of depth bins to use for culling items on the screen along the Z axis.
Must be positive.
| uint32_t grem::graphics::Renderer3DOptions::specularSplitSumBRDFIntegrationMapResolution = 512 |
The width, in texels, of the generated bidirectional reflectance distribution function (BRDF) integration map for split-sum approximation of ambient specular reflections.
Must be a power of 2.
| uint32_t grem::graphics::Renderer3DOptions::specularSplitSumBRDFIntegrationMapSampleCount = 2048 |
Number of samples to use when generating the bidirectional reflectance distribution function (BRDF) integration map for split-sum approximation of ambient specular reflections.
Must be positive.
| float grem::graphics::Renderer3DOptions::shadowMapDepthBiasSlopeFactor = 0.0f |
Slope-scaled depth bias factor to use in the shadow map shader.
| float grem::graphics::Renderer3DOptions::shadowMapDepthBiasConstantFactor = 1.0f |
Constant depth bias factor to use in the shadow map shader.