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

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

Go to download

The most widely adopted 2D and 3D graphics API in the industry, bringing thousands of applications to a wide variety of computer platforms.

There is a newer version: 3.3.4
Show newest version
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.opengl;

import java.nio.*;

import org.lwjgl.system.*;

import static org.lwjgl.system.Checks.*;
import static org.lwjgl.system.MemoryUtil.*;

/**
 * Native bindings to the NV_vertex_array_range extension.
 * 
 * 

The goal of this extension is to permit extremely high vertex processing rates via OpenGL vertex arrays even when the CPU lacks the necessary data * movement bandwidth to keep up with the rate at which the vertex engine can consume vertices.

*/ public class NVVertexArrayRange { /** Accepted by the {@code cap} parameter of EnableClientState, DisableClientState, and IsEnabled. */ public static final int GL_VERTEX_ARRAY_RANGE_NV = 0x851D; /** Accepted by the {@code pname} parameter of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev. */ public static final int GL_VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851E, GL_VERTEX_ARRAY_RANGE_VALID_NV = 0x851F, GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = 0x8520; /** Accepted by the {@code pname} parameter of GetPointerv. */ public static final int GL_VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521; static { GL.initialize(); } protected NVVertexArrayRange() { throw new UnsupportedOperationException(); } static boolean isAvailable(GLCapabilities caps) { return checkFunctions( caps.glVertexArrayRangeNV, caps.glFlushVertexArrayRangeNV ); } // --- [ glVertexArrayRangeNV ] --- public static native void nglVertexArrayRangeNV(int length, long pointer); public static void glVertexArrayRangeNV(@NativeType("void *") ByteBuffer pointer) { nglVertexArrayRangeNV(pointer.remaining(), memAddress(pointer)); } // --- [ glFlushVertexArrayRangeNV ] --- public static native void glFlushVertexArrayRangeNV(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy