![]() |
LLGL 0.05 Beta
|
Depth bias descriptor structure to control fragment depth values. More...
#include <PipelineStateFlags.h>
Public Attributes | |
| float | constantFactor = 0.0f |
| Specifies a scalar factor controlling the constant depth value added to each fragment. By default 0.0. | |
| float | slopeFactor = 0.0f |
| Specifies a scalar factor applied to a fragment's slope in depth bias calculations. By default 0.0. | |
| float | clamp = 0.0f |
| Specifies the maximum (or minimum) depth bias of a fragment. By default 0.0. | |
Depth bias descriptor structure to control fragment depth values.
| float LLGL::DepthBiasDescriptor::clamp = 0.0f |
Specifies the maximum (or minimum) depth bias of a fragment. By default 0.0.
GL_ARB_polygon_offset_clamp is available | float LLGL::DepthBiasDescriptor::constantFactor = 0.0f |
Specifies a scalar factor controlling the constant depth value added to each fragment. By default 0.0.
| float LLGL::DepthBiasDescriptor::slopeFactor = 0.0f |
Specifies a scalar factor applied to a fragment's slope in depth bias calculations. By default 0.0.