glBlendFunc

Aus DGL Wiki
Wechseln zu: Navigation, Suche

glBlendFunc


Name

Die Funktion glBlendFunc bestimmt, wie Source- und Destinationfaktor beim Blending miteinander kombiniert werden sollen.

Delphi-Spezifikation

procedure(sfactor: TGLEnum; dfactor: TGLEnum);

Parameter

Konstante Berücksichtigte Faktoren Berechneter Blendfaktor
GL_ZERO source oder destination (0, 0, 0, 0)
GL_ONE source oder destination (1, 1, 1, 1)
GL_DST_COLOR source (Rd, Gd, Bd, Ad)
GL_SRC_COLOR destination (Rs, Gs, Bs, As)
GL_ONE_MINUS_DST_COLOR source (1, 1, 1, 1)-(Rd, Gd, Bd, Ad)
GL_ONE_MINUS_SRC_COLOR destination (1, 1, 1, 1)-(Rs, Gs, Bs, As)
GL_SRC_ALPHA source oder destination (As, As, As, As)
GL_ONE_MINUS_SRC_ALPHA source oder destination (1, 1, 1, 1)-(As, As, As, As)
GL_DST_ALPHA source oder destination (Ad, Ad, Ad, Ad)
GL_ONE_MINUS_DST_ALPHA source oder destination (1, 1, 1, 1)-(Ad, Ad, Ad, Ad)
GL_SRC_ALPHA_SATURATE source (f, f, f, 1); f=min(As, 1-Ad)


Beschreibung

Die Funktion glBlendFunc bestimmt, wie Source- und Destinationfaktor beim Blending miteinander kombiniert werden sollen.

Siehe auch

glAlphaFunc
glClear
glDrawBuffer
glEnable
glLogicOp
glStencilFunc
Blending