Class GLES32


  • public class GLES32
    extends GLES31
    The core OpenGL ES 3.2 functionality.
    • Method Detail

      • glBlendBarrier

        public static void glBlendBarrier()
        Specifies a boundary between passes when using advanced blend equations.

        When using advanced blending equations, applications should split their rendering into a collection of blending passes, none of which touch an individual sample in the framebuffer more than once. The results of blending are undefined if the sample being blended has been touched previously in the same pass. Any command that causes the value of a sample to be modified using the framebuffer is considered to touch the sample, including clears, blended or unblended primitives, and BlitFramebuffer copies.

        See Also:
        Reference Page
      • glCopyImageSubData

        public static void glCopyImageSubData​(int srcName,
                                              int srcTarget,
                                              int srcLevel,
                                              int srcX,
                                              int srcY,
                                              int srcZ,
                                              int dstName,
                                              int dstTarget,
                                              int dstLevel,
                                              int dstX,
                                              int dstY,
                                              int dstZ,
                                              int srcWidth,
                                              int srcHeight,
                                              int srcDepth)
      • nglDebugMessageControl

        public static void nglDebugMessageControl​(int source,
                                                  int type,
                                                  int severity,
                                                  int count,
                                                  long ids,
                                                  boolean enabled)
        Unsafe version of: DebugMessageControl
        Parameters:
        count - the length of the array ids
      • glDebugMessageControl

        public static void glDebugMessageControl​(int source,
                                                 int type,
                                                 int severity,
                                                 java.nio.IntBuffer ids,
                                                 boolean enabled)
        Controls the volume of debug output in the active debug group, by disabling specific or groups of messages.

        If enabled is TRUE, the referenced subset of messages will be enabled. If FALSE, then those messages will be disabled.

        This command can reference different subsets of messages by first considering the set of all messages, and filtering out messages based on the following ways:

        • If source, type, or severity is DONT_CARE, the messages from all sources, of all types, or of all severities are referenced respectively.
        • When values other than DONT_CARE are specified, all messages whose source, type, or severity match the specified source, type, or severity respectively will be referenced.
        • If count is greater than zero, then ids is an array of count message IDs for the specified combination of source and type. In this case, if source or type is DONT_CARE, or severity is not DONT_CARE, the error INVALID_OPERATION is generated.

        Unrecognized message IDs in ids are ignored. If count is zero, the value if ids is ignored.

        Although messages are grouped into an implicit hierarchy by their sources and types, there is no explicit per-source, per-type or per-severity enabled state. Instead, the enabled state is stored individually for each message. There is no difference between disabling all messages from one source in a single call, and individually disabling all messages from that source using their types and IDs.

        If the DEBUG_OUTPUT state is disabled the GL operates the same as if messages of every source, type or severity are disabled.

        Parameters:
        source - the source of debug messages to enable or disable. One of:
        DEBUG_SOURCE_APIDEBUG_SOURCE_WINDOW_SYSTEMDEBUG_SOURCE_SHADER_COMPILER
        DEBUG_SOURCE_THIRD_PARTYDEBUG_SOURCE_APPLICATIONDEBUG_SOURCE_OTHER
        type - the type of debug messages to enable or disable. One of:
        DEBUG_TYPE_ERRORDEBUG_TYPE_DEPRECATED_BEHAVIORDEBUG_TYPE_UNDEFINED_BEHAVIOR
        DEBUG_TYPE_PORTABILITYDEBUG_TYPE_PERFORMANCEDEBUG_TYPE_OTHER
        DEBUG_TYPE_MARKER
        severity - the severity of debug messages to enable or disable. One of:
        DEBUG_SEVERITY_HIGHDEBUG_SEVERITY_MEDIUMDEBUG_SEVERITY_LOW
        DEBUG_SEVERITY_NOTIFICATION
        ids - an array of unsigned integers containing the ids of the messages to enable or disable
        enabled - whether the selected messages should be enabled or disabled
        See Also:
        Reference Page
      • glDebugMessageControl

        public static void glDebugMessageControl​(int source,
                                                 int type,
                                                 int severity,
                                                 int id,
                                                 boolean enabled)
        Controls the volume of debug output in the active debug group, by disabling specific or groups of messages.

        If enabled is TRUE, the referenced subset of messages will be enabled. If FALSE, then those messages will be disabled.

        This command can reference different subsets of messages by first considering the set of all messages, and filtering out messages based on the following ways:

        • If source, type, or severity is DONT_CARE, the messages from all sources, of all types, or of all severities are referenced respectively.
        • When values other than DONT_CARE are specified, all messages whose source, type, or severity match the specified source, type, or severity respectively will be referenced.
        • If count is greater than zero, then ids is an array of count message IDs for the specified combination of source and type. In this case, if source or type is DONT_CARE, or severity is not DONT_CARE, the error INVALID_OPERATION is generated.

        Unrecognized message IDs in ids are ignored. If count is zero, the value if ids is ignored.

        Although messages are grouped into an implicit hierarchy by their sources and types, there is no explicit per-source, per-type or per-severity enabled state. Instead, the enabled state is stored individually for each message. There is no difference between disabling all messages from one source in a single call, and individually disabling all messages from that source using their types and IDs.

        If the DEBUG_OUTPUT state is disabled the GL operates the same as if messages of every source, type or severity are disabled.

        Parameters:
        source - the source of debug messages to enable or disable. One of:
        DEBUG_SOURCE_APIDEBUG_SOURCE_WINDOW_SYSTEMDEBUG_SOURCE_SHADER_COMPILER
        DEBUG_SOURCE_THIRD_PARTYDEBUG_SOURCE_APPLICATIONDEBUG_SOURCE_OTHER
        type - the type of debug messages to enable or disable. One of:
        DEBUG_TYPE_ERRORDEBUG_TYPE_DEPRECATED_BEHAVIORDEBUG_TYPE_UNDEFINED_BEHAVIOR
        DEBUG_TYPE_PORTABILITYDEBUG_TYPE_PERFORMANCEDEBUG_TYPE_OTHER
        DEBUG_TYPE_MARKER
        severity - the severity of debug messages to enable or disable. One of:
        DEBUG_SEVERITY_HIGHDEBUG_SEVERITY_MEDIUMDEBUG_SEVERITY_LOW
        DEBUG_SEVERITY_NOTIFICATION
        enabled - whether the selected messages should be enabled or disabled
        See Also:
        Reference Page
      • nglDebugMessageInsert

        public static void nglDebugMessageInsert​(int source,
                                                 int type,
                                                 int id,
                                                 int severity,
                                                 int length,
                                                 long message)
        Unsafe version of: DebugMessageInsert
        Parameters:
        length - the length of the string contained in the character array whose address is given by message
      • nglDebugMessageCallback

        public static void nglDebugMessageCallback​(long callback,
                                                   long userParam)
        Unsafe version of: DebugMessageCallback
      • glDebugMessageCallback

        public static void glDebugMessageCallback​(@Nullable
                                                  GLDebugMessageCallbackI callback,
                                                  long userParam)
        Specifies a callback to receive debugging messages from the GL.

        The function's prototype must follow the type definition of DEBUGPROC including its platform-dependent calling convention. Anything else will result in undefined behavior. Only one debug callback can be specified for the current context, and further calls overwrite the previous callback. Specifying NULL as the value of callback clears the current callback and disables message output through callbacks. Applications can provide user-specified data through the pointer userParam. The context will store this pointer and will include it as one of the parameters in each call to the callback function.

        If the application has specified a callback function for receiving debug output, the implementation will call that function whenever any enabled message is generated. The source, type, ID, and severity of the message are specified by the DEBUGPROC parameters source, type, id, and severity, respectively. The string representation of the message is stored in message and its length (excluding the null-terminator) is stored in length. The parameter userParam is the user-specified parameter that was given when calling DebugMessageCallback.

        Applications can query the current callback function and the current user-specified parameter by obtaining the values of DEBUG_CALLBACK_FUNCTION and DEBUG_CALLBACK_USER_PARAM, respectively.

        Applications that specify a callback function must be aware of certain special conditions when executing code inside a callback when it is called by the GL, regardless of the debug source.

        The memory for message is owned and managed by the GL, and should only be considered valid for the duration of the function call.

        The behavior of calling any GL or window system function from within the callback function is undefined and may lead to program termination.

        Care must also be taken in securing debug callbacks for use with asynchronous debug output by multi-threaded GL implementations.

        If the DEBUG_OUTPUT state is disabled then the GL will not call the callback function.

        Parameters:
        callback - a callback function that will be called when a debug message is generated
        userParam - a user supplied pointer that will be passed on each invocation of callback
        See Also:
        Reference Page
      • nglGetDebugMessageLog

        public static int nglGetDebugMessageLog​(int count,
                                                int bufsize,
                                                long sources,
                                                long types,
                                                long ids,
                                                long severities,
                                                long lengths,
                                                long messageLog)
        Unsafe version of: GetDebugMessageLog
        Parameters:
        bufsize - the size of the buffer whose address is given by messageLog
      • glGetDebugMessageLog

        public static int glGetDebugMessageLog​(int count,
                                               @Nullable
                                               java.nio.IntBuffer sources,
                                               @Nullable
                                               java.nio.IntBuffer types,
                                               @Nullable
                                               java.nio.IntBuffer ids,
                                               @Nullable
                                               java.nio.IntBuffer severities,
                                               @Nullable
                                               java.nio.IntBuffer lengths,
                                               @Nullable
                                               java.nio.ByteBuffer messageLog)
        Retrieves messages from the debug message log.

        This function fetches a maximum of count messages from the message log, and will return the number of messages successfully fetched.

        Messages will be fetched from the log in order of oldest to newest. Those messages that were fetched will be removed from the log.

        The sources, types, severities, IDs, and string lengths of fetched messages will be stored in the application-provided arrays sources, types, severities, ids, and lengths, respectively. The application is responsible for allocating enough space for each array to hold up to count elements. The string representations of all fetched messages are stored in the messageLog array. If multiple messages are fetched, their strings are concatenated into the same messageLog array and will be separated by single null terminators. The last string in the array will also be null-terminated. The maximum size of messageLog, including the space used by all null terminators, is given by bufSize. If bufSize is less than zero and messageLog is not NULL, an INVALID_VALUE error will be generated. If a message's string, including its null terminator, can not fully fit within the messageLog array's remaining space, then that message and any subsequent messages will not be fetched and will remain in the log. The string lengths stored in the array lengths include the space for the null terminator of each string.

        Any or all of the arrays sources, types, ids, severities, lengths and messageLog can also be null pointers, which causes the attributes for such arrays to be discarded when messages are fetched, however those messages will still be removed from the log. Thus to simply delete up to count messages from the message log while ignoring their attributes, the application can call the function with null pointers for all attribute arrays.

        If the context was created without the CONTEXT_FLAG_DEBUG_BIT, then the GL can opt to never add messages to the message log so GetDebugMessageLog will always return zero.

        Parameters:
        count - the number of debug messages to retrieve from the log
        sources - an array of variables to receive the sources of the retrieved messages
        types - an array of variables to receive the types of the retrieved messages
        ids - an array of unsigned integers to receive the ids of the retrieved messages
        severities - an array of variables to receive the severites of the retrieved messages
        lengths - an array of variables to receive the lengths of the received messages
        messageLog - an array of characters that will receive the messages
        See Also:
        Reference Page
      • nglGetPointerv

        public static void nglGetPointerv​(int pname,
                                          long params)
      • glGetPointer

        public static long glGetPointer​(int pname)
      • nglPushDebugGroup

        public static void nglPushDebugGroup​(int source,
                                             int id,
                                             int length,
                                             long message)
        Unsafe version of: PushDebugGroup
        Parameters:
        length - the length of the message to be sent to the debug output stream
      • glPushDebugGroup

        public static void glPushDebugGroup​(int source,
                                            int id,
                                            java.nio.ByteBuffer message)
        
        public static void glPushDebugGroup​(int source,
                                            int id,
                                            java.lang.CharSequence message)
        
        Pushes a debug group described by the string message into the command stream. The value of id specifies the ID of messages generated. The parameter length contains the number of characters in message. If length is negative, it is implied that message contains a null terminated string. The message has the specified source and id, type DEBUG_TYPE_PUSH_GROUP, and severity DEBUG_SEVERITY_NOTIFICATION. The GL will put a new debug group on top of the debug group stack which inherits the control of the volume of debug output of the debug group previously residing on the top of the debug group stack. Because debug groups are strictly hierarchical, any additional control of the debug output volume will only apply within the active debug group and the debug groups pushed on top of the active debug group.

        An INVALID_ENUM error is generated if the value of source is neither DEBUG_SOURCE_APPLICATION nor DEBUG_SOURCE_THIRD_PARTY. An INVALID_VALUE error is generated if length is negative and the number of characters in message, excluding the null-terminator, is not less than the value of MAX_DEBUG_MESSAGE_LENGTH.

        Parameters:
        source - the source of the debug message. One of:
        DEBUG_SOURCE_APPLICATIONDEBUG_SOURCE_THIRD_PARTY
        id - the identifier of the message
        message - a string containing the message to be sent to the debug output stream
        See Also:
        Reference Page
      • nglObjectLabel

        public static void nglObjectLabel​(int identifier,
                                          int name,
                                          int length,
                                          long label)
        Unsafe version of: ObjectLabel
        Parameters:
        length - the length of the label to be used for the object
      • glObjectLabel

        public static void glObjectLabel​(int identifier,
                                         int name,
                                         java.nio.ByteBuffer label)
        
        public static void glObjectLabel​(int identifier,
                                         int name,
                                         java.lang.CharSequence label)
        
        Labels a named object identified within a namespace.
        Parameters:
        identifier - the namespace from which the name of the object is allocated. One of:
        BUFFERSHADERPROGRAMQUERYPROGRAM_PIPELINESAMPLERTEXTURERENDERBUFFER
        FRAMEBUFFERTRANSFORM_FEEDBACK
        name - the name of the object to label
        label - a string containing the label to assign to the object
        See Also:
        Reference Page
      • nglGetObjectLabel

        public static void nglGetObjectLabel​(int identifier,
                                             int name,
                                             int bufSize,
                                             long length,
                                             long label)
        Unsafe version of: GetObjectLabel
        Parameters:
        bufSize - the length of the buffer whose address is in label
      • glGetObjectLabel

        public static void glGetObjectLabel​(int identifier,
                                            int name,
                                            @Nullable
                                            java.nio.IntBuffer length,
                                            java.nio.ByteBuffer label)
        Retrieves the label of a named object identified within a namespace.
        Parameters:
        identifier - the namespace from which the name of the object is allocated. One of:
        BUFFERSHADERPROGRAMQUERYPROGRAM_PIPELINESAMPLERTEXTURERENDERBUFFER
        FRAMEBUFFERTRANSFORM_FEEDBACK
        name - the name of the object whose label to retrieve
        length - the address of a variable to receive the length of the object label
        label - a string that will receive the object label
        See Also:
        Reference Page
      • nglObjectPtrLabel

        public static void nglObjectPtrLabel​(long ptr,
                                             int length,
                                             long label)
        Unsafe version of: ObjectPtrLabel
        Parameters:
        length - the length of the label to be used for the object
      • glObjectPtrLabel

        public static void glObjectPtrLabel​(long ptr,
                                            java.nio.ByteBuffer label)
        
        public static void glObjectPtrLabel​(long ptr,
                                            java.lang.CharSequence label)
        
        Labels a sync object identified by a pointer.
        Parameters:
        ptr - a pointer identifying a sync object
        label - a string containing the label to assign to the object
        See Also:
        Reference Page
      • nglGetObjectPtrLabel

        public static void nglGetObjectPtrLabel​(long ptr,
                                                int bufSize,
                                                long length,
                                                long label)
        Unsafe version of: GetObjectPtrLabel
        Parameters:
        bufSize - the length of the buffer whose address is in label
      • glGetObjectPtrLabel

        public static void glGetObjectPtrLabel​(long ptr,
                                               @Nullable
                                               java.nio.IntBuffer length,
                                               java.nio.ByteBuffer label)
        Retrieves the label of a sync object identified by a pointer.
        Parameters:
        ptr - the name of the sync object whose label to retrieve
        length - a variable to receive the length of the object label
        label - a string that will receive the object label
        See Also:
        Reference Page
      • glGetObjectPtrLabel

        public static java.lang.String glGetObjectPtrLabel​(long ptr,
                                                           int bufSize)
        Retrieves the label of a sync object identified by a pointer.
        Parameters:
        ptr - the name of the sync object whose label to retrieve
        bufSize - the length of the buffer whose address is in label
        See Also:
        Reference Page
      • glGetObjectPtrLabel

        public static java.lang.String glGetObjectPtrLabel​(long ptr)
        Retrieves the label of a sync object identified by a pointer.
        Parameters:
        ptr - the name of the sync object whose label to retrieve
        See Also:
        Reference Page
      • glEnablei

        public static void glEnablei​(int target,
                                     int index)
      • glDisablei

        public static void glDisablei​(int target,
                                      int index)
      • glBlendEquationi

        public static void glBlendEquationi​(int buf,
                                            int mode)
      • glBlendEquationSeparatei

        public static void glBlendEquationSeparatei​(int buf,
                                                    int modeRGB,
                                                    int modeAlpha)
      • glBlendFunci

        public static void glBlendFunci​(int buf,
                                        int src,
                                        int dst)
      • glBlendFuncSeparatei

        public static void glBlendFuncSeparatei​(int buf,
                                                int srcRGB,
                                                int dstRGB,
                                                int srcAlpha,
                                                int dstAlpha)
      • glColorMaski

        public static void glColorMaski​(int index,
                                        boolean r,
                                        boolean g,
                                        boolean b,
                                        boolean a)
      • glIsEnabledi

        public static boolean glIsEnabledi​(int target,
                                           int index)
      • nglDrawElementsBaseVertex

        public static void nglDrawElementsBaseVertex​(int mode,
                                                     int count,
                                                     int type,
                                                     long indices,
                                                     int basevertex)
      • glDrawElementsBaseVertex

        public static void glDrawElementsBaseVertex​(int mode,
                                                    int count,
                                                    int type,
                                                    long indices,
                                                    int basevertex)
      • glDrawElementsBaseVertex

        public static void glDrawElementsBaseVertex​(int mode,
                                                    int type,
                                                    java.nio.ByteBuffer indices,
                                                    int basevertex)
        
        public static void glDrawElementsBaseVertex​(int mode,
                                                    java.nio.ByteBuffer indices,
                                                    int basevertex)
        
        public static void glDrawElementsBaseVertex​(int mode,
                                                    java.nio.ShortBuffer indices,
                                                    int basevertex)
        
        public static void glDrawElementsBaseVertex​(int mode,
                                                    java.nio.IntBuffer indices,
                                                    int basevertex)
        
      • nglDrawRangeElementsBaseVertex

        public static void nglDrawRangeElementsBaseVertex​(int mode,
                                                          int start,
                                                          int end,
                                                          int count,
                                                          int type,
                                                          long indices,
                                                          int basevertex)
      • glDrawRangeElementsBaseVertex

        public static void glDrawRangeElementsBaseVertex​(int mode,
                                                         int start,
                                                         int end,
                                                         int count,
                                                         int type,
                                                         long indices,
                                                         int basevertex)
      • glDrawRangeElementsBaseVertex

        public static void glDrawRangeElementsBaseVertex​(int mode,
                                                         int start,
                                                         int end,
                                                         int type,
                                                         java.nio.ByteBuffer indices,
                                                         int basevertex)
        
        public static void glDrawRangeElementsBaseVertex​(int mode,
                                                         int start,
                                                         int end,
                                                         java.nio.ByteBuffer indices,
                                                         int basevertex)
        
        public static void glDrawRangeElementsBaseVertex​(int mode,
                                                         int start,
                                                         int end,
                                                         java.nio.ShortBuffer indices,
                                                         int basevertex)
        
        public static void glDrawRangeElementsBaseVertex​(int mode,
                                                         int start,
                                                         int end,
                                                         java.nio.IntBuffer indices,
                                                         int basevertex)
        
      • nglDrawElementsInstancedBaseVertex

        public static void nglDrawElementsInstancedBaseVertex​(int mode,
                                                              int count,
                                                              int type,
                                                              long indices,
                                                              int instancecount,
                                                              int basevertex)
      • glDrawElementsInstancedBaseVertex

        public static void glDrawElementsInstancedBaseVertex​(int mode,
                                                             int count,
                                                             int type,
                                                             long indices,
                                                             int instancecount,
                                                             int basevertex)
      • glDrawElementsInstancedBaseVertex

        public static void glDrawElementsInstancedBaseVertex​(int mode,
                                                             int type,
                                                             java.nio.ByteBuffer indices,
                                                             int instancecount,
                                                             int basevertex)
        
        public static void glDrawElementsInstancedBaseVertex​(int mode,
                                                             java.nio.ByteBuffer indices,
                                                             int instancecount,
                                                             int basevertex)
        
        public static void glDrawElementsInstancedBaseVertex​(int mode,
                                                             java.nio.ShortBuffer indices,
                                                             int instancecount,
                                                             int basevertex)
        
        public static void glDrawElementsInstancedBaseVertex​(int mode,
                                                             java.nio.IntBuffer indices,
                                                             int instancecount,
                                                             int basevertex)
        
      • glFramebufferTexture

        public static void glFramebufferTexture​(int target,
                                                int attachment,
                                                int texture,
                                                int level)
      • glPrimitiveBoundingBox

        public static void glPrimitiveBoundingBox​(float minX,
                                                  float minY,
                                                  float minZ,
                                                  float minW,
                                                  float maxX,
                                                  float maxY,
                                                  float maxZ,
                                                  float maxW)
        Specifies the primitive bounding box.

        Implementations may be able to optimize performance if the application provides bounds of primitives that will be generated by the tessellation primitive generator or the geometry shader prior to executing those stages. If the provided bounds are incorrect and primitives extend beyond them, the rasterizer may or may not generate fragments for the portions of primitives outside the bounds.

        Parameters:
        minX - the minimum x clip space coordinate
        minY - the minimum y clip space coordinate
        minZ - the minimum z clip space coordinate
        minW - the minimum w clip space coordinate
        maxX - the maximum x clip space coordinate
        maxY - the maximum y clip space coordinate
        maxZ - the maximum z clip space coordinate
        maxW - the maximum w clip space coordinate
        See Also:
        Reference Page
      • glGetGraphicsResetStatus

        public static int glGetGraphicsResetStatus()
        Indicates if the GL context has been in a reset state at any point since the last call to GetGraphicsResetStatus:
        • NO_ERROR indicates that the GL context has not been in a reset state since the last call.
        • GUILTY_CONTEXT_RESET indicates that a reset has been detected that is attributable to the current GL context.
        • INNOCENT_CONTEXT_RESET indicates a reset has been detected that is not attributable to the current GL context.
        • UNKNOWN_CONTEXT_RESET indicates a detected graphics reset whose cause is unknown.

        If a reset status other than NO_ERROR is returned and subsequent calls return NO_ERROR, the context reset was encountered and completed. If a reset status is repeatedly returned, the context may be in the process of resetting.

        Reset notification behavior is determined at context creation time, and may be queried by calling GetIntegerv with the symbolic constant RESET_NOTIFICATION_STRATEGY.

        If the reset notification behavior is NO_RESET_NOTIFICATION, then the implementation will never deliver notification of reset events, and GetGraphicsResetStatus will always return NO_ERROR.

        If the behavior is LOSE_CONTEXT_ON_RESET, a graphics reset will result in a lost context and require creating a new context as described above. In this case GetGraphicsResetStatus will return an appropriate value from those described above.

        If a graphics reset notification occurs in a context, a notification must also occur in all other contexts which share objects with that context.

        After a graphics reset has occurred on a context, subsequent GL commands on that context (or any context which shares with that context) will generate a CONTEXT_LOST error. Such commands will not have side effects (in particular, they will not modify memory passed by pointer for query results, and may not block indefinitely or cause termination of the application. Exceptions to this behavior include:

        • GetError and GetGraphicsResetStatus behave normally following a graphics reset, so that the application can determine a reset has occurred, and when it is safe to destroy and recreate the context.
        • Any commands which might cause a polling application to block indefinitely will generate a CONTEXT_LOST error, but will also return a value indicating completion to the application.
        See Also:
        Reference Page
      • nglReadnPixels

        public static void nglReadnPixels​(int x,
                                          int y,
                                          int width,
                                          int height,
                                          int format,
                                          int type,
                                          int bufSize,
                                          long pixels)
        Unsafe version of: ReadnPixels
        Parameters:
        bufSize - the maximum number of bytes to write into data
      • glReadnPixels

        public static void glReadnPixels​(int x,
                                         int y,
                                         int width,
                                         int height,
                                         int format,
                                         int type,
                                         int bufSize,
                                         long pixels)
        Behaves identically to ReadPixels except that it does not write more than bufSize bytes into data
        Parameters:
        x - the left pixel coordinate
        y - the lower pixel coordinate
        width - the number of pixels to read in the x-dimension
        height - the number of pixels to read in the y-dimension
        format - the pixel format
        type - the pixel type
        bufSize - the maximum number of bytes to write into data
        pixels - a buffer in which to place the returned pixel data
        See Also:
        Reference Page
      • glReadnPixels

        public static void glReadnPixels​(int x,
                                         int y,
                                         int width,
                                         int height,
                                         int format,
                                         int type,
                                         java.nio.ByteBuffer pixels)
        
        public static void glReadnPixels​(int x,
                                         int y,
                                         int width,
                                         int height,
                                         int format,
                                         int type,
                                         java.nio.ShortBuffer pixels)
        
        public static void glReadnPixels​(int x,
                                         int y,
                                         int width,
                                         int height,
                                         int format,
                                         int type,
                                         java.nio.IntBuffer pixels)
        
        public static void glReadnPixels​(int x,
                                         int y,
                                         int width,
                                         int height,
                                         int format,
                                         int type,
                                         java.nio.FloatBuffer pixels)
        
        Behaves identically to ReadPixels except that it does not write more than bufSize bytes into data
        Parameters:
        x - the left pixel coordinate
        y - the lower pixel coordinate
        width - the number of pixels to read in the x-dimension
        height - the number of pixels to read in the y-dimension
        format - the pixel format
        type - the pixel type
        pixels - a buffer in which to place the returned pixel data
        See Also:
        Reference Page
      • nglGetnUniformfv

        public static void nglGetnUniformfv​(int program,
                                            int location,
                                            int bufSize,
                                            long params)
        Unsafe version of: GetnUniformfv
        Parameters:
        bufSize - the maximum number of bytes to write to params
      • glGetnUniformfv

        public static void glGetnUniformfv​(int program,
                                           int location,
                                           java.nio.FloatBuffer params)
        Returns the value or values of a uniform of the default uniform block.
        Parameters:
        program - the program object
        location - the uniform location
        params - the buffer in which to place the returned data
        See Also:
        Reference Page
      • glGetnUniformf

        public static float glGetnUniformf​(int program,
                                           int location)
        Returns the value or values of a uniform of the default uniform block.
        Parameters:
        program - the program object
        location - the uniform location
        See Also:
        Reference Page
      • nglGetnUniformiv

        public static void nglGetnUniformiv​(int program,
                                            int location,
                                            int bufSize,
                                            long params)
        Unsafe version of: GetnUniformiv
        Parameters:
        bufSize - the maximum number of bytes to write to params
      • glGetnUniformiv

        public static void glGetnUniformiv​(int program,
                                           int location,
                                           java.nio.FloatBuffer params)
        Integer version of GetnUniformfv.
        Parameters:
        program - the program object
        location - the uniform location
        params - the buffer in which to place the returned data
        See Also:
        Reference Page
      • glGetnUniformi

        public static float glGetnUniformi​(int program,
                                           int location)
        Integer version of GetnUniformfv.
        Parameters:
        program - the program object
        location - the uniform location
        See Also:
        Reference Page
      • nglGetnUniformuiv

        public static void nglGetnUniformuiv​(int program,
                                             int location,
                                             int bufSize,
                                             long params)
        Unsafe version of: GetnUniformuiv
        Parameters:
        bufSize - the maximum number of bytes to write to params
      • glGetnUniformuiv

        public static void glGetnUniformuiv​(int program,
                                            int location,
                                            java.nio.FloatBuffer params)
        Unsigned version of GetnUniformiv.
        Parameters:
        program - the program object
        location - the uniform location
        params - the buffer in which to place the returned data
        See Also:
        Reference Page
      • glGetnUniformui

        public static float glGetnUniformui​(int program,
                                            int location)
        Unsigned version of GetnUniformiv.
        Parameters:
        program - the program object
        location - the uniform location
        See Also:
        Reference Page
      • glMinSampleShading

        public static void glMinSampleShading​(float value)
      • glPatchParameteri

        public static void glPatchParameteri​(int pname,
                                             int value)
      • nglTexParameterIiv

        public static void nglTexParameterIiv​(int target,
                                              int pname,
                                              long params)
      • glTexParameterIiv

        public static void glTexParameterIiv​(int target,
                                             int pname,
                                             java.nio.IntBuffer params)
      • glTexParameterIi

        public static void glTexParameterIi​(int target,
                                            int pname,
                                            int param)
      • nglTexParameterIuiv

        public static void nglTexParameterIuiv​(int target,
                                               int pname,
                                               long params)
      • glTexParameterIuiv

        public static void glTexParameterIuiv​(int target,
                                              int pname,
                                              java.nio.IntBuffer params)
      • glTexParameterIui

        public static void glTexParameterIui​(int target,
                                             int pname,
                                             int param)
      • nglGetTexParameterIiv

        public static void nglGetTexParameterIiv​(int target,
                                                 int pname,
                                                 long params)
      • glGetTexParameterIiv

        public static void glGetTexParameterIiv​(int target,
                                                int pname,
                                                java.nio.IntBuffer params)
      • glGetTexParameterIi

        public static int glGetTexParameterIi​(int target,
                                              int pname)
      • nglGetTexParameterIuiv

        public static void nglGetTexParameterIuiv​(int target,
                                                  int pname,
                                                  long params)
      • glGetTexParameterIuiv

        public static void glGetTexParameterIuiv​(int target,
                                                 int pname,
                                                 java.nio.IntBuffer params)
      • glGetTexParameterIui

        public static int glGetTexParameterIui​(int target,
                                               int pname)
      • nglSamplerParameterIiv

        public static void nglSamplerParameterIiv​(int sampler,
                                                  int pname,
                                                  long params)
      • glSamplerParameterIiv

        public static void glSamplerParameterIiv​(int sampler,
                                                 int pname,
                                                 java.nio.IntBuffer params)
      • glSamplerParameterIi

        public static void glSamplerParameterIi​(int sampler,
                                                int pname,
                                                int param)
      • nglSamplerParameterIuiv

        public static void nglSamplerParameterIuiv​(int sampler,
                                                   int pname,
                                                   long params)
      • glSamplerParameterIuiv

        public static void glSamplerParameterIuiv​(int sampler,
                                                  int pname,
                                                  java.nio.IntBuffer params)
      • glSamplerParameterIui

        public static void glSamplerParameterIui​(int sampler,
                                                 int pname,
                                                 int param)
      • nglGetSamplerParameterIiv

        public static void nglGetSamplerParameterIiv​(int sampler,
                                                     int pname,
                                                     long params)
      • glGetSamplerParameterIiv

        public static void glGetSamplerParameterIiv​(int sampler,
                                                    int pname,
                                                    java.nio.IntBuffer params)
      • glGetSamplerParameterIi

        public static int glGetSamplerParameterIi​(int sampler,
                                                  int pname)
      • nglGetSamplerParameterIuiv

        public static void nglGetSamplerParameterIuiv​(int sampler,
                                                      int pname,
                                                      long params)
      • glGetSamplerParameterIuiv

        public static void glGetSamplerParameterIuiv​(int sampler,
                                                     int pname,
                                                     java.nio.IntBuffer params)
      • glGetSamplerParameterIui

        public static int glGetSamplerParameterIui​(int sampler,
                                                   int pname)
      • glTexBuffer

        public static void glTexBuffer​(int target,
                                       int internalformat,
                                       int buffer)
      • glTexBufferRange

        public static void glTexBufferRange​(int target,
                                            int internalformat,
                                            int buffer,
                                            long offset,
                                            long size)
      • glTexStorage3DMultisample

        public static void glTexStorage3DMultisample​(int target,
                                                     int samples,
                                                     int internalformat,
                                                     int width,
                                                     int height,
                                                     int depth,
                                                     boolean fixedsamplelocations)
      • glDebugMessageControl

        public static void glDebugMessageControl​(int source,
                                                 int type,
                                                 int severity,
                                                 int[] ids,
                                                 boolean enabled)
        Array version of: DebugMessageControl
        See Also:
        Reference Page
      • glGetDebugMessageLog

        public static int glGetDebugMessageLog​(int count,
                                               @Nullable
                                               int[] sources,
                                               @Nullable
                                               int[] types,
                                               @Nullable
                                               int[] ids,
                                               @Nullable
                                               int[] severities,
                                               @Nullable
                                               int[] lengths,
                                               @Nullable
                                               java.nio.ByteBuffer messageLog)
        Array version of: GetDebugMessageLog
        See Also:
        Reference Page
      • glGetObjectLabel

        public static void glGetObjectLabel​(int identifier,
                                            int name,
                                            @Nullable
                                            int[] length,
                                            java.nio.ByteBuffer label)
        Array version of: GetObjectLabel
        See Also:
        Reference Page
      • glGetObjectPtrLabel

        public static void glGetObjectPtrLabel​(long ptr,
                                               @Nullable
                                               int[] length,
                                               java.nio.ByteBuffer label)
        Array version of: GetObjectPtrLabel
        See Also:
        Reference Page
      • glReadnPixels

        public static void glReadnPixels​(int x,
                                         int y,
                                         int width,
                                         int height,
                                         int format,
                                         int type,
                                         short[] pixels)
        
        public static void glReadnPixels​(int x,
                                         int y,
                                         int width,
                                         int height,
                                         int format,
                                         int type,
                                         int[] pixels)
        
        public static void glReadnPixels​(int x,
                                         int y,
                                         int width,
                                         int height,
                                         int format,
                                         int type,
                                         float[] pixels)
        
        Array version of: ReadnPixels
        See Also:
        Reference Page
      • glGetnUniformfv

        public static void glGetnUniformfv​(int program,
                                           int location,
                                           float[] params)
        Array version of: GetnUniformfv
        See Also:
        Reference Page
      • glGetnUniformiv

        public static void glGetnUniformiv​(int program,
                                           int location,
                                           float[] params)
        Array version of: GetnUniformiv
        See Also:
        Reference Page
      • glGetnUniformuiv

        public static void glGetnUniformuiv​(int program,
                                            int location,
                                            float[] params)
        Array version of: GetnUniformuiv
        See Also:
        Reference Page
      • glTexParameterIiv

        public static void glTexParameterIiv​(int target,
                                             int pname,
                                             int[] params)
        Array version of: TexParameterIiv
        See Also:
        Reference Page
      • glTexParameterIuiv

        public static void glTexParameterIuiv​(int target,
                                              int pname,
                                              int[] params)
        Array version of: TexParameterIuiv
        See Also:
        Reference Page
      • glGetTexParameterIiv

        public static void glGetTexParameterIiv​(int target,
                                                int pname,
                                                int[] params)
        Array version of: GetTexParameterIiv
        See Also:
        Reference Page
      • glGetTexParameterIuiv

        public static void glGetTexParameterIuiv​(int target,
                                                 int pname,
                                                 int[] params)
        Array version of: GetTexParameterIuiv
        See Also:
        Reference Page
      • glSamplerParameterIiv

        public static void glSamplerParameterIiv​(int sampler,
                                                 int pname,
                                                 int[] params)
        Array version of: SamplerParameterIiv
        See Also:
        Reference Page
      • glSamplerParameterIuiv

        public static void glSamplerParameterIuiv​(int sampler,
                                                  int pname,
                                                  int[] params)
        Array version of: SamplerParameterIuiv
        See Also:
        Reference Page
      • glGetSamplerParameterIiv

        public static void glGetSamplerParameterIiv​(int sampler,
                                                    int pname,
                                                    int[] params)
        Array version of: GetSamplerParameterIiv
        See Also:
        Reference Page
      • glGetSamplerParameterIuiv

        public static void glGetSamplerParameterIuiv​(int sampler,
                                                     int pname,
                                                     int[] params)
        Array version of: GetSamplerParameterIuiv
        See Also:
        Reference Page