glBindImageTexture function opengl_glext

void glBindImageTexture(
  1. int unit,
  2. int texture,
  3. int level,
  4. int layered,
  5. int layer,
  6. int access,
  7. int format,
)
GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format)

Implementation

void glBindImageTexture(
  int unit,
  int texture,
  int level,
  int layered,
  int layer,
  int access,
  int format,
) {
  final glBindImageTextureAsFunction = _glBindImageTexture
      .cast<
        NativeFunction<
          Void Function(
            Uint32 unit,
            Uint32 texture,
            Int32 level,
            Int32 layered,
            Int32 layer,
            Uint32 access,
            Uint32 format,
          )
        >
      >()
      .asFunction<
        void Function(
          int unit,
          int texture,
          int level,
          int layered,
          int layer,
          int access,
          int format,
        )
      >();
  return glBindImageTextureAsFunction(
    unit,
    texture,
    level,
    layered,
    layer,
    access,
    format,
  );
}