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

Describes the state of the output-merger stage. More...

#include <reshade_api_pipeline.hpp>

Public Attributes

bool alpha_to_coverage_enable
 Use alpha-to-coverage as a multisampling technique when setting a pixel to a render target. More...
 
bool blend_enable [8]
 Enable or disable blending for each render target. More...
 
bool logic_op_enable [8]
 Enable or disable a logical operation for each render target. More...
 
blend_factor source_color_blend_factor [8]
 Source to use for the RGB value that the pixel shader outputs. More...
 
blend_factor dest_color_blend_factor [8]
 Destination to use for the current RGB value in the render target. More...
 
blend_op color_blend_op [8]
 Operation to use to combine source_color_blend_factor and dest_color_blend_factor. More...
 
blend_factor source_alpha_blend_factor [8]
 Source to use for the alpha value that the pixel shader outputs. More...
 
blend_factor dest_alpha_blend_factor [8]
 Destination to use for the current alpha value in the render target. More...
 
blend_op alpha_blend_op [8]
 Operation to use to combine source_alpha_blend_factor and dest_alpha_blend_factor. More...
 
float blend_constant [4]
 Constant RGBA value to use when source_color_blend_factor or dest_color_blend_factor is blend_factor::constant_color. More...
 
logic_op logic_op [8]
 Logical operation for each render target. Ignored if logic_op_enable is false. More...
 
uint8_t render_target_write_mask [8]
 A write mask specifying which color components are written to each render target. Bitwise combination of 0x1 for red, 0x2 for green, 0x4 for blue and 0x8 for alpha. More...
 

Detailed Description

Describes the state of the output-merger stage.

Member Data Documentation

◆ alpha_blend_op

blend_op reshade::api::blend_desc::alpha_blend_op[8]

◆ alpha_to_coverage_enable

bool reshade::api::blend_desc::alpha_to_coverage_enable

Use alpha-to-coverage as a multisampling technique when setting a pixel to a render target.

◆ blend_constant

float reshade::api::blend_desc::blend_constant[4]

◆ blend_enable

bool reshade::api::blend_desc::blend_enable[8]

Enable or disable blending for each render target.

See also
device_caps::independent_blend

◆ color_blend_op

blend_op reshade::api::blend_desc::color_blend_op[8]

◆ dest_alpha_blend_factor

blend_factor reshade::api::blend_desc::dest_alpha_blend_factor[8]

Destination to use for the current alpha value in the render target.

See also
device_caps::independent_blend

◆ dest_color_blend_factor

blend_factor reshade::api::blend_desc::dest_color_blend_factor[8]

Destination to use for the current RGB value in the render target.

See also
device_caps::independent_blend

◆ logic_op

logic_op reshade::api::blend_desc::logic_op[8]

Logical operation for each render target. Ignored if logic_op_enable is false.

See also
device_caps::logic_op

◆ logic_op_enable

bool reshade::api::blend_desc::logic_op_enable[8]

Enable or disable a logical operation for each render target.

See also
device_caps::logic_op

◆ render_target_write_mask

uint8_t reshade::api::blend_desc::render_target_write_mask[8]

A write mask specifying which color components are written to each render target. Bitwise combination of 0x1 for red, 0x2 for green, 0x4 for blue and 0x8 for alpha.

◆ source_alpha_blend_factor

blend_factor reshade::api::blend_desc::source_alpha_blend_factor[8]

Source to use for the alpha value that the pixel shader outputs.

See also
device_caps::independent_blend

◆ source_color_blend_factor

blend_factor reshade::api::blend_desc::source_color_blend_factor[8]

Source to use for the RGB value that the pixel shader outputs.

See also
device_caps::independent_blend

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