org.lwjgl.opengl.ARBMapBufferAlignment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-opengl Show documentation
Show all versions of lwjgl-opengl Show documentation
The most widely adopted 2D and 3D graphics API in the industry, bringing thousands of applications to a wide variety of computer platforms.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.opengl;
/**
* Native bindings to the ARB_map_buffer_alignment extension.
*
* This extension adds a requirement to the pointer returned by {@link GL15#glMapBuffer MapBuffer} and {@link GL30#glMapBufferRange MapBufferRange} that they provide a minimum of 64 byte alignment
* to support processing of the data directly with special CPU instructions like SSE and AVX.
*
* Requires {@link GL21 OpenGL 2.1}. Promoted to core in {@link GL42 OpenGL 4.2}.
*/
public final class ARBMapBufferAlignment {
/** Accepted by the {@code pname} parameter of GetBooleanv, GetIntegerv, GetInteger64v, GetFloatv, and GetDoublev. */
public static final int GL_MIN_MAP_BUFFER_ALIGNMENT = 0x90BC;
private ARBMapBufferAlignment() {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy