Blend state description.
More...
#include <blend_state_description.h>
|
| BlendStateDescription () |
|
void | blend_equation (BlendEquation &out_color, BlendEquation &out_alpha) const |
|
void | blend_function (BlendFunc &out_src, BlendFunc &out_dest, BlendFunc &out_src_alpha, BlendFunc &out_dest_alpha) const |
|
BlendStateDescription | clone () const |
|
void | color_write (bool &out_red, bool &out_green, bool &out_blue, bool &out_alpha) const |
|
void | enable_blending (bool value) |
| Enable/Disable blending. More...
|
|
void | enable_color_write (bool red, bool green, bool blue, bool alpha) |
| Enable/disable writing to the color buffer. More...
|
|
void | enable_logic_op (bool enabled) |
| Enable/disable logic op. (uicoreGL only) More...
|
|
bool | is_blending_enabled () const |
|
bool | is_logic_op_enabled () const |
|
LogicOp | logic_op () const |
|
bool | operator< (const BlendStateDescription &other) const |
|
bool | operator== (const BlendStateDescription &other) const |
|
void | set_blend_equation (BlendEquation color, BlendEquation alpha) |
| Set the constant color used in the blend equations. More...
|
|
void | set_blend_function (BlendFunc src, BlendFunc dest, BlendFunc src_alpha, BlendFunc dest_alpha) |
| Set the blend functions. More...
|
|
void | set_logic_op (LogicOp op) |
| Set logic operation. (uicoreGL only) More...
|
|
uicore::BlendStateDescription::BlendStateDescription |
( |
| ) |
|
static BlendStateDescription uicore::BlendStateDescription::blend |
( |
bool |
src_premultiplied, |
|
|
bool |
dest_premultiplied = true |
|
) |
| |
|
static |
void uicore::BlendStateDescription::color_write |
( |
bool & |
out_red, |
|
|
bool & |
out_green, |
|
|
bool & |
out_blue, |
|
|
bool & |
out_alpha |
|
) |
| const |
void uicore::BlendStateDescription::enable_blending |
( |
bool |
value | ) |
|
void uicore::BlendStateDescription::enable_color_write |
( |
bool |
red, |
|
|
bool |
green, |
|
|
bool |
blue, |
|
|
bool |
alpha |
|
) |
| |
Enable/disable writing to the color buffer.
void uicore::BlendStateDescription::enable_logic_op |
( |
bool |
enabled | ) |
|
Enable/disable logic op. (uicoreGL only)
bool uicore::BlendStateDescription::is_blending_enabled |
( |
| ) |
const |
bool uicore::BlendStateDescription::is_logic_op_enabled |
( |
| ) |
const |
LogicOp uicore::BlendStateDescription::logic_op |
( |
| ) |
const |
Set the constant color used in the blend equations.
void uicore::BlendStateDescription::set_logic_op |
( |
LogicOp |
op | ) |
|
Set logic operation. (uicoreGL only)
The documentation for this class was generated from the following file: