ReShade
A generic post-processing injector for games and video software.
Public Attributes | List of all members
reshade::api::depth_stencil_desc Struct Reference

Describes the state of the depth-stencil stage. More...

#include <reshade_api_pipeline.hpp>

Public Attributes

bool depth_enable
 Enable or disable depth testing. More...
 
bool depth_write_mask
 Enable or disable writes to the depth-stencil buffer. More...
 
compare_op depth_func
 Comparison function to use to compare new depth value from a fragment against current depth value in the depth-stencil buffer. More...
 
bool stencil_enable
 Enable or disable stencil testing. More...
 
uint8_t front_stencil_read_mask
 Mask applied to stencil values read from the depth-stencil buffer for pixels whose surface normal is towards the camera. More...
 
uint8_t front_stencil_write_mask
 Mask applied to stencil values written to the depth-stencil buffer for pixels whose surface normal is towards the camera. More...
 
uint8_t front_stencil_reference_value
 Reference value to perform against when stencil testing pixels whose surface normal is towards the camera. More...
 
compare_op front_stencil_func
 Comparison function to use to compare new stencil value from a fragment against current stencil value for pixels whose surface normal is facing towards the camera. More...
 
stencil_op front_stencil_pass_op
 Stencil operation to perform when stencil testing and depth testing both pass for pixels whose surface normal is facing towards the camera. More...
 
stencil_op front_stencil_fail_op
 Stencil operation to perform when stencil testing fails for pixels whose surface normal is towards the camera. More...
 
stencil_op front_stencil_depth_fail_op
 Stencil operation to perform when stencil testing passes and depth testing fails for pixels whose surface normal is facing towards the camera. More...
 
uint8_t back_stencil_read_mask
 Mask applied to stencil values read from the depth-stencil buffer for pixels whose surface normal is facing away from the camera. More...
 
uint8_t back_stencil_write_mask
 Mask applied to stencil values written to the depth-stencil buffer for pixels whose surface normal is facing away from the camera. More...
 
uint8_t back_stencil_reference_value
 Reference value to perform against when stencil testing pixels whose surface normal is facing away from the camera. More...
 
compare_op back_stencil_func
 Comparison function to use to compare new stencil value from a fragment against current stencil value for pixels whose surface normal is facing away from the camera. More...
 
stencil_op back_stencil_pass_op
 Stencil operation to perform when stencil testing and depth testing both pass for pixels whose surface normal is facing away from the camera. More...
 
stencil_op back_stencil_fail_op
 Stencil operation to perform when stencil testing fails for pixels whose surface normal is facing away from the camera. More...
 
stencil_op back_stencil_depth_fail_op
 Stencil operation to perform when stencil testing passes and depth testing fails for pixels whose surface normal is facing away from the camera. More...
 

Detailed Description

Describes the state of the depth-stencil stage.

Member Data Documentation

◆ back_stencil_depth_fail_op

stencil_op reshade::api::depth_stencil_desc::back_stencil_depth_fail_op

Stencil operation to perform when stencil testing passes and depth testing fails for pixels whose surface normal is facing away from the camera.

◆ back_stencil_fail_op

stencil_op reshade::api::depth_stencil_desc::back_stencil_fail_op

Stencil operation to perform when stencil testing fails for pixels whose surface normal is facing away from the camera.

◆ back_stencil_func

compare_op reshade::api::depth_stencil_desc::back_stencil_func

Comparison function to use to compare new stencil value from a fragment against current stencil value for pixels whose surface normal is facing away from the camera.

◆ back_stencil_pass_op

stencil_op reshade::api::depth_stencil_desc::back_stencil_pass_op

Stencil operation to perform when stencil testing and depth testing both pass for pixels whose surface normal is facing away from the camera.

◆ back_stencil_read_mask

uint8_t reshade::api::depth_stencil_desc::back_stencil_read_mask

Mask applied to stencil values read from the depth-stencil buffer for pixels whose surface normal is facing away from the camera.

◆ back_stencil_reference_value

uint8_t reshade::api::depth_stencil_desc::back_stencil_reference_value

Reference value to perform against when stencil testing pixels whose surface normal is facing away from the camera.

◆ back_stencil_write_mask

uint8_t reshade::api::depth_stencil_desc::back_stencil_write_mask

Mask applied to stencil values written to the depth-stencil buffer for pixels whose surface normal is facing away from the camera.

◆ depth_enable

bool reshade::api::depth_stencil_desc::depth_enable

Enable or disable depth testing.

◆ depth_func

compare_op reshade::api::depth_stencil_desc::depth_func

Comparison function to use to compare new depth value from a fragment against current depth value in the depth-stencil buffer.

◆ depth_write_mask

bool reshade::api::depth_stencil_desc::depth_write_mask

Enable or disable writes to the depth-stencil buffer.

◆ front_stencil_depth_fail_op

stencil_op reshade::api::depth_stencil_desc::front_stencil_depth_fail_op

Stencil operation to perform when stencil testing passes and depth testing fails for pixels whose surface normal is facing towards the camera.

◆ front_stencil_fail_op

stencil_op reshade::api::depth_stencil_desc::front_stencil_fail_op

Stencil operation to perform when stencil testing fails for pixels whose surface normal is towards the camera.

◆ front_stencil_func

compare_op reshade::api::depth_stencil_desc::front_stencil_func

Comparison function to use to compare new stencil value from a fragment against current stencil value for pixels whose surface normal is facing towards the camera.

◆ front_stencil_pass_op

stencil_op reshade::api::depth_stencil_desc::front_stencil_pass_op

Stencil operation to perform when stencil testing and depth testing both pass for pixels whose surface normal is facing towards the camera.

◆ front_stencil_read_mask

uint8_t reshade::api::depth_stencil_desc::front_stencil_read_mask

Mask applied to stencil values read from the depth-stencil buffer for pixels whose surface normal is towards the camera.

◆ front_stencil_reference_value

uint8_t reshade::api::depth_stencil_desc::front_stencil_reference_value

Reference value to perform against when stencil testing pixels whose surface normal is towards the camera.

◆ front_stencil_write_mask

uint8_t reshade::api::depth_stencil_desc::front_stencil_write_mask

Mask applied to stencil values written to the depth-stencil buffer for pixels whose surface normal is towards the camera.

◆ stencil_enable

bool reshade::api::depth_stencil_desc::stencil_enable

Enable or disable stencil testing.


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