Add more constants to GL / GLFbo interfaces so they can be decoded by GLTracer

experimental
shadowislord 10 years ago
parent 1e8b5ef338
commit 4668892c85
  1. 5
      jme3-core/src/main/java/com/jme3/renderer/opengl/GL.java
  2. 14
      jme3-core/src/main/java/com/jme3/renderer/opengl/GLFbo.java

@ -151,6 +151,11 @@ public interface GL {
public static final int GL_TEXTURE_2D = 0xDE1; public static final int GL_TEXTURE_2D = 0xDE1;
public static final int GL_TEXTURE_CUBE_MAP = 0x8513; public static final int GL_TEXTURE_CUBE_MAP = 0x8513;
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
public static final int GL_TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
public static final int GL_TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
public static final int GL_TEXTURE_MAG_FILTER = 0x2800; public static final int GL_TEXTURE_MAG_FILTER = 0x2800;
public static final int GL_TEXTURE_MAX_LEVEL = 0x813D; public static final int GL_TEXTURE_MAX_LEVEL = 0x813D;
public static final int GL_TEXTURE_MIN_FILTER = 0x2801; public static final int GL_TEXTURE_MIN_FILTER = 0x2801;

@ -44,6 +44,20 @@ import java.nio.IntBuffer;
public interface GLFbo { public interface GLFbo {
public static final int GL_COLOR_ATTACHMENT0_EXT = 0x8CE0; public static final int GL_COLOR_ATTACHMENT0_EXT = 0x8CE0;
public static final int GL_COLOR_ATTACHMENT1_EXT = 0x8CE1;
public static final int GL_COLOR_ATTACHMENT2_EXT = 0x8CE2;
public static final int GL_COLOR_ATTACHMENT3_EXT = 0x8CE3;
public static final int GL_COLOR_ATTACHMENT4_EXT = 0x8CE4;
public static final int GL_COLOR_ATTACHMENT5_EXT = 0x8CE5;
public static final int GL_COLOR_ATTACHMENT6_EXT = 0x8CE6;
public static final int GL_COLOR_ATTACHMENT7_EXT = 0x8CE7;
public static final int GL_COLOR_ATTACHMENT8_EXT = 0x8CE8;
public static final int GL_COLOR_ATTACHMENT9_EXT = 0x8CE9;
public static final int GL_COLOR_ATTACHMENT10_EXT = 0x8CEA;
public static final int GL_COLOR_ATTACHMENT11_EXT = 0x8CEB;
public static final int GL_COLOR_ATTACHMENT12_EXT = 0x8CEC;
public static final int GL_COLOR_ATTACHMENT13_EXT = 0x8CED;
public static final int GL_COLOR_ATTACHMENT14_EXT = 0x8CEE;
public static final int GL_COLOR_ATTACHMENT15_EXT = 0x8CEF; public static final int GL_COLOR_ATTACHMENT15_EXT = 0x8CEF;
public static final int GL_DEPTH_ATTACHMENT_EXT = 0x8D00; public static final int GL_DEPTH_ATTACHMENT_EXT = 0x8D00;
public static final int GL_DRAW_FRAMEBUFFER_BINDING_EXT = 0x8CA6; public static final int GL_DRAW_FRAMEBUFFER_BINDING_EXT = 0x8CA6;

Loading…
Cancel
Save