071fc66059
Some of these are new ES3 functions, some are existing ES2 functions that can now use the new pixel pack/unpack buffer bindings. glDrawElementsInstanced needs a special case since the pointer/offset arg isn't the last one like the generator assumes. Bug: 8566953 Change-Id: I638a36b0a31aefcb5bfee6f4d049348223045103
21 lines
624 B
Java
21 lines
624 B
Java
// C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount )
|
|
|
|
public static native void glDrawElementsInstanced(
|
|
int mode,
|
|
int count,
|
|
int type,
|
|
java.nio.Buffer indices,
|
|
int instanceCount
|
|
);
|
|
|
|
// C function void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount )
|
|
|
|
public static native void glDrawElementsInstanced(
|
|
int mode,
|
|
int count,
|
|
int type,
|
|
int indicesOffset,
|
|
int instanceCount
|
|
);
|
|
|