2005-02-15 12:05:36 +01:00
|
|
|
/* MACHINE GENERATED FILE, DO NOT EDIT */
|
|
|
|
|
|
2004-02-08 21:41:00 +01:00
|
|
|
package org.lwjgl.opengl;
|
2004-01-20 09:37:17 +01:00
|
|
|
|
2005-05-05 12:02:45 +02:00
|
|
|
import org.lwjgl.LWJGLException;
|
2005-02-15 12:05:36 +01:00
|
|
|
import org.lwjgl.BufferChecks;
|
2005-05-05 12:02:45 +02:00
|
|
|
import java.nio.*;
|
2004-07-04 15:14:06 +02:00
|
|
|
|
2004-02-19 00:54:46 +01:00
|
|
|
public final class EXTBlendFuncSeparate {
|
2005-02-15 12:05:36 +01:00
|
|
|
public static final int GL_BLEND_DST_RGB_EXT = 0x80c8;
|
2005-06-29 09:39:28 +02:00
|
|
|
public static final int GL_BLEND_SRC_RGB_EXT = 0x80c9;
|
|
|
|
|
public static final int GL_BLEND_DST_ALPHA_EXT = 0x80ca;
|
|
|
|
|
public static final int GL_BLEND_SRC_ALPHA_EXT = 0x80cb;
|
2004-01-20 09:37:17 +01:00
|
|
|
|
2004-07-31 11:34:09 +02:00
|
|
|
private EXTBlendFuncSeparate() {
|
|
|
|
|
}
|
|
|
|
|
|
2004-07-03 23:12:33 +02:00
|
|
|
|
2005-02-16 17:04:29 +01:00
|
|
|
public static void glBlendFuncSeparateEXT(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha) {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().EXT_blend_func_separate_glBlendFuncSeparateEXT_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
nglBlendFuncSeparateEXT(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha, function_pointer);
|
|
|
|
|
}
|
|
|
|
|
private static native void nglBlendFuncSeparateEXT(int sfactorRGB, int dfactorRGB, int sfactorAlpha, int dfactorAlpha, long function_pointer);
|
2004-01-20 09:37:17 +01:00
|
|
|
}
|