All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opengl.ARBMapBufferAlignment Maven / Gradle / Ivy

/*
 * 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 - 2024 Weber Informatics LLC | Privacy Policy