enum SF::BlendMode::Factor
Overview
Enumeration of the blending factors
The factors are mapped directly to their OpenGL equivalents,
specified by gl_blend_func()
or gl_blend_func_separate()
.
Defined in:
graphics/obj.crEnum Members
-
Zero =
0
-
(0, 0, 0, 0)
-
One =
1
-
(1, 1, 1, 1)
-
SrcColor =
2
-
(src.r, src.g, src.b, src.a)
-
OneMinusSrcColor =
3
-
(1, 1, 1, 1) - (src.r, src.g, src.b, src.a)
-
DstColor =
4
-
(dst.r, dst.g, dst.b, dst.a)
-
OneMinusDstColor =
5
-
(1, 1, 1, 1) - (dst.r, dst.g, dst.b, dst.a)
-
SrcAlpha =
6
-
(src.a, src.a, src.a, src.a)
-
OneMinusSrcAlpha =
7
-
(1, 1, 1, 1) - (src.a, src.a, src.a, src.a)
-
DstAlpha =
8
-
(dst.a, dst.a, dst.a, dst.a)
-
OneMinusDstAlpha =
9
-
(1, 1, 1, 1) - (dst.a, dst.a, dst.a, dst.a)
Instance Method Summary
- #dst_alpha?
- #dst_color?
- #one?
- #one_minus_dst_alpha?
- #one_minus_dst_color?
- #one_minus_src_alpha?
- #one_minus_src_color?
- #src_alpha?
- #src_color?
- #zero?