public void glActiveTexture (int texture) { GL13.glActiveTexture(texture); }
public void glCompressedTexImage2D (int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data) { if (data instanceof ByteBuffer) { GL13.glCompressedTexImage2D(target, level, internalformat, width, height, border, (ByteBuffer)data); } else { throw new GdxRuntimeException("Can't use " + data.getClass().getName() + " with this method. Use ByteBuffer instead."); } }
@Override public void glCompressedTexImage3D(final int target, final int level, final int internalFormat, final int width, final int height, final int depth, final int border, final ByteBuffer data) { checkLimit(data); GL13.glCompressedTexImage3D(target, level, internalFormat, width, height, depth, border, data); }
@Override public void glCompressedTexSubImage3D(final int target, final int level, final int xoffset, final int yoffset, final int zoffset, final int width, final int height, final int depth, final int format, final ByteBuffer data) { checkLimit(data); GL13.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, data); }
@Override public void glCompressedTexSubImage2D(final int target, final int level, final int xoffset, final int yoffset, final int width, final int height, final int format, final ByteBuffer data) { checkLimit(data); GL13.glCompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, data); }
glCompressedTexSubImage3D(target, i, x, y, index, mipWidth, mipHeight, mipDepth, glFmtInternal, data); continue; glCompressedTexSubImage2D(target, i, x, y, mipWidth, mipHeight, glFmtInternal, data); continue;
public void glCompressedTexSubImage3D(int param1, int param2, int param3, int param4, int param5, int param6, int param7, int param8, int param9, ByteBuffer param10) { checkLimit(param10); GL13.glCompressedTexSubImage3D(param1, param2, param3, param4, param5, param6, param7, param8, param9, param10); }
public void glCompressedTexSubImage2D(int param1, int param2, int param3, int param4, int param5, int param6, int param7, ByteBuffer param8) { checkLimit(param8); GL13.glCompressedTexSubImage2D(param1, param2, param3, param4, param5, param6, param7, param8); }
public void glActiveTexture (int texture) { GL13.glActiveTexture(texture); }
public void glCompressedTexImage2D (int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data) { if (data instanceof ByteBuffer) { GL13.glCompressedTexImage2D(target, level, internalformat, width, height, border, (ByteBuffer)data); } else { throw new GdxRuntimeException("Can't use " + data.getClass().getName() + " with this method. Use ByteBuffer instead."); } }
public void glCompressedTexImage3D(int param1, int param2, int param3, int param4, int param5, int param6, int param7, ByteBuffer param8) { checkLimit(param8); GL13.glCompressedTexImage3D(param1, param2, param3, param4, param5, param6, param7, param8); }
@Override public void glCompressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, Buffer data) { // imageSize is calculated in glCompressedTexSubImage3D. GL13.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, (ByteBuffer) data); }
@Override public void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int data_imageSize, int data) { GL13.glCompressedTexSubImage2D( target, level, xoffset, yoffset, width, height, format, data_imageSize, data); }
public void glActiveTexture (int texture) { GL13.glActiveTexture(texture); }
public void glCompressedTexImage2D (int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data) { if (data instanceof ByteBuffer) { GL13.glCompressedTexImage2D(target, level, internalformat, width, height, border, (ByteBuffer)data); } else { throw new GdxRuntimeException("Can't use " + data.getClass().getName() + " with this method. Use ByteBuffer instead."); } }
@Override public void glCompressedTexImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, int data) { GL13.glCompressedTexImage3D( target, level, internalformat, width, height, depth, border, imageSize, data); }
@Override public void glCompressedTexSubImage3D(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, Buffer data) { // imageSize is calculated in glCompressedTexSubImage3D. GL13.glCompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, (ByteBuffer) data); }
@Override public void glCompressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, int data_imageSize, int data) { GL13.glCompressedTexSubImage2D( target, level, xoffset, yoffset, width, height, format, data_imageSize, data); }
public void glActiveTexture (int texture) { GL13.glActiveTexture(texture); }
public void glCompressedTexImage2D (int target, int level, int internalformat, int width, int height, int border, int imageSize, Buffer data) { if (data instanceof ByteBuffer) { GL13.glCompressedTexImage2D(target, level, internalformat, width, height, border, (ByteBuffer)data); } else { throw new GdxRuntimeException("Can't use " + data.getClass().getName() + " with this method. Use ByteBuffer instead."); } }