Cogs.Core
Public Attributes | List of all members
Cogs::Core::DepthBias Struct Reference

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.
 

Detailed Description

Defines data for controlling the depth output when rasterizing geometry.

Definition at line 82 of file MaterialOptions.h.

Member Data Documentation

◆ clamp

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.

◆ constant

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.

◆ slope

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.


The documentation for this struct was generated from the following file: