public class EXTDrawInstanced
extends java.lang.Object
This extension provides the means to render multiple instances of an object with a single draw call, and an "instance ID" variable which can be used by the vertex program to compute per-instance values, typically an object's transform.
Requires OpenGL 2.0.
| Modifier and Type | Method and Description |
|---|---|
static void |
glDrawArraysInstancedEXT(int mode,
int start,
int count,
int primcount) |
static void |
glDrawElementsInstancedEXT(int mode,
java.nio.ByteBuffer indices,
int primcount) |
static void |
glDrawElementsInstancedEXT(int mode,
java.nio.IntBuffer indices,
int primcount) |
static void |
glDrawElementsInstancedEXT(int mode,
int type,
java.nio.ByteBuffer indices,
int primcount) |
static void |
glDrawElementsInstancedEXT(int mode,
int count,
int type,
long indices,
int primcount) |
static void |
glDrawElementsInstancedEXT(int mode,
java.nio.ShortBuffer indices,
int primcount) |
static void |
nglDrawElementsInstancedEXT(int mode,
int count,
int type,
long indices,
int primcount) |
public static void glDrawArraysInstancedEXT(int mode,
int start,
int count,
int primcount)
public static void nglDrawElementsInstancedEXT(int mode,
int count,
int type,
long indices,
int primcount)
public static void glDrawElementsInstancedEXT(int mode,
int count,
int type,
long indices,
int primcount)
public static void glDrawElementsInstancedEXT(int mode,
int type,
java.nio.ByteBuffer indices,
int primcount)
public static void glDrawElementsInstancedEXT(int mode,
java.nio.ByteBuffer indices,
int primcount)
public static void glDrawElementsInstancedEXT(int mode,
java.nio.ShortBuffer indices,
int primcount)
public static void glDrawElementsInstancedEXT(int mode,
java.nio.IntBuffer indices,
int primcount)
Copyright LWJGL. All Rights Reserved. License terms.