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

org.lwjgl.opengles.EXTDrawTransformFeedback Maven / Gradle / Ivy

Go to download

A royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles.

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.opengles;

import org.lwjgl.system.*;

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

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

This extension adds the {@code DrawTransformFeedback} commands. These were omitted from OpenGL ES 3.0 because the number of vertices captured by * transform feedback could never be different than the number drawn during capture. The addition of geometry shaders in OpenGL ES 3.2 broke that * assumption but, due to an oversight, {@code DrawTransformFeedback} et al were not reinstated. The {@code DrawTransformFeedback} commands unlock the * full potential of geometry shaders.

* *

Requires {@link GLES32 GLES 3.2}.

*/ public class EXTDrawTransformFeedback { static { GLES.initialize(); } protected EXTDrawTransformFeedback() { throw new UnsupportedOperationException(); } static boolean isAvailable(GLESCapabilities caps) { return checkFunctions( caps.glDrawTransformFeedbackEXT, caps.glDrawTransformFeedbackInstancedEXT ); } // --- [ glDrawTransformFeedbackEXT ] --- public static native void glDrawTransformFeedbackEXT(@NativeType("GLenum") int mode, @NativeType("GLuint") int id); // --- [ glDrawTransformFeedbackInstancedEXT ] --- public static native void glDrawTransformFeedbackInstancedEXT(@NativeType("GLenum") int mode, @NativeType("GLuint") int id, @NativeType("GLsizei") int instancecount); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy