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

Describes the state of the rasterizer stage. More...

#include <reshade_api_pipeline.hpp>

Public Attributes

fill_mode fill_mode
 Fill mode to use when rendering triangles. More...
 
cull_mode cull_mode
 Triangles facing the specified direction are not drawn. More...
 
bool front_counter_clockwise
 Determines if a triangle is front or back-facing. More...
 
float depth_bias
 Depth value added to a given pixel. More...
 
float depth_bias_clamp
 Maximum depth bias of a pixel. More...
 
float slope_scaled_depth_bias
 Scalar on the slope of a given pixel. More...
 
bool depth_clip_enable
 Enable or disable clipping based on distance. More...
 
bool scissor_enable
 Enable or disable scissor testing (scissor rectangle culling). More...
 
bool multisample_enable
 Use the quadrilateral or alpha line anti-aliasing algorithm on multisample antialiasing render targets. More...
 
bool antialiased_line_enable
 Enable or disable line antialiasing. Only applies if doing line drawing and multisample_enable is false. More...
 
uint32_t conservative_rasterization
 Enable or disable conservative rasterization mode. More...
 

Detailed Description

Describes the state of the rasterizer stage.

Member Data Documentation

◆ antialiased_line_enable

bool reshade::api::rasterizer_desc::antialiased_line_enable

Enable or disable line antialiasing. Only applies if doing line drawing and multisample_enable is false.

◆ conservative_rasterization

uint32_t reshade::api::rasterizer_desc::conservative_rasterization

Enable or disable conservative rasterization mode.

See also
device_caps::conservative_rasterization

◆ cull_mode

cull_mode reshade::api::rasterizer_desc::cull_mode

Triangles facing the specified direction are not drawn.

◆ depth_bias

float reshade::api::rasterizer_desc::depth_bias

Depth value added to a given pixel.

◆ depth_bias_clamp

float reshade::api::rasterizer_desc::depth_bias_clamp

Maximum depth bias of a pixel.

◆ depth_clip_enable

bool reshade::api::rasterizer_desc::depth_clip_enable

Enable or disable clipping based on distance.

◆ fill_mode

fill_mode reshade::api::rasterizer_desc::fill_mode

Fill mode to use when rendering triangles.

See also
device_caps::fill_mode_non_solid

◆ front_counter_clockwise

bool reshade::api::rasterizer_desc::front_counter_clockwise

Determines if a triangle is front or back-facing.

◆ multisample_enable

bool reshade::api::rasterizer_desc::multisample_enable

Use the quadrilateral or alpha line anti-aliasing algorithm on multisample antialiasing render targets.

◆ scissor_enable

bool reshade::api::rasterizer_desc::scissor_enable

Enable or disable scissor testing (scissor rectangle culling).

◆ slope_scaled_depth_bias

float reshade::api::rasterizer_desc::slope_scaled_depth_bias

Scalar on the slope of a given pixel.


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