Cogs.Core
|
Defines data for controlling the depth output when rasterizing geometry. More...
#include <MaterialOptions.h>
Public Attributes | |
float | constant = 0.f |
Constant factor, applied as a multiple of the smallest resolvable depth buffer value. | |
float | slope = 0.f |
Slope factor, applied as a multiple of the slope of the rasterized primitive. | |
float | clamp = 0.f |
Clamp the resulting depth bias to be abs(d) <= clamp. | |
Defines data for controlling the depth output when rasterizing geometry.
Definition at line 82 of file MaterialOptions.h.
float Cogs::Core::DepthBias::clamp = 0.f |
Clamp the resulting depth bias to be abs(d) <= clamp.
Definition at line 89 of file MaterialOptions.h.
float Cogs::Core::DepthBias::constant = 0.f |
Constant factor, applied as a multiple of the smallest resolvable depth buffer value.
Definition at line 85 of file MaterialOptions.h.
float Cogs::Core::DepthBias::slope = 0.f |
Slope factor, applied as a multiple of the slope of the rasterized primitive.
Definition at line 87 of file MaterialOptions.h.