예제 #1
0
 public static void BlendFuncSeparate(BlendFactorSrc sfactorRGB, BlendFactorDst dfactorRGB, BlendFactorSrc sfactorAlpha, BlendFactorDst dfactorAlpha)
 {
     Delegates.glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
 }
예제 #2
0
 public static extern void glBlendFunc(BlendFactorSrc sfactor, BlendFactorDst dfactor);
예제 #3
0
 /// <summary>
 /// specify pixel arithmetic
 /// Pixels can be drawn using a function that blends the incoming (source) RGBA values with the RGBA values that are already in the frame buffer (the destination values). Blending is initially disabled. Use glEnable and glDisable with argument GL_BLEND to enable and disable blending.
 /// </summary>
 /// <param name="sfactor">Specifies how the red, green, blue, and alpha source blending factors are computed. The initial value is GL_ONE.</param>
 /// <param name="dfactor">Specifies how the red, green, blue, and alpha destination blending factors are computed. The following symbolic constants are accepted: GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_DST_COLOR, GL_ONE_MINUS_DST_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_ALPHA, GL_ONE_MINUS_DST_ALPHA. GL_CONSTANT_COLOR, GL_ONE_MINUS_CONSTANT_COLOR, GL_CONSTANT_ALPHA, and GL_ONE_MINUS_CONSTANT_ALPHA. The initial value is GL_ZERO.</param>
 public static void BlendFunc(BlendFactorSrc sfactor, BlendFactorDst dfactor)
 {
     Delegates.glBlendFunc(sfactor, dfactor);
 }
예제 #4
0
 public static void BlendFuncSeparate(BlendFactorSrc sfactorRGB, BlendFactorDst dfactorRGB, BlendFactorSrc sfactorAlpha, BlendFactorDst dfactorAlpha)
 {
     Delegates.glBlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
 }
예제 #5
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="buf">specifies the index of the draw buffer</param>
 /// <param name="src"></param>
 /// <param name="dst"></param>
 public static void BlendFunci(uint buf, BlendFactorSrc src, BlendFactorDst dst)
 {
     Delegates.glBlendFunci(buf, src, dst);
 }
예제 #6
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="buf">specifies the index of the draw buffer</param>
 /// <param name="srcRGB"></param>
 /// <param name="dstRGB"></param>
 /// <param name="srcAlpha"></param>
 /// <param name="dstAlpha"></param>
 public static void BlendFuncSeparatei(uint buf, BlendFactorSrc srcRGB, BlendFactorDst dstRGB, BlendFactorSrc srcAlpha, BlendFactorDst dstAlpha)
 {
     Delegates.glBlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha);
 }