Handbook
Glossary
gl-blend-function ( blend-function -- blend-function )
Vocabulary
gpu
.
state
.
private
Inputs
blend-function
an
object
Outputs
blend-function
an
object
Definition
USING:
combinators
gpu.state
opengl.gl
;
IN:
gpu.state.private
:
gl-blend-function
( blend-function -- blend-function )
{
{
func-zero
[
GL_ZERO
]
}
{
func-one
[
GL_ONE
]
}
{
func-source
[
GL_SRC_COLOR
]
}
{
func-one-minus-source
[
GL_ONE_MINUS_SRC_COLOR
]
}
{
func-dest
[
GL_DST_COLOR
]
}
{
func-one-minus-dest
[
GL_ONE_MINUS_DST_COLOR
]
}
{
func-constant
[
GL_CONSTANT_COLOR
]
}
{
func-one-minus-constant
[
GL_ONE_MINUS_CONSTANT_COLOR
]
}
{
func-source-alpha
[
GL_SRC_ALPHA
]
}
{
func-one-minus-source-alpha
[
GL_ONE_MINUS_SRC_ALPHA
]
}
{
func-dest-alpha
[
GL_DST_ALPHA
]
}
{
func-one-minus-dest-alpha
[
GL_ONE_MINUS_DST_ALPHA
]
}
{
func-constant-alpha
[
GL_CONSTANT_ALPHA
]
}
{
func-one-minus-constant-alpha
[
GL_ONE_MINUS_CONSTANT_ALPHA
]
}
{
func-source-alpha-saturate
[
GL_SRC_ALPHA_SATURATE
]
}
}
case
;