module Blend_func: sig
.. end
Encapsulates OpenGL blend/transparency state.
type
t
type
mode =
| |
DST_ALPHA |
| |
DST_COLOR |
| |
ONE |
| |
ONE_MINUS_DST_ALPHA |
| |
ONE_MINUS_DST_COLOR |
| |
ONE_MINUS_SRC_ALPHA |
| |
ONE_MINUS_SRC_COLOR |
| |
SRC_ALPHA |
| |
SRC_ALPHA_SATURATE |
| |
SRC_COLOR |
| |
CONSTANT_COLOR |
| |
ONE_MINUS_CONSTANT_COLOR |
| |
CONSTANT_ALPHA |
| |
ONE_MINUS_CONSTANT_ALPHA |
| |
ZERO |
val create : mode -> mode -> Osg.State_attribute.t
create source destination
val create_separate : mode ->
mode ->
mode -> mode -> Osg.State_attribute.t
create source_rgb destination_rgb source_alpha destination_alpha
(using glBlendFuncSeparate)