Added missing tokens to BlendEquationSrc/Dest enums.

This commit is contained in:
the_fiddler 2008-07-10 15:09:29 +00:00
parent 4591218aab
commit 04cc9238f6

View file

@ -290,15 +290,18 @@ AlphaFunction enum:
############################################################################### ###############################################################################
# Edited for OpenTK
BlendingFactorDest enum: BlendingFactorDest enum:
ZERO = 0 ZERO = 0
ONE = 1 ONE = 1
SRC_COLOR = 0x0300 SRC_COLOR = 0x0300
ONE_MINUS_SRC_COLOR = 0x0301 ONE_MINUS_SRC_COLOR = 0x0301
DST_COLOR = 0x0306
ONE_MINUS_DST_COLOR = 0x0307
SRC_ALPHA = 0x0302 SRC_ALPHA = 0x0302
ONE_MINUS_SRC_ALPHA = 0x0303 ONE_MINUS_SRC_ALPHA = 0x0303
DST_ALPHA = 0x0304 DST_ALPHA = 0x0304
ONE_MINUS_DST_ALPHA = 0x0305 ONE_MINUS_DST_ALPHA = 0x0305
use EXT_blend_color CONSTANT_COLOR_EXT use EXT_blend_color CONSTANT_COLOR_EXT
use EXT_blend_color ONE_MINUS_CONSTANT_COLOR_EXT use EXT_blend_color ONE_MINUS_CONSTANT_COLOR_EXT
use EXT_blend_color CONSTANT_ALPHA_EXT use EXT_blend_color CONSTANT_ALPHA_EXT
@ -306,16 +309,19 @@ BlendingFactorDest enum:
############################################################################### ###############################################################################
# Edited for OpenTK
BlendingFactorSrc enum: BlendingFactorSrc enum:
use BlendingFactorDest ZERO use BlendingFactorDest ZERO
use BlendingFactorDest ONE use BlendingFactorDest ONE
DST_COLOR = 0x0306 use BlendingFactorDest SRC_COLOR
ONE_MINUS_DST_COLOR = 0x0307 use BlendingFactorDest ONE_MINUS_SRC_COLOR
SRC_ALPHA_SATURATE = 0x0308 use BlendingFactorDest DST_COLOR
use BlendingFactorDest ONE_MINUS_DST_COLOR
use BlendingFactorDest SRC_ALPHA use BlendingFactorDest SRC_ALPHA
use BlendingFactorDest ONE_MINUS_SRC_ALPHA use BlendingFactorDest ONE_MINUS_SRC_ALPHA
use BlendingFactorDest DST_ALPHA use BlendingFactorDest DST_ALPHA
use BlendingFactorDest ONE_MINUS_DST_ALPHA use BlendingFactorDest ONE_MINUS_DST_ALPHA
SRC_ALPHA_SATURATE = 0x0308
use EXT_blend_color CONSTANT_COLOR_EXT use EXT_blend_color CONSTANT_COLOR_EXT
use EXT_blend_color ONE_MINUS_CONSTANT_COLOR_EXT use EXT_blend_color ONE_MINUS_CONSTANT_COLOR_EXT
use EXT_blend_color CONSTANT_ALPHA_EXT use EXT_blend_color CONSTANT_ALPHA_EXT