Class GL42C

Direct Known Subclasses:
GL43C

public sealed class GL42C extends GL41C permits GL43C
GL42C relies on preview features of the Java platform:
Programs can only use GL42C when preview features are enabled.
Preview features may be removed in a future release, or upgraded to permanent features of the Java platform.
The OpenGL 4.2 core profile functions.

These extensions are promoted in this version:

  • GL_ARB_base_instance
  • GL_ARB_internalformat_query
  • GL_ARB_shader_atomic_counters
  • GL_ARB_shader_image_load_store
  • GL_ARB_texture_storage
  • GL_ARB_transform_feedback_instanced
  • GL_ARB_texture_compression_bptc
Since:
0.1.0
Author:
squid233
  • Field Details

    • COPY_READ_BUFFER_BINDING

      public static final int COPY_READ_BUFFER_BINDING
      See Also:
    • COPY_WRITE_BUFFER_BINDING

      public static final int COPY_WRITE_BUFFER_BINDING
      See Also:
    • TRANSFORM_FEEDBACK_ACTIVE

      public static final int TRANSFORM_FEEDBACK_ACTIVE
      See Also:
    • TRANSFORM_FEEDBACK_PAUSED

      public static final int TRANSFORM_FEEDBACK_PAUSED
      See Also:
    • UNPACK_COMPRESSED_BLOCK_WIDTH

      public static final int UNPACK_COMPRESSED_BLOCK_WIDTH
      See Also:
    • UNPACK_COMPRESSED_BLOCK_HEIGHT

      public static final int UNPACK_COMPRESSED_BLOCK_HEIGHT
      See Also:
    • UNPACK_COMPRESSED_BLOCK_DEPTH

      public static final int UNPACK_COMPRESSED_BLOCK_DEPTH
      See Also:
    • UNPACK_COMPRESSED_BLOCK_SIZE

      public static final int UNPACK_COMPRESSED_BLOCK_SIZE
      See Also:
    • PACK_COMPRESSED_BLOCK_WIDTH

      public static final int PACK_COMPRESSED_BLOCK_WIDTH
      See Also:
    • PACK_COMPRESSED_BLOCK_HEIGHT

      public static final int PACK_COMPRESSED_BLOCK_HEIGHT
      See Also:
    • PACK_COMPRESSED_BLOCK_DEPTH

      public static final int PACK_COMPRESSED_BLOCK_DEPTH
      See Also:
    • PACK_COMPRESSED_BLOCK_SIZE

      public static final int PACK_COMPRESSED_BLOCK_SIZE
      See Also:
    • NUM_SAMPLE_COUNTS

      public static final int NUM_SAMPLE_COUNTS
      See Also:
    • MIN_MAP_BUFFER_ALIGNMENT

      public static final int MIN_MAP_BUFFER_ALIGNMENT
      See Also:
    • ATOMIC_COUNTER_BUFFER

      public static final int ATOMIC_COUNTER_BUFFER
      See Also:
    • ATOMIC_COUNTER_BUFFER_BINDING

      public static final int ATOMIC_COUNTER_BUFFER_BINDING
      See Also:
    • ATOMIC_COUNTER_BUFFER_START

      public static final int ATOMIC_COUNTER_BUFFER_START
      See Also:
    • ATOMIC_COUNTER_BUFFER_SIZE

      public static final int ATOMIC_COUNTER_BUFFER_SIZE
      See Also:
    • ATOMIC_COUNTER_BUFFER_DATA_SIZE

      public static final int ATOMIC_COUNTER_BUFFER_DATA_SIZE
      See Also:
    • ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS

      public static final int ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS
      See Also:
    • ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES

      public static final int ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES
      See Also:
    • ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER

      public static final int ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER
      See Also:
    • ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER

      public static final int ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER
      See Also:
    • ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER

      public static final int ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER
      See Also:
    • ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER

      public static final int ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER
      See Also:
    • ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER

      public static final int ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER
      See Also:
    • MAX_VERTEX_ATOMIC_COUNTER_BUFFERS

      public static final int MAX_VERTEX_ATOMIC_COUNTER_BUFFERS
      See Also:
    • MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS

      public static final int MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS
      See Also:
    • MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS

      public static final int MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS
      See Also:
    • MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS

      public static final int MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS
      See Also:
    • MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS

      public static final int MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS
      See Also:
    • MAX_COMBINED_ATOMIC_COUNTER_BUFFERS

      public static final int MAX_COMBINED_ATOMIC_COUNTER_BUFFERS
      See Also:
    • MAX_VERTEX_ATOMIC_COUNTERS

      public static final int MAX_VERTEX_ATOMIC_COUNTERS
      See Also:
    • MAX_TESS_CONTROL_ATOMIC_COUNTERS

      public static final int MAX_TESS_CONTROL_ATOMIC_COUNTERS
      See Also:
    • MAX_TESS_EVALUATION_ATOMIC_COUNTERS

      public static final int MAX_TESS_EVALUATION_ATOMIC_COUNTERS
      See Also:
    • MAX_GEOMETRY_ATOMIC_COUNTERS

      public static final int MAX_GEOMETRY_ATOMIC_COUNTERS
      See Also:
    • MAX_FRAGMENT_ATOMIC_COUNTERS

      public static final int MAX_FRAGMENT_ATOMIC_COUNTERS
      See Also:
    • MAX_COMBINED_ATOMIC_COUNTERS

      public static final int MAX_COMBINED_ATOMIC_COUNTERS
      See Also:
    • MAX_ATOMIC_COUNTER_BUFFER_SIZE

      public static final int MAX_ATOMIC_COUNTER_BUFFER_SIZE
      See Also:
    • MAX_ATOMIC_COUNTER_BUFFER_BINDINGS

      public static final int MAX_ATOMIC_COUNTER_BUFFER_BINDINGS
      See Also:
    • ACTIVE_ATOMIC_COUNTER_BUFFERS

      public static final int ACTIVE_ATOMIC_COUNTER_BUFFERS
      See Also:
    • UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX

      public static final int UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX
      See Also:
    • UNSIGNED_INT_ATOMIC_COUNTER

      public static final int UNSIGNED_INT_ATOMIC_COUNTER
      See Also:
    • VERTEX_ATTRIB_ARRAY_BARRIER_BIT

      public static final int VERTEX_ATTRIB_ARRAY_BARRIER_BIT
      See Also:
    • ELEMENT_ARRAY_BARRIER_BIT

      public static final int ELEMENT_ARRAY_BARRIER_BIT
      See Also:
    • UNIFORM_BARRIER_BIT

      public static final int UNIFORM_BARRIER_BIT
      See Also:
    • TEXTURE_FETCH_BARRIER_BIT

      public static final int TEXTURE_FETCH_BARRIER_BIT
      See Also:
    • SHADER_IMAGE_ACCESS_BARRIER_BIT

      public static final int SHADER_IMAGE_ACCESS_BARRIER_BIT
      See Also:
    • COMMAND_BARRIER_BIT

      public static final int COMMAND_BARRIER_BIT
      See Also:
    • PIXEL_BUFFER_BARRIER_BIT

      public static final int PIXEL_BUFFER_BARRIER_BIT
      See Also:
    • TEXTURE_UPDATE_BARRIER_BIT

      public static final int TEXTURE_UPDATE_BARRIER_BIT
      See Also:
    • BUFFER_UPDATE_BARRIER_BIT

      public static final int BUFFER_UPDATE_BARRIER_BIT
      See Also:
    • FRAMEBUFFER_BARRIER_BIT

      public static final int FRAMEBUFFER_BARRIER_BIT
      See Also:
    • TRANSFORM_FEEDBACK_BARRIER_BIT

      public static final int TRANSFORM_FEEDBACK_BARRIER_BIT
      See Also:
    • ATOMIC_COUNTER_BARRIER_BIT

      public static final int ATOMIC_COUNTER_BARRIER_BIT
      See Also:
    • ALL_BARRIER_BITS

      public static final int ALL_BARRIER_BITS
      See Also:
    • MAX_IMAGE_UNITS

      public static final int MAX_IMAGE_UNITS
      See Also:
    • MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS

      public static final int MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS
      See Also:
    • IMAGE_BINDING_NAME

      public static final int IMAGE_BINDING_NAME
      See Also:
    • IMAGE_BINDING_LEVEL

      public static final int IMAGE_BINDING_LEVEL
      See Also:
    • IMAGE_BINDING_LAYERED

      public static final int IMAGE_BINDING_LAYERED
      See Also:
    • IMAGE_BINDING_LAYER

      public static final int IMAGE_BINDING_LAYER
      See Also:
    • IMAGE_BINDING_ACCESS

      public static final int IMAGE_BINDING_ACCESS
      See Also:
    • IMAGE_1D

      public static final int IMAGE_1D
      See Also:
    • IMAGE_2D

      public static final int IMAGE_2D
      See Also:
    • IMAGE_3D

      public static final int IMAGE_3D
      See Also:
    • IMAGE_2D_RECT

      public static final int IMAGE_2D_RECT
      See Also:
    • IMAGE_CUBE

      public static final int IMAGE_CUBE
      See Also:
    • IMAGE_BUFFER

      public static final int IMAGE_BUFFER
      See Also:
    • IMAGE_1D_ARRAY

      public static final int IMAGE_1D_ARRAY
      See Also:
    • IMAGE_2D_ARRAY

      public static final int IMAGE_2D_ARRAY
      See Also:
    • IMAGE_CUBE_MAP_ARRAY

      public static final int IMAGE_CUBE_MAP_ARRAY
      See Also:
    • IMAGE_2D_MULTISAMPLE

      public static final int IMAGE_2D_MULTISAMPLE
      See Also:
    • IMAGE_2D_MULTISAMPLE_ARRAY

      public static final int IMAGE_2D_MULTISAMPLE_ARRAY
      See Also:
    • INT_IMAGE_1D

      public static final int INT_IMAGE_1D
      See Also:
    • INT_IMAGE_2D

      public static final int INT_IMAGE_2D
      See Also:
    • INT_IMAGE_3D

      public static final int INT_IMAGE_3D
      See Also:
    • INT_IMAGE_2D_RECT

      public static final int INT_IMAGE_2D_RECT
      See Also:
    • INT_IMAGE_CUBE

      public static final int INT_IMAGE_CUBE
      See Also:
    • INT_IMAGE_BUFFER

      public static final int INT_IMAGE_BUFFER
      See Also:
    • INT_IMAGE_1D_ARRAY

      public static final int INT_IMAGE_1D_ARRAY
      See Also:
    • INT_IMAGE_2D_ARRAY

      public static final int INT_IMAGE_2D_ARRAY
      See Also:
    • INT_IMAGE_CUBE_MAP_ARRAY

      public static final int INT_IMAGE_CUBE_MAP_ARRAY
      See Also:
    • INT_IMAGE_2D_MULTISAMPLE

      public static final int INT_IMAGE_2D_MULTISAMPLE
      See Also:
    • INT_IMAGE_2D_MULTISAMPLE_ARRAY

      public static final int INT_IMAGE_2D_MULTISAMPLE_ARRAY
      See Also:
    • UNSIGNED_INT_IMAGE_1D

      public static final int UNSIGNED_INT_IMAGE_1D
      See Also:
    • UNSIGNED_INT_IMAGE_2D

      public static final int UNSIGNED_INT_IMAGE_2D
      See Also:
    • UNSIGNED_INT_IMAGE_3D

      public static final int UNSIGNED_INT_IMAGE_3D
      See Also:
    • UNSIGNED_INT_IMAGE_2D_RECT

      public static final int UNSIGNED_INT_IMAGE_2D_RECT
      See Also:
    • UNSIGNED_INT_IMAGE_CUBE

      public static final int UNSIGNED_INT_IMAGE_CUBE
      See Also:
    • UNSIGNED_INT_IMAGE_BUFFER

      public static final int UNSIGNED_INT_IMAGE_BUFFER
      See Also:
    • UNSIGNED_INT_IMAGE_1D_ARRAY

      public static final int UNSIGNED_INT_IMAGE_1D_ARRAY
      See Also:
    • UNSIGNED_INT_IMAGE_2D_ARRAY

      public static final int UNSIGNED_INT_IMAGE_2D_ARRAY
      See Also:
    • UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY

      public static final int UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY
      See Also:
    • UNSIGNED_INT_IMAGE_2D_MULTISAMPLE

      public static final int UNSIGNED_INT_IMAGE_2D_MULTISAMPLE
      See Also:
    • UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY

      public static final int UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY
      See Also:
    • MAX_IMAGE_SAMPLES

      public static final int MAX_IMAGE_SAMPLES
      See Also:
    • IMAGE_BINDING_FORMAT

      public static final int IMAGE_BINDING_FORMAT
      See Also:
    • IMAGE_FORMAT_COMPATIBILITY_TYPE

      public static final int IMAGE_FORMAT_COMPATIBILITY_TYPE
      See Also:
    • IMAGE_FORMAT_COMPATIBILITY_BY_SIZE

      public static final int IMAGE_FORMAT_COMPATIBILITY_BY_SIZE
      See Also:
    • IMAGE_FORMAT_COMPATIBILITY_BY_CLASS

      public static final int IMAGE_FORMAT_COMPATIBILITY_BY_CLASS
      See Also:
    • MAX_VERTEX_IMAGE_UNIFORMS

      public static final int MAX_VERTEX_IMAGE_UNIFORMS
      See Also:
    • MAX_TESS_CONTROL_IMAGE_UNIFORMS

      public static final int MAX_TESS_CONTROL_IMAGE_UNIFORMS
      See Also:
    • MAX_TESS_EVALUATION_IMAGE_UNIFORMS

      public static final int MAX_TESS_EVALUATION_IMAGE_UNIFORMS
      See Also:
    • MAX_GEOMETRY_IMAGE_UNIFORMS

      public static final int MAX_GEOMETRY_IMAGE_UNIFORMS
      See Also:
    • MAX_FRAGMENT_IMAGE_UNIFORMS

      public static final int MAX_FRAGMENT_IMAGE_UNIFORMS
      See Also:
    • MAX_COMBINED_IMAGE_UNIFORMS

      public static final int MAX_COMBINED_IMAGE_UNIFORMS
      See Also:
    • COMPRESSED_RGBA_BPTC_UNORM

      public static final int COMPRESSED_RGBA_BPTC_UNORM
      See Also:
    • COMPRESSED_SRGB_ALPHA_BPTC_UNORM

      public static final int COMPRESSED_SRGB_ALPHA_BPTC_UNORM
      See Also:
    • COMPRESSED_RGB_BPTC_SIGNED_FLOAT

      public static final int COMPRESSED_RGB_BPTC_SIGNED_FLOAT
      See Also:
    • COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT

      public static final int COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT
      See Also:
    • TEXTURE_IMMUTABLE_FORMAT

      public static final int TEXTURE_IMMUTABLE_FORMAT
      See Also:
  • Constructor Details

    • GL42C

      public GL42C()
  • Method Details

    • bindImageTexture

      public static void bindImageTexture(int unit, int texture, int level, boolean layered, int layer, int access, int format)
    • drawArraysInstancedBaseInstance

      public static void drawArraysInstancedBaseInstance(int mode, int first, int count, int instanceCount, int baseInstance)
    • drawElementsInstancedBaseInstance

      public static void drawElementsInstancedBaseInstance(int mode, int count, int type, MemorySegmentPREVIEW indices, int instanceCount, int baseInstance)
    • drawElementsInstancedBaseInstance

      public static void drawElementsInstancedBaseInstance(SegmentAllocatorPREVIEW allocator, int mode, int count, int type, byte[] indices, int instanceCount, int baseInstance)
    • drawElementsInstancedBaseInstance

      public static void drawElementsInstancedBaseInstance(SegmentAllocatorPREVIEW allocator, int mode, int count, int type, short[] indices, int instanceCount, int baseInstance)
    • drawElementsInstancedBaseInstance

      public static void drawElementsInstancedBaseInstance(SegmentAllocatorPREVIEW allocator, int mode, int count, int type, int[] indices, int instanceCount, int baseInstance)
    • drawElementsInstancedBaseVertexBaseInstance

      public static void drawElementsInstancedBaseVertexBaseInstance(int mode, int count, int type, MemorySegmentPREVIEW indices, int instanceCount, int baseVertex, int baseInstance)
    • drawElementsInstancedBaseVertexBaseInstance

      public static void drawElementsInstancedBaseVertexBaseInstance(SegmentAllocatorPREVIEW allocator, int mode, int count, int type, byte[] indices, int instanceCount, int baseVertex, int baseInstance)
    • drawElementsInstancedBaseVertexBaseInstance

      public static void drawElementsInstancedBaseVertexBaseInstance(SegmentAllocatorPREVIEW allocator, int mode, int count, int type, short[] indices, int instanceCount, int baseVertex, int baseInstance)
    • drawElementsInstancedBaseVertexBaseInstance

      public static void drawElementsInstancedBaseVertexBaseInstance(SegmentAllocatorPREVIEW allocator, int mode, int count, int type, int[] indices, int instanceCount, int baseVertex, int baseInstance)
    • drawTransformFeedbackInstanced

      public static void drawTransformFeedbackInstanced(int mode, int id, int instanceCount)
    • drawTransformFeedbackStreamInstanced

      public static void drawTransformFeedbackStreamInstanced(int mode, int id, int stream, int instanceCount)
    • getActiveAtomicCounterBufferiv

      public static void getActiveAtomicCounterBufferiv(int program, int bufferIndex, int pname, MemorySegmentPREVIEW params)
    • getActiveAtomicCounterBufferiv

      public static void getActiveAtomicCounterBufferiv(SegmentAllocatorPREVIEW allocator, int program, int bufferIndex, int pname, int[] params)
    • getActiveAtomicCounterBufferi

      public static int getActiveAtomicCounterBufferi(int program, int bufferIndex, int pname)
    • getInternalformativ

      public static void getInternalformativ(int target, int internalFormat, int pname, int count, MemorySegmentPREVIEW params)
    • getInternalformativ

      public static void getInternalformativ(SegmentAllocatorPREVIEW allocator, int target, int internalFormat, int pname, int[] params)
    • getInternalformati

      public static int getInternalformati(int target, int internalFormat, int pname)
    • memoryBarrier

      public static void memoryBarrier(int barriers)
    • texStorage1D

      public static void texStorage1D(int target, int levels, int internalFormat, int width)
    • texStorage2D

      public static void texStorage2D(int target, int levels, int internalFormat, int width, int height)
    • texStorage3D

      public static void texStorage3D(int target, int levels, int internalFormat, int width, int height, int depth)