com.jogamp.common.nio.Buffers.getIndirectBufferByteOffset()方法的使用及代码示例

x33g5p2x  于2022-01-16 转载在 其他  
字(21.2k)|赞(0)|评价(0)|浏览(115)

本文整理了Java中com.jogamp.common.nio.Buffers.getIndirectBufferByteOffset()方法的一些代码示例,展示了Buffers.getIndirectBufferByteOffset()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Buffers.getIndirectBufferByteOffset()方法的具体详情如下:
包路径:com.jogamp.common.nio.Buffers
类名称:Buffers
方法名:getIndirectBufferByteOffset

Buffers.getIndirectBufferByteOffset介绍

[英]Helper routine to get the full byte offset from the beginning of the array that is the storage for the indirect Buffer object. The array offset also includes the position offset within the buffer, in addition to any array offset.
[中]Helper例程,用于获取从作为间接缓冲区对象存储的数组开始的完整字节偏移量。除了任何阵列偏移外,阵列偏移还包括缓冲区内的位置偏移。

代码示例

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glGetDriverControlStringQCOM}(GLuint driverControl, GLsizei bufSize, GLsizei *  length, GLchar *  driverControlString) </code> <br>Part of <code>GL_QCOM_driver_control</code>
  @param length a direct or array-backed {@link java.nio.IntBuffer}
  @param driverControlString a direct or array-backed {@link java.nio.ByteBuffer}   */
public void glGetDriverControlStringQCOM(int driverControl, int bufSize, IntBuffer length, ByteBuffer driverControlString)  {
 final boolean length_is_direct = Buffers.isDirect(length);
 final boolean driverControlString_is_direct = Buffers.isDirect(driverControlString);
 final long __addr_ = ((GLES1ProcAddressTable)_context.getGLProcAddressTable())._addressof_glGetDriverControlStringQCOM;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glGetDriverControlStringQCOM"));
 }
   dispatch_glGetDriverControlStringQCOM1(driverControl, bufSize, length_is_direct ? length : Buffers.getArray(length), length_is_direct ? Buffers.getDirectBufferByteOffset(length) : Buffers.getIndirectBufferByteOffset(length), length_is_direct, driverControlString_is_direct ? driverControlString : Buffers.getArray(driverControlString), driverControlString_is_direct ? Buffers.getDirectBufferByteOffset(driverControlString) : Buffers.getIndirectBufferByteOffset(driverControlString), driverControlString_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glGetDriverControlsQCOM}(GLint *  num, GLsizei size, GLuint *  driverControls) </code> <br>Part of <code>GL_QCOM_driver_control</code>
  @param num a direct or array-backed {@link java.nio.IntBuffer}
  @param driverControls a direct or array-backed {@link java.nio.IntBuffer}   */
public void glGetDriverControlsQCOM(IntBuffer num, int size, IntBuffer driverControls)  {
 final boolean num_is_direct = Buffers.isDirect(num);
 final boolean driverControls_is_direct = Buffers.isDirect(driverControls);
 final long __addr_ = ((GLES1ProcAddressTable)_context.getGLProcAddressTable())._addressof_glGetDriverControlsQCOM;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glGetDriverControlsQCOM"));
 }
   dispatch_glGetDriverControlsQCOM1(num_is_direct ? num : Buffers.getArray(num), num_is_direct ? Buffers.getDirectBufferByteOffset(num) : Buffers.getIndirectBufferByteOffset(num), num_is_direct, size, driverControls_is_direct ? driverControls : Buffers.getArray(driverControls), driverControls_is_direct ? Buffers.getDirectBufferByteOffset(driverControls) : Buffers.getIndirectBufferByteOffset(driverControls), driverControls_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glExtGetRenderbuffersQCOM}(GLuint *  renderbuffers, GLint maxRenderbuffers, GLint *  numRenderbuffers) </code> <br>Part of <code>GL_QCOM_extended_get</code>
  @param renderbuffers a direct or array-backed {@link java.nio.IntBuffer}
  @param numRenderbuffers a direct or array-backed {@link java.nio.IntBuffer}   */
public void glExtGetRenderbuffersQCOM(IntBuffer renderbuffers, int maxRenderbuffers, IntBuffer numRenderbuffers)  {
 final boolean renderbuffers_is_direct = Buffers.isDirect(renderbuffers);
 final boolean numRenderbuffers_is_direct = Buffers.isDirect(numRenderbuffers);
 final long __addr_ = ((GLES3ProcAddressTable)_context.getGLProcAddressTable())._addressof_glExtGetRenderbuffersQCOM;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glExtGetRenderbuffersQCOM"));
 }
   dispatch_glExtGetRenderbuffersQCOM1(renderbuffers_is_direct ? renderbuffers : Buffers.getArray(renderbuffers), renderbuffers_is_direct ? Buffers.getDirectBufferByteOffset(renderbuffers) : Buffers.getIndirectBufferByteOffset(renderbuffers), renderbuffers_is_direct, maxRenderbuffers, numRenderbuffers_is_direct ? numRenderbuffers : Buffers.getArray(numRenderbuffers), numRenderbuffers_is_direct ? Buffers.getDirectBufferByteOffset(numRenderbuffers) : Buffers.getIndirectBufferByteOffset(numRenderbuffers), numRenderbuffers_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glGetShaderInfoLog}(GLuint shader, GLsizei bufsize, GLsizei *  length, GLchar *  infolog) </code> <br>Part of <code>GL_ES_VERSION_2_0</code>, <code>GL_VERSION_2_0</code>
  @param length a direct or array-backed {@link java.nio.IntBuffer}
  @param infolog a direct or array-backed {@link java.nio.ByteBuffer}   */
public void glGetShaderInfoLog(int shader, int bufsize, IntBuffer length, ByteBuffer infolog)  {
 final boolean length_is_direct = Buffers.isDirect(length);
 final boolean infolog_is_direct = Buffers.isDirect(infolog);
 final long __addr_ = ((GLES3ProcAddressTable)_context.getGLProcAddressTable())._addressof_glGetShaderInfoLog;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glGetShaderInfoLog"));
 }
   dispatch_glGetShaderInfoLog1(shader, bufsize, length_is_direct ? length : Buffers.getArray(length), length_is_direct ? Buffers.getDirectBufferByteOffset(length) : Buffers.getIndirectBufferByteOffset(length), length_is_direct, infolog_is_direct ? infolog : Buffers.getArray(infolog), infolog_is_direct ? Buffers.getDirectBufferByteOffset(infolog) : Buffers.getIndirectBufferByteOffset(infolog), infolog_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> GLint {@native gluBuild2DMipmapsC}(GLenum target, GLint internalFormat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *  data) </code> <br>Part of <code>GLU_VERSION_1_X</code>
  @param data a direct or array-backed {@link java.nio.Buffer}   */
public int gluBuild2DMipmapsC(int target, int internalFormat, int width, int height, int format, int type, Buffer data)  {
 final boolean data_is_direct = Buffers.isDirect(data);
 final long __addr_ = getGLUProcAddressTable()._addressof_gluBuild2DMipmapsC;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "gluBuild2DMipmapsC"));
 }
   return dispatch_gluBuild2DMipmapsC1(target, internalFormat, width, height, format, type, data_is_direct ? data : Buffers.getArray(data), data_is_direct ? Buffers.getDirectBufferByteOffset(data) : Buffers.getIndirectBufferByteOffset(data), data_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glGetBooleanv}(GLenum pname, GLboolean *  params) </code> <br>Part of <code>GL_ES_VERSION_2_0</code>, <code>GL_VERSION_ES_CL_CM</code>, <code>GL_VERSION_1_0</code>
  @param params a direct or array-backed {@link java.nio.ByteBuffer}   */
public void glGetBooleanv(int pname, ByteBuffer params)  {
 final boolean params_is_direct = Buffers.isDirect(params);
 final long __addr_ = ((GLES1ProcAddressTable)_context.getGLProcAddressTable())._addressof_glGetBooleanv;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glGetBooleanv"));
 }
   dispatch_glGetBooleanv1(pname, params_is_direct ? params : Buffers.getArray(params), params_is_direct ? Buffers.getDirectBufferByteOffset(params) : Buffers.getIndirectBufferByteOffset(params), params_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glGetFramebufferAttachmentParameteriv}(GLenum target, GLenum attachment, GLenum pname, GLint *  params) </code> <br>Part of <code>GL_ES_VERSION_2_0</code>, <code>GL_ARB_framebuffer_object</code>, <code>GL_VERSION_3_0</code>; <code>GL_OES_framebuffer_object</code>
  @param params a direct or array-backed {@link java.nio.IntBuffer}   */
public void glGetFramebufferAttachmentParameteriv(int target, int attachment, int pname, IntBuffer params)  {
 final boolean params_is_direct = Buffers.isDirect(params);
 final long __addr_ = ((GLES1ProcAddressTable)_context.getGLProcAddressTable())._addressof_glGetFramebufferAttachmentParameteriv;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glGetFramebufferAttachmentParameteriv"));
 }
   dispatch_glGetFramebufferAttachmentParameteriv1(target, attachment, pname, params_is_direct ? params : Buffers.getArray(params), params_is_direct ? Buffers.getDirectBufferByteOffset(params) : Buffers.getIndirectBufferByteOffset(params), params_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glGetnUniformiv}(GLuint program, GLint location, GLsizei bufSize, GLint *  params) </code> <br>Part of <code>GL_ARB_robustness</code>; <code>GL_EXT_robustness</code>
  @param params a direct or array-backed {@link java.nio.IntBuffer}   */
public void glGetnUniformiv(int program, int location, int bufSize, IntBuffer params)  {
 final boolean params_is_direct = Buffers.isDirect(params);
 final long __addr_ = ((GLES1ProcAddressTable)_context.getGLProcAddressTable())._addressof_glGetnUniformiv;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glGetnUniformiv"));
 }
   dispatch_glGetnUniformiv1(program, location, bufSize, params_is_direct ? params : Buffers.getArray(params), params_is_direct ? Buffers.getDirectBufferByteOffset(params) : Buffers.getIndirectBufferByteOffset(params), params_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glBufferSubData}(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *  data) </code> <br>Part of <code>GL_VERSION_1_5</code>, <code>GL_ES_VERSION_2_0</code>, <code>GL_VERSION_ES_CL_CM</code>
  @param data a direct or array-backed {@link java.nio.Buffer}   */
public void glBufferSubData(int target, long offset, long size, Buffer data)  {
 final boolean data_is_direct = Buffers.isDirect(data);
 final long __addr_ = ((GLES3ProcAddressTable)_context.getGLProcAddressTable())._addressof_glBufferSubData;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glBufferSubData"));
 }
   dispatch_glBufferSubData1(target, offset, size, data_is_direct ? data : Buffers.getArray(data), data_is_direct ? Buffers.getDirectBufferByteOffset(data) : Buffers.getIndirectBufferByteOffset(data), data_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glClearBufferfv}(GLenum buffer, GLint drawbuffer, const GLfloat *  value) </code> <br>Part of <code>GL_ES_VERSION_3_0</code>, <code>GL_VERSION_3_0</code>
  @param value a direct or array-backed {@link java.nio.FloatBuffer}   */
public void glClearBufferfv(int buffer, int drawbuffer, FloatBuffer value)  {
 final boolean value_is_direct = Buffers.isDirect(value);
 final long __addr_ = ((GLES3ProcAddressTable)_context.getGLProcAddressTable())._addressof_glClearBufferfv;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glClearBufferfv"));
 }
   dispatch_glClearBufferfv1(buffer, drawbuffer, value_is_direct ? value : Buffers.getArray(value), value_is_direct ? Buffers.getDirectBufferByteOffset(value) : Buffers.getIndirectBufferByteOffset(value), value_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glDeleteFramebuffers}(GLsizei n, const GLuint *  framebuffers) </code> <br>Part of <code>GL_ES_VERSION_2_0</code>, <code>GL_ARB_framebuffer_object</code>, <code>GL_VERSION_3_0</code>; <code>GL_OES_framebuffer_object</code>
  @param framebuffers a direct or array-backed {@link java.nio.IntBuffer}   */
public void glDeleteFramebuffers(int n, IntBuffer framebuffers)  {
 final boolean framebuffers_is_direct = Buffers.isDirect(framebuffers);
 final long __addr_ = ((GLES3ProcAddressTable)_context.getGLProcAddressTable())._addressof_glDeleteFramebuffers;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glDeleteFramebuffers"));
 }
   dispatch_glDeleteFramebuffers1(n, framebuffers_is_direct ? framebuffers : Buffers.getArray(framebuffers), framebuffers_is_direct ? Buffers.getDirectBufferByteOffset(framebuffers) : Buffers.getIndirectBufferByteOffset(framebuffers), framebuffers_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glDrawElementsInstancedNV}(GLenum mode, GLsizei count, GLenum type, const GLvoid *  indices, GLsizei primcount) </code> <br>Part of <code>GL_NV_draw_instanced</code>
  @param indices a direct or array-backed {@link java.nio.Buffer}   */
public void glDrawElementsInstancedNV(int mode, int count, int type, Buffer indices, int primcount)  {
 final boolean indices_is_direct = Buffers.isDirect(indices);
 final long __addr_ = ((GLES3ProcAddressTable)_context.getGLProcAddressTable())._addressof_glDrawElementsInstancedNV;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glDrawElementsInstancedNV"));
 }
   dispatch_glDrawElementsInstancedNV1(mode, count, type, indices_is_direct ? indices : Buffers.getArray(indices), indices_is_direct ? Buffers.getDirectBufferByteOffset(indices) : Buffers.getIndirectBufferByteOffset(indices), indices_is_direct, primcount, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glGetFenceivNV}(GLuint, GLenum, GLint * ) </code> <br>Part of <code>GL_NV_fence</code>
  @param arg2 a direct or array-backed {@link java.nio.IntBuffer}   */
public void glGetFenceivNV(int arg0, int arg1, IntBuffer arg2)  {
 final boolean arg2_is_direct = Buffers.isDirect(arg2);
 final long __addr_ = ((GLES3ProcAddressTable)_context.getGLProcAddressTable())._addressof_glGetFenceivNV;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glGetFenceivNV"));
 }
   dispatch_glGetFenceivNV1(arg0, arg1, arg2_is_direct ? arg2 : Buffers.getArray(arg2), arg2_is_direct ? Buffers.getDirectBufferByteOffset(arg2) : Buffers.getIndirectBufferByteOffset(arg2), arg2_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glGetIntegeri_v}(GLenum target, GLuint index, GLint *  data) </code> <br>Part of <code>GL_ES_VERSION_3_0</code>, <code>GL_VERSION_3_0</code>
  @param data a direct or array-backed {@link java.nio.IntBuffer}   */
public void glGetIntegeri_v(int target, int index, IntBuffer data)  {
 final boolean data_is_direct = Buffers.isDirect(data);
 final long __addr_ = ((GLES3ProcAddressTable)_context.getGLProcAddressTable())._addressof_glGetIntegeri_v;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glGetIntegeri_v"));
 }
   dispatch_glGetIntegeri_v1(target, index, data_is_direct ? data : Buffers.getArray(data), data_is_direct ? Buffers.getDirectBufferByteOffset(data) : Buffers.getIndirectBufferByteOffset(data), data_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glGetUniformuiv}(GLuint program, GLint location, GLuint *  params) </code> <br>Part of <code>GL_ES_VERSION_3_0</code>, <code>GL_VERSION_3_0</code>; <code>GL_EXT_gpu_shader4</code>
  @param params a direct or array-backed {@link java.nio.IntBuffer}   */
public void glGetUniformuiv(int program, int location, IntBuffer params)  {
 final boolean params_is_direct = Buffers.isDirect(params);
 final long __addr_ = ((GLES3ProcAddressTable)_context.getGLProcAddressTable())._addressof_glGetUniformuiv;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glGetUniformuiv"));
 }
   dispatch_glGetUniformuiv1(program, location, params_is_direct ? params : Buffers.getArray(params), params_is_direct ? Buffers.getDirectBufferByteOffset(params) : Buffers.getIndirectBufferByteOffset(params), params_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glGetVertexAttribIiv}(GLuint index, GLenum pname, GLint *  params) </code> <br>Part of <code>GL_ES_VERSION_3_0</code>, <code>GL_VERSION_3_0</code>
  @param params a direct or array-backed {@link java.nio.IntBuffer}   */
public void glGetVertexAttribIiv(int index, int pname, IntBuffer params)  {
 final boolean params_is_direct = Buffers.isDirect(params);
 final long __addr_ = ((GLES3ProcAddressTable)_context.getGLProcAddressTable())._addressof_glGetVertexAttribIiv;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glGetVertexAttribIiv"));
 }
   dispatch_glGetVertexAttribIiv1(index, pname, params_is_direct ? params : Buffers.getArray(params), params_is_direct ? Buffers.getDirectBufferByteOffset(params) : Buffers.getIndirectBufferByteOffset(params), params_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glGetVertexAttribiv}(GLuint index, GLenum pname, GLint *  params) </code> <br>Part of <code>GL_ES_VERSION_2_0</code>, <code>GL_VERSION_2_0</code>
  @param params a direct or array-backed {@link java.nio.IntBuffer}   */
public void glGetVertexAttribiv(int index, int pname, IntBuffer params)  {
 final boolean params_is_direct = Buffers.isDirect(params);
 final long __addr_ = ((GLES3ProcAddressTable)_context.getGLProcAddressTable())._addressof_glGetVertexAttribiv;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glGetVertexAttribiv"));
 }
   dispatch_glGetVertexAttribiv1(index, pname, params_is_direct ? params : Buffers.getArray(params), params_is_direct ? Buffers.getDirectBufferByteOffset(params) : Buffers.getIndirectBufferByteOffset(params), params_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glInsertEventMarkerEXT}(GLsizei length, const GLchar *  marker) </code> <br>Part of <code>GL_EXT_debug_marker</code>
  @param marker a direct or array-backed {@link java.nio.ByteBuffer}   */
public void glInsertEventMarkerEXT(int length, ByteBuffer marker)  {
 final boolean marker_is_direct = Buffers.isDirect(marker);
 final long __addr_ = ((GLES3ProcAddressTable)_context.getGLProcAddressTable())._addressof_glInsertEventMarkerEXT;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glInsertEventMarkerEXT"));
 }
   dispatch_glInsertEventMarkerEXT1(length, marker_is_direct ? marker : Buffers.getArray(marker), marker_is_direct ? Buffers.getDirectBufferByteOffset(marker) : Buffers.getIndirectBufferByteOffset(marker), marker_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glUniformMatrix2fv}(GLint location, GLsizei count, GLboolean transpose, const GLfloat *  value) </code> <br>Part of <code>GL_ES_VERSION_2_0</code>, <code>GL_VERSION_2_0</code>
  @param value a direct or array-backed {@link java.nio.FloatBuffer}   */
public void glUniformMatrix2fv(int location, int count, boolean transpose, FloatBuffer value)  {
 final boolean value_is_direct = Buffers.isDirect(value);
 final long __addr_ = ((GLES3ProcAddressTable)_context.getGLProcAddressTable())._addressof_glUniformMatrix2fv;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glUniformMatrix2fv"));
 }
   dispatch_glUniformMatrix2fv1(location, count, transpose, value_is_direct ? value : Buffers.getArray(value), value_is_direct ? Buffers.getDirectBufferByteOffset(value) : Buffers.getIndirectBufferByteOffset(value), value_is_direct, __addr_);
}

代码示例来源:origin: ch.unibas.cs.gravis/scalismo-native-stub

/** Entry point to C language function: <code> void {@native glDeleteBuffers}(GLsizei n, const GLuint *  buffers) </code> <br>Part of <code>GL_VERSION_1_5</code>, <code>GL_ES_VERSION_2_0</code>, <code>GL_VERSION_ES_CL_CM</code>
  @param buffers a direct or array-backed {@link java.nio.IntBuffer}   */
public void glDeleteBuffers(int n, IntBuffer buffers)  {
 bufferObjectTracker.notifyBuffersDeleted(n, buffers);
 Buffers.rangeCheck(buffers, n);
 final boolean buffers_is_direct = Buffers.isDirect(buffers);
 final long __addr_ = ((GLES1ProcAddressTable)_context.getGLProcAddressTable())._addressof_glDeleteBuffers;
 if (__addr_ == 0) {
  throw new GLException(String.format("Method \"%s\" not available", "glDeleteBuffers"));
 }
   dispatch_glDeleteBuffers1(n, buffers_is_direct ? buffers : Buffers.getArray(buffers), buffers_is_direct ? Buffers.getDirectBufferByteOffset(buffers) : Buffers.getIndirectBufferByteOffset(buffers), buffers_is_direct, __addr_);
}

相关文章