Пример #1
0
 /// <summary>
 /// Sets up separate blend equation.
 /// </summary>
 /// <param name="modeRGB"></param>
 /// <param name="modeAlpha"></param>
 public static void BlendEquationSeparate(BlendEquationSeparateRGB modeRGB, BlendEquationSeparateAlpha modeAlpha)
 {
     Delegates.glBlendEquationSeparate(modeRGB, modeAlpha);
 }
Пример #2
0
 /// <summary>
 /// Sets up separate blend equation.
 /// </summary>
 /// <param name="modeRGB"></param>
 /// <param name="modeAlpha"></param>
 public static void BlendEquationSeparate(BlendEquationSeparateRGB modeRGB, BlendEquationSeparateAlpha modeAlpha)
 {
     Delegates.glBlendEquationSeparate(modeRGB, modeAlpha);
 }
Пример #3
0
 //ARB_draw_buffer_blend
 /// <summary>
 /// Sets the RGB blend equation and the alpha blend equation separately
 /// </summary>
 /// <param name="buf">specifies the index of the draw buffer for which to set the blend equations.</param>
 /// <param name="modeRGB">specifies the RGB blend equation, how the red, green, and blue components of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.</param>
 /// <param name="modeAlpha">specifies the alpha blend equation, how the alpha component of the source and destination colors are combined. It must be GL_FUNC_ADD, GL_FUNC_SUBTRACT, GL_FUNC_REVERSE_SUBTRACT, GL_MIN, GL_MAX.</param>
 /// <remarks>
 /// The blend equations determines how a new pixel (the ''source'' color) is combined with a pixel already in the framebuffer (the ''destination'' color). These functions specifie one blend equation for the RGB-color components and one blend equation for the alpha component. glBlendEquationSeparatei specifies the blend equations for a single draw buffer whereas glBlendEquationSeparate sets the blend equations for all draw buffers.
 /// </remarks>
 public static void BlendEquationSeparatei(uint buf, BlendEquationSeparateRGB modeRGB, BlendEquationSeparateAlpha modeAlpha)
 {
     Delegates.glBlendEquationSeparatei(buf, modeRGB, modeAlpha);
 }