JOGL v2.6.0-rc-20250822
JOGL, High-Performance Graphics Binding for Java™ (public API).
GL4bc.java
Go to the documentation of this file.
1/* !---- DO NOT EDIT: This file autogenerated by com/jogamp/gluegen/opengl/GLEmitter.java on Fri Aug 22 15:45:55 CEST 2025 ----! */
2/* !---- Java-Unit: [pkg com.jogamp.opengl, cls GL4bc], ../build/jogl/gensrc/classes/com/jogamp/opengl/GL4bc.java ----! */
3
4package com.jogamp.opengl;
5
6import java.util.*;
7import com.jogamp.opengl.*;
8import com.jogamp.opengl.fixedfunc.*;
9import jogamp.opengl.*;
10import com.jogamp.opengl.GLES1;
11import com.jogamp.opengl.GLES2;
12import com.jogamp.opengl.GL2ES1;
13import com.jogamp.opengl.GL2ES2;
14import com.jogamp.opengl.GL2ES3;
15import com.jogamp.opengl.GL3ES3;
16import com.jogamp.opengl.GL4ES3;
17import com.jogamp.opengl.GL2GL3;
18import com.jogamp.opengl.GL2;
19import com.jogamp.opengl.GL3;
20import com.jogamp.opengl.GL3bc;
21import com.jogamp.opengl.GL4;
22import com.jogamp.common.nio.Buffers;
23import com.jogamp.opengl.util.GLBuffers;
24import java.io.PrintStream;
25import com.jogamp.gluegen.runtime.*;
26import com.jogamp.common.os.*;
27import com.jogamp.common.nio.*;
28import java.nio.*;
29import com.jogamp.common.util.*;
30import java.util.Set;
31import java.util.Map;
32import java.util.HashMap;
33import java.nio.charset.Charset;
34import java.nio.charset.StandardCharsets;
35
36 /**
37 * <p>This interface contains all OpenGL [ 4.0 .. 4.5 ] <i>compatibility</i> profile,
38 * as well as most of it's extensions defined at the time of this specification.</p>
39 * <p>Note: OpenGL [ 4.0 .. 4.5 ] compatibility profile does includes fixed point functionality.</p>
40 */
41public interface GL4bc extends GL3bc, GL4{
42
43 /** <code>GL_AMD_gpu_shader_half_float</code><br>Define "GL_FLOAT16_MAT2x3_AMD" with expression '<code>0x91C8</code>', CType: int */
44 public static final int GL_FLOAT16_MAT2x3_AMD = 0x91c8;
45 /** <code>GL_AMD_gpu_shader_half_float</code><br>Define "GL_FLOAT16_MAT2_AMD" with expression '<code>0x91C5</code>', CType: int */
46 public static final int GL_FLOAT16_MAT2_AMD = 0x91c5;
47 /** <code>GL_EXT_semaphore_win32</code><br>Define "GL_HANDLE_TYPE_D3D12_FENCE_EXT" with expression '<code>0x9594</code>', CType: int */
48 public static final int GL_HANDLE_TYPE_D3D12_FENCE_EXT = 0x9594;
49 /** <code>GL_EXT_memory_object_win32</code><br>Define "GL_HANDLE_TYPE_D3D11_IMAGE_EXT" with expression '<code>0x958B</code>', CType: int */
50 public static final int GL_HANDLE_TYPE_D3D11_IMAGE_EXT = 0x958b;
51 /** <code>GL_EXT_memory_object_win32</code><br>Define "GL_LUID_SIZE_EXT" with expression '<code>8</code>', CType: int */
52 public static final int GL_LUID_SIZE_EXT = 0x8;
53 /** <code>GL_AMD_gpu_shader_half_float</code><br>Define "GL_FLOAT16_MAT4_AMD" with expression '<code>0x91C7</code>', CType: int */
54 public static final int GL_FLOAT16_MAT4_AMD = 0x91c7;
55 /** <code>GL_EXT_memory_object_win32</code><br>Define "GL_DEVICE_LUID_EXT" with expression '<code>0x9599</code>', CType: int */
56 public static final int GL_DEVICE_LUID_EXT = 0x9599;
57 /** <code>GL_AMD_gpu_shader_half_float</code><br>Define "GL_FLOAT16_MAT4x2_AMD" with expression '<code>0x91CC</code>', CType: int */
58 public static final int GL_FLOAT16_MAT4x2_AMD = 0x91cc;
59 /** <code>GL_AMD_gpu_shader_half_float</code><br>Define "GL_FLOAT16_MAT3x4_AMD" with expression '<code>0x91CB</code>', CType: int */
60 public static final int GL_FLOAT16_MAT3x4_AMD = 0x91cb;
61 /** <code>GL_EXT_memory_object_win32</code><br>Define "GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT" with expression '<code>0x9589</code>', CType: int */
62 public static final int GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT = 0x9589;
63 /** <code>GL_EXT_memory_object_win32</code><br>Define "GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT" with expression '<code>0x958C</code>', CType: int */
64 public static final int GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT = 0x958c;
65 /** <code>GL_EXT_memory_object_win32</code><br>Define "GL_HANDLE_TYPE_OPAQUE_WIN32_EXT" with expression '<code>0x9587</code>', CType: int */
66 public static final int GL_HANDLE_TYPE_OPAQUE_WIN32_EXT = 0x9587;
67 /** <code>GL_EXT_memory_object_win32</code><br>Define "GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT" with expression '<code>0x9588</code>', CType: int */
68 public static final int GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT = 0x9588;
69 /** <code>GL_AMD_gpu_shader_half_float</code><br>Define "GL_FLOAT16_MAT3_AMD" with expression '<code>0x91C6</code>', CType: int */
70 public static final int GL_FLOAT16_MAT3_AMD = 0x91c6;
71 /** <code>GL_AMD_gpu_shader_half_float</code><br>Define "GL_FLOAT16_MAT4x3_AMD" with expression '<code>0x91CD</code>', CType: int */
72 public static final int GL_FLOAT16_MAT4x3_AMD = 0x91cd;
73 /** <code>GL_EXT_memory_object_win32</code><br>Define "GL_HANDLE_TYPE_D3D12_RESOURCE_EXT" with expression '<code>0x958A</code>', CType: int */
74 public static final int GL_HANDLE_TYPE_D3D12_RESOURCE_EXT = 0x958a;
75 /** <code>GL_EXT_memory_object_win32</code><br>Define "GL_DEVICE_NODE_MASK_EXT" with expression '<code>0x959A</code>', CType: int */
76 public static final int GL_DEVICE_NODE_MASK_EXT = 0x959a;
77 /** <code>GL_EXT_semaphore_win32</code><br>Define "GL_D3D12_FENCE_VALUE_EXT" with expression '<code>0x9595</code>', CType: int */
78 public static final int GL_D3D12_FENCE_VALUE_EXT = 0x9595;
79 /** <code>GL_AMD_gpu_shader_half_float</code><br>Define "GL_FLOAT16_MAT2x4_AMD" with expression '<code>0x91C9</code>', CType: int */
80 public static final int GL_FLOAT16_MAT2x4_AMD = 0x91c9;
81 /** <code>GL_AMD_gpu_shader_half_float</code><br>Define "GL_FLOAT16_MAT3x2_AMD" with expression '<code>0x91CA</code>', CType: int */
82 public static final int GL_FLOAT16_MAT3x2_AMD = 0x91ca;
83
84 /** Entry point to C language function: <code> void {@native glTexStorageMem1DEXT}(GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset) </code> <br>Part of <code>GL_EXT_memory_object</code><br> */
85 public void glTexStorageMem1DEXT(int target, int levels, int internalFormat, int width, int memory, long offset);
86
87 /** Entry point to C language function: <code> void {@native glTextureStorageMem1DEXT}(GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset) </code> <br>Part of <code>GL_EXT_memory_object</code><br> */
88 public void glTextureStorageMem1DEXT(int texture, int levels, int internalFormat, int width, int memory, long offset);
89
90 /** Entry point to C language function: <code> void {@native glImportMemoryWin32HandleEXT}(GLuint memory, GLuint64 size, GLenum handleType, void * handle) </code> <br>Part of <code>GL_EXT_memory_object_win32</code><br>
91 @param handle a direct or array-backed {@link java.nio.Buffer} */
92 public void glImportMemoryWin32HandleEXT(int memory, long size, int handleType, Buffer handle);
93
94 /** Entry point to C language function: <code> void {@native glImportMemoryWin32NameEXT}(GLuint memory, GLuint64 size, GLenum handleType, const void * name) </code> <br>Part of <code>GL_EXT_memory_object_win32</code><br>
95 @param name a direct or array-backed {@link java.nio.Buffer} */
96 public void glImportMemoryWin32NameEXT(int memory, long size, int handleType, Buffer name);
97
98 /** Entry point to C language function: <code> void {@native glImportSemaphoreWin32HandleEXT}(GLuint semaphore, GLenum handleType, void * handle) </code> <br>Part of <code>GL_EXT_semaphore_win32</code><br>
99 @param handle a direct or array-backed {@link java.nio.Buffer} */
100 public void glImportSemaphoreWin32HandleEXT(int semaphore, int handleType, Buffer handle);
101
102 /** Entry point to C language function: <code> void {@native glImportSemaphoreWin32NameEXT}(GLuint semaphore, GLenum handleType, const void * name) </code> <br>Part of <code>GL_EXT_semaphore_win32</code><br>
103 @param name a direct or array-backed {@link java.nio.Buffer} */
104 public void glImportSemaphoreWin32NameEXT(int semaphore, int handleType, Buffer name);
105
106
107 // --- Begin CustomJavaCode .cfg declarations
108
109 /** Entry point to C language function: <code> void {@native glDrawElementsInstancedBaseInstance}(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLuint baseinstance); </code> <br>Part of <code>GL_VERSION_4_2</code>, <code>GL_ARB_base_instance</code>
110 @param indices a direct or array-backed {@link java.nio.Buffer} */
111 public void glDrawElementsInstancedBaseInstance(int mode, int count, int type, Buffer indices, int instancecount, int baseinstance);
112
113 /** Entry point to C language function: <code> void {@native glDrawElementsInstancedBaseVertexBaseInstance}(GLenum mode, GLsizei count, GLenum type, const void * indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance); </code> <br>Part of <code>GL_VERSION_4_2</code>, <code>GL_ARB_base_instance</code>
114 @param indices a direct or array-backed {@link java.nio.Buffer} */
115 public void glDrawElementsInstancedBaseVertexBaseInstance(int mode, int count, int type, Buffer indices, int instancecount, int basevertex, int baseinstance);
116
117 /** Entry point to C language function: <code> void {@native glVertexAttribLPointer}(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid * pointer); </code> <br>Part of <code>GL_VERSION_4_1</code>, <code>GL_ARB_vertex_attrib_64bit</code>
118 @param pointer a direct only {@link java.nio.Buffer} */
119 public void glVertexAttribLPointer(int index, int size, int type, int stride, Buffer pointer);
120
121 // ---- End CustomJavaCode .cfg declarations
122} // end of class GL4bc
void glDrawElementsInstancedBaseInstance(int mode, int count, int type, Buffer indices, int instancecount, int baseinstance)
Entry point to C language function: void {@native glDrawElementsInstancedBaseInstance}(GLenum mode,...
static final int GL_D3D12_FENCE_VALUE_EXT
GL_EXT_semaphore_win32 Define "GL_D3D12_FENCE_VALUE_EXT" with expression '0x9595',...
Definition: GL4bc.java:78
void glImportSemaphoreWin32NameEXT(int semaphore, int handleType, Buffer name)
Entry point to C language function: void {@native glImportSemaphoreWin32NameEXT}(GLuint semaphore,...
static final int GL_FLOAT16_MAT4x3_AMD
GL_AMD_gpu_shader_half_float Define "GL_FLOAT16_MAT4x3_AMD" with expression '0x91CD',...
Definition: GL4bc.java:72
static final int GL_FLOAT16_MAT4_AMD
GL_AMD_gpu_shader_half_float Define "GL_FLOAT16_MAT4_AMD" with expression '0x91C7',...
Definition: GL4bc.java:54
void glDrawElementsInstancedBaseVertexBaseInstance(int mode, int count, int type, Buffer indices, int instancecount, int basevertex, int baseinstance)
Entry point to C language function: void {@native glDrawElementsInstancedBaseVertexBaseInstance}(GLe...
static final int GL_FLOAT16_MAT3x4_AMD
GL_AMD_gpu_shader_half_float Define "GL_FLOAT16_MAT3x4_AMD" with expression '0x91CB',...
Definition: GL4bc.java:60
static final int GL_FLOAT16_MAT2x4_AMD
GL_AMD_gpu_shader_half_float Define "GL_FLOAT16_MAT2x4_AMD" with expression '0x91C9',...
Definition: GL4bc.java:80
static final int GL_HANDLE_TYPE_D3D12_RESOURCE_EXT
GL_EXT_memory_object_win32 Define "GL_HANDLE_TYPE_D3D12_RESOURCE_EXT" with expression '0x958A',...
Definition: GL4bc.java:74
void glTextureStorageMem1DEXT(int texture, int levels, int internalFormat, int width, int memory, long offset)
Entry point to C language function: void {@native glTextureStorageMem1DEXT}(GLuint texture,...
void glTexStorageMem1DEXT(int target, int levels, int internalFormat, int width, int memory, long offset)
Entry point to C language function: void {@native glTexStorageMem1DEXT}(GLenum target,...
static final int GL_FLOAT16_MAT2_AMD
GL_AMD_gpu_shader_half_float Define "GL_FLOAT16_MAT2_AMD" with expression '0x91C5',...
Definition: GL4bc.java:46
static final int GL_FLOAT16_MAT3_AMD
GL_AMD_gpu_shader_half_float Define "GL_FLOAT16_MAT3_AMD" with expression '0x91C6',...
Definition: GL4bc.java:70
static final int GL_DEVICE_NODE_MASK_EXT
GL_EXT_memory_object_win32 Define "GL_DEVICE_NODE_MASK_EXT" with expression '0x959A',...
Definition: GL4bc.java:76
static final int GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT
GL_EXT_memory_object_win32 Define "GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT" with expression '0x9588',...
Definition: GL4bc.java:68
static final int GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT
GL_EXT_memory_object_win32 Define "GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT" with expression '0x958C',...
Definition: GL4bc.java:64
static final int GL_HANDLE_TYPE_D3D12_FENCE_EXT
GL_EXT_semaphore_win32 Define "GL_HANDLE_TYPE_D3D12_FENCE_EXT" with expression '0x9594',...
Definition: GL4bc.java:48
static final int GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT
GL_EXT_memory_object_win32 Define "GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT" with expression '0x9589',...
Definition: GL4bc.java:62
static final int GL_DEVICE_LUID_EXT
GL_EXT_memory_object_win32 Define "GL_DEVICE_LUID_EXT" with expression '0x9599', CType: int
Definition: GL4bc.java:56
void glImportSemaphoreWin32HandleEXT(int semaphore, int handleType, Buffer handle)
Entry point to C language function: void {@native glImportSemaphoreWin32HandleEXT}(GLuint semaphore,...
void glImportMemoryWin32NameEXT(int memory, long size, int handleType, Buffer name)
Entry point to C language function: void {@native glImportMemoryWin32NameEXT}(GLuint memory,...
static final int GL_HANDLE_TYPE_D3D11_IMAGE_EXT
GL_EXT_memory_object_win32 Define "GL_HANDLE_TYPE_D3D11_IMAGE_EXT" with expression '0x958B',...
Definition: GL4bc.java:50
static final int GL_LUID_SIZE_EXT
GL_EXT_memory_object_win32 Define "GL_LUID_SIZE_EXT" with expression '8', CType: int
Definition: GL4bc.java:52
static final int GL_FLOAT16_MAT4x2_AMD
GL_AMD_gpu_shader_half_float Define "GL_FLOAT16_MAT4x2_AMD" with expression '0x91CC',...
Definition: GL4bc.java:58
void glImportMemoryWin32HandleEXT(int memory, long size, int handleType, Buffer handle)
Entry point to C language function: void {@native glImportMemoryWin32HandleEXT}(GLuint memory,...
static final int GL_FLOAT16_MAT2x3_AMD
GL_AMD_gpu_shader_half_float Define "GL_FLOAT16_MAT2x3_AMD" with expression '0x91C8',...
Definition: GL4bc.java:44
void glVertexAttribLPointer(int index, int size, int type, int stride, Buffer pointer)
Entry point to C language function: void {@native glVertexAttribLPointer}(GLuint index,...
static final int GL_HANDLE_TYPE_OPAQUE_WIN32_EXT
GL_EXT_memory_object_win32 Define "GL_HANDLE_TYPE_OPAQUE_WIN32_EXT" with expression '0x9587',...
Definition: GL4bc.java:66
static final int GL_FLOAT16_MAT3x2_AMD
GL_AMD_gpu_shader_half_float Define "GL_FLOAT16_MAT3x2_AMD" with expression '0x91CA',...
Definition: GL4bc.java:82