glWaitSemaphoreExt function opengl_glext

void glWaitSemaphoreExt(
  1. int semaphore,
  2. int numBufferBarriers,
  3. Pointer<Uint32> buffers,
  4. int numTextureBarriers,
  5. Pointer<Uint32> textures,
  6. Pointer<Uint32> srcLayouts,
)
GLAPI void APIENTRY glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint *buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts)

Implementation

void glWaitSemaphoreExt(
  int semaphore,
  int numBufferBarriers,
  Pointer<Uint32> buffers,
  int numTextureBarriers,
  Pointer<Uint32> textures,
  Pointer<Uint32> srcLayouts,
) {
  final glWaitSemaphoreExtAsFunction = _glWaitSemaphoreExt
      .cast<
        NativeFunction<
          Void Function(
            Uint32 semaphore,
            Uint32 numBufferBarriers,
            Pointer<Uint32> buffers,
            Uint32 numTextureBarriers,
            Pointer<Uint32> textures,
            Pointer<Uint32> srcLayouts,
          )
        >
      >()
      .asFunction<
        void Function(
          int semaphore,
          int numBufferBarriers,
          Pointer<Uint32> buffers,
          int numTextureBarriers,
          Pointer<Uint32> textures,
          Pointer<Uint32> srcLayouts,
        )
      >();
  return glWaitSemaphoreExtAsFunction(
    semaphore,
    numBufferBarriers,
    buffers,
    numTextureBarriers,
    textures,
    srcLayouts,
  );
}