Class OESTexture3D

java.lang.Object
org.lwjgl.opengles.OESTexture3D

public class OESTexture3D extends Object
Native bindings to the OES_texture_3D extension.

This extension adds support for 3D textures. The OpenGL ES 2.0 texture wrap modes and mip-mapping is supported for power of two 3D textures. Mip- mapping and texture wrap modes other than CLAMP_TO_EDGE are not supported for non-power of two 3D textures.

The OES_texture_npot extension, if supported, will enable mip-mapping and other wrap modes for non-power of two 3D textures.

Requires GLES 2.0.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Accepted by the pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.
    static final int
    Accepted by the target parameter of TexImage3DOES, TexSubImage3DOES, CopyTexSubImage3DOES, CompressedTexImage3DOES and CompressedTexSubImage3DOES, GetTexParameteriv, and GetTexParameterfv.
    static final int
    Accepted by the pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.
    static final int
    Accepted by the pname parameter of TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    glCompressedTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, long data)
     
    static void
    glCompressedTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, ByteBuffer data)
     
    static void
    glCompressedTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, long data)
     
    static void
    glCompressedTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, ByteBuffer data)
     
    static void
    glCopyTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)
     
    static void
    glFramebufferTexture3DOES(int target, int attachment, int textarget, int texture, int level, int zoffset)
     
    static void
    glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, float[] pixels)
    Array version of: TexImage3DOES
    static void
    glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, int[] pixels)
    Array version of: TexImage3DOES
    static void
    glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, long pixels)
     
    static void
    glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, short[] pixels)
    Array version of: TexImage3DOES
    static void
    glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, ByteBuffer pixels)
     
    static void
    glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, FloatBuffer pixels)
     
    static void
    glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, IntBuffer pixels)
     
    static void
    glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, ShortBuffer pixels)
     
    static void
    glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, float[] pixels)
    Array version of: TexSubImage3DOES
    static void
    glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, int[] pixels)
    Array version of: TexSubImage3DOES
    static void
    glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, long pixels)
     
    static void
    glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, short[] pixels)
    Array version of: TexSubImage3DOES
    static void
    glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, ByteBuffer pixels)
     
    static void
    glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, FloatBuffer pixels)
     
    static void
    glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, IntBuffer pixels)
     
    static void
    glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, ShortBuffer pixels)
     
    static void
    nglCompressedTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, long data)
     
    static void
    nglCompressedTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, long data)
     
    static void
    nglTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, long pixels)
     
    static void
    nglTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, long pixels)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • GL_TEXTURE_3D_OES

      public static final int GL_TEXTURE_3D_OES
      Accepted by the target parameter of TexImage3DOES, TexSubImage3DOES, CopyTexSubImage3DOES, CompressedTexImage3DOES and CompressedTexSubImage3DOES, GetTexParameteriv, and GetTexParameterfv.
      See Also:
    • GL_TEXTURE_WRAP_R_OES

      public static final int GL_TEXTURE_WRAP_R_OES
      Accepted by the pname parameter of TexParameteriv, TexParameterfv, GetTexParameteriv, and GetTexParameterfv.
      See Also:
    • GL_MAX_3D_TEXTURE_SIZE_OES

      public static final int GL_MAX_3D_TEXTURE_SIZE_OES
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.
      See Also:
    • GL_TEXTURE_BINDING_3D_OES

      public static final int GL_TEXTURE_BINDING_3D_OES
      Accepted by the pname parameter of GetBooleanv, GetIntegerv, and GetFloatv.
      See Also:
  • Method Details

    • nglTexImage3DOES

      public static void nglTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, long pixels)
    • glTexImage3DOES

      public static void glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @Nullable ByteBuffer pixels)
    • glTexImage3DOES

      public static void glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, long pixels)
    • glTexImage3DOES

      public static void glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @Nullable ShortBuffer pixels)
    • glTexImage3DOES

      public static void glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @Nullable IntBuffer pixels)
    • glTexImage3DOES

      public static void glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @Nullable FloatBuffer pixels)
    • nglTexSubImage3DOES

      public static void nglTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, long pixels)
    • glTexSubImage3DOES

      public static void glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, ByteBuffer pixels)
    • glTexSubImage3DOES

      public static void glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, long pixels)
    • glTexSubImage3DOES

      public static void glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, ShortBuffer pixels)
    • glTexSubImage3DOES

      public static void glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, IntBuffer pixels)
    • glTexSubImage3DOES

      public static void glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, FloatBuffer pixels)
    • glCopyTexSubImage3DOES

      public static void glCopyTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int x, int y, int width, int height)
    • nglCompressedTexImage3DOES

      public static void nglCompressedTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, long data)
    • glCompressedTexImage3DOES

      public static void glCompressedTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int imageSize, long data)
    • glCompressedTexImage3DOES

      public static void glCompressedTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, @Nullable ByteBuffer data)
    • nglCompressedTexSubImage3DOES

      public static void nglCompressedTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, long data)
    • glCompressedTexSubImage3DOES

      public static void glCompressedTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int imageSize, long data)
    • glCompressedTexSubImage3DOES

      public static void glCompressedTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, ByteBuffer data)
    • glFramebufferTexture3DOES

      public static void glFramebufferTexture3DOES(int target, int attachment, int textarget, int texture, int level, int zoffset)
    • glTexImage3DOES

      public static void glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @Nullable short[] pixels)
      Array version of: TexImage3DOES
    • glTexImage3DOES

      public static void glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @Nullable int[] pixels)
      Array version of: TexImage3DOES
    • glTexImage3DOES

      public static void glTexImage3DOES(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, @Nullable float[] pixels)
      Array version of: TexImage3DOES
    • glTexSubImage3DOES

      public static void glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, short[] pixels)
      Array version of: TexSubImage3DOES
    • glTexSubImage3DOES

      public static void glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, int[] pixels)
      Array version of: TexSubImage3DOES
    • glTexSubImage3DOES

      public static void glTexSubImage3DOES(int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int type, float[] pixels)
      Array version of: TexSubImage3DOES