Refine search
/** * Deletes named buffer objects. * * @param buffers an array of buffer objects to be deleted * * @see <a target="_blank" href="http://docs.gl/gl4/glDeleteBuffers">Reference Page</a> */ public static void glDeleteBuffers(@NativeType("GLuint const *") IntBuffer buffers) { nglDeleteBuffers(buffers.remaining(), memAddress(buffers)); }
/** <a target="_blank" href="http://docs.gl/es3/glGetProgramResource">Reference Page</a> */ public static void glGetProgramResourceiv(@NativeType("GLuint") int program, @NativeType("GLenum") int programInterface, @NativeType("GLuint") int index, @NativeType("GLenum const *") IntBuffer props, @Nullable @NativeType("GLsizei *") IntBuffer length, @NativeType("GLint *") IntBuffer params) { if (CHECKS) { checkSafe(length, 1); } nglGetProgramResourceiv(program, programInterface, index, props.remaining(), memAddress(props), params.remaining(), memAddressSafe(length), memAddress(params)); }
/** * Sets the current matrix indices. * * @param indices the matrix index values */ public static void glMatrixIndexuivARB(@NativeType("GLuint *") IntBuffer indices) { nglMatrixIndexuivARB(indices.remaining(), memAddress(indices)); }
/** <a target="_blank" href="http://docs.gl/es3/glGetAttachedShaders">Reference Page</a> */ public static void glGetAttachedShaders(@NativeType("GLuint") int program, @Nullable @NativeType("GLsizei *") IntBuffer count, @NativeType("GLuint *") IntBuffer shaders) { if (CHECKS) { checkSafe(count, 1); } nglGetAttachedShaders(program, shaders.remaining(), memAddressSafe(count), memAddress(shaders)); }
/** * Deletes program pipeline objects. * * @param pipelines an array of names of program pipeline objects to delete * * @see <a target="_blank" href="http://docs.gl/gl4/glDeleteProgramPipelines">Reference Page</a> */ public static void glDeleteProgramPipelines(@NativeType("GLuint const *") IntBuffer pipelines) { nglDeleteProgramPipelines(pipelines.remaining(), memAddress(pipelines)); }
public static void glGetPerfMonitorCounterDataAMD(@NativeType("GLuint") int monitor, @NativeType("GLenum") int pname, @NativeType("GLuint *") IntBuffer data, @Nullable @NativeType("GLint *") IntBuffer bytesWritten) { if (CHECKS) { checkSafe(bytesWritten, 1); } nglGetPerfMonitorCounterDataAMD(monitor, pname, data.remaining(), memAddress(data), memAddressSafe(bytesWritten)); }
/** * Provides an efficient means for executing a number of display lists. * * @param lists an array of offsets. Each offset is added to the display list base to obtain the display list number. * * @see <a target="_blank" href="http://docs.gl/gl3/glCallLists">Reference Page</a> - <em>This function is deprecated and unavailable in the Core profile</em> */ public static void glCallLists(@NativeType("void const *") IntBuffer lists) { nglCallLists(lists.remaining(), GL11.GL_UNSIGNED_INT, memAddress(lists)); }
public static void glGetPerfMonitorCounterDataAMD(@NativeType("GLuint") int monitor, @NativeType("GLenum") int pname, @NativeType("GLuint *") IntBuffer data, @Nullable @NativeType("GLint *") IntBuffer bytesWritten) { if (CHECKS) { checkSafe(bytesWritten, 1); } nglGetPerfMonitorCounterDataAMD(monitor, pname, data.remaining(), memAddress(data), memAddressSafe(bytesWritten)); }
/** * Returns {@code n} previously unused command list names in {@code lists}, and creates a command list in the initial state for each name. * * @param lists the buffer in which to return the created command list names */ public static void glCreateCommandListsNV(@NativeType("GLuint *") IntBuffer lists) { nglCreateCommandListsNV(lists.remaining(), memAddress(lists)); }
/** <a target="_blank" href="http://docs.gl/es3/glGetSync">Reference Page</a> */ public static void glGetSynciv(@NativeType("GLsync") long sync, @NativeType("GLenum") int pname, @Nullable @NativeType("GLsizei *") IntBuffer length, @NativeType("GLint *") IntBuffer values) { if (CHECKS) { check(sync); checkSafe(length, 1); } nglGetSynciv(sync, pname, values.remaining(), memAddressSafe(length), memAddress(values)); }
/** * Deletes renderbuffer objects. * * @param renderbuffers an array containing {@code n} renderbuffer objects to be deleted * * @see <a target="_blank" href="http://docs.gl/gl4/glDeleteRenderbuffers">Reference Page</a> */ public static void glDeleteRenderbuffers(@NativeType("GLuint const *") IntBuffer renderbuffers) { nglDeleteRenderbuffers(renderbuffers.remaining(), memAddress(renderbuffers)); }
public static void glGetProgramResourcefvNV(@NativeType("GLuint") int program, @NativeType("GLenum") int programInterface, @NativeType("GLuint") int index, @NativeType("GLenum const *") IntBuffer props, @Nullable @NativeType("GLsizei *") IntBuffer length, @NativeType("GLfloat *") FloatBuffer params) { if (CHECKS) { checkSafe(length, 1); } nglGetProgramResourcefvNV(program, programInterface, index, props.remaining(), memAddress(props), params.remaining(), memAddressSafe(length), memAddress(params)); }
/** * Deletes framebuffer objects. * * @param framebuffers an array containing {@code n} framebuffer objects to be deleted * * @see <a target="_blank" href="http://docs.gl/gl4/glDeleteFramebuffers">Reference Page</a> */ public static void glDeleteFramebuffers(@NativeType("GLuint const *") IntBuffer framebuffers) { nglDeleteFramebuffers(framebuffers.remaining(), memAddress(framebuffers)); }
/** * Returns {@code n} previously unused framebuffer names in {@code framebuffers}, each representing a new framebuffer object. * * @param framebuffers the buffer in which to store the framebuffer names * * @see <a target="_blank" href="http://docs.gl/gl4/glCreateFramebuffers">Reference Page</a> */ public static void glCreateFramebuffers(@NativeType("GLuint *") IntBuffer framebuffers) { nglCreateFramebuffers(framebuffers.remaining(), memAddress(framebuffers)); }
public static void glWaitSemaphoreEXT(@NativeType("GLuint") int semaphore, @NativeType("GLuint const *") IntBuffer buffers, @NativeType("GLuint const *") IntBuffer textures, @NativeType("GLenum const *") IntBuffer srcLayouts) { if (CHECKS) { check(srcLayouts, textures.remaining()); } nglWaitSemaphoreEXT(semaphore, buffers.remaining(), memAddress(buffers), textures.remaining(), memAddress(textures), memAddress(srcLayouts)); }
/** Unsafe version of {@link #int32(IntBuffer) int32}. */ public static void nint32(long struct, IntBuffer value) { if (CHECKS) { checkGT(value, 4); } memCopy(memAddress(value), struct + VkClearColorValue.INT32, value.remaining() * 4); } /** Unsafe version of {@link #int32(int, int) int32}. */
/** Unsafe version of {@link #data_window(IntBuffer) data_window}. */ public static void ndata_window(long struct, IntBuffer value) { if (CHECKS) { checkGT(value, 4); } memCopy(memAddress(value), struct + EXRHeader.DATA_WINDOW, value.remaining() * 4); } /** Unsafe version of {@link #data_window(int, int) data_window}. */
/** * Defines the draw buffers to which all output colors are written. * * @param bufs a buffer of symbolic constants specifying the buffer to which each output color is written. One of:<br><table><tr><td>{@link GL11#GL_NONE NONE}</td><td>{@link GL11#GL_FRONT_LEFT FRONT_LEFT}</td><td>{@link GL11#GL_FRONT_RIGHT FRONT_RIGHT}</td><td>{@link GL11#GL_BACK_LEFT BACK_LEFT}</td><td>{@link GL11#GL_BACK_RIGHT BACK_RIGHT}</td><td>{@link GL11#GL_AUX0 AUX0}</td><td>{@link GL11#GL_AUX1 AUX1}</td><td>{@link GL11#GL_AUX2 AUX2}</td></tr><tr><td>{@link GL11#GL_AUX3 AUX3}</td><td>{@link GL30#GL_COLOR_ATTACHMENT0 COLOR_ATTACHMENT0}</td><td>GL30.GL_COLOR_ATTACHMENT[1-15]</td></tr></table> */ public static void glDrawBuffersARB(@NativeType("GLenum const *") IntBuffer bufs) { nglDrawBuffersARB(bufs.remaining(), memAddress(bufs)); }
/** * Deletes program objects. * * @param programs an array of {@code n} program objects to be deleted */ public static void glDeleteProgramsARB(@NativeType("GLuint const *") IntBuffer programs) { nglDeleteProgramsARB(programs.remaining(), memAddress(programs)); }
/** * Deletes named buffer objects. * * @param buffers an array of buffer objects to be deleted */ public static void glDeleteBuffersARB(@NativeType("GLuint const *") IntBuffer buffers) { nglDeleteBuffersARB(buffers.remaining(), memAddress(buffers)); }