Original Post
This is from the gl3.h header file, I'm trying to get this into some C# code but I'm not sure what the C# equivalent of the GLsync type would be?
I'm not exactly sure what the C++ typedef for the GLsync type is actually doing, if someone could explain?
Here is my equivalent delegate function in C#, right now I just have the GLsync type as a struct:
I'm not exactly sure what the C++ typedef for the GLsync type is actually doing, if someone could explain?
#ifndef ARB_synctypedef int64_t GLint64;typedef uint64_t GLuint64;typedef struct __GLsync *GLsync;#endif// GL_ARB_syncGLAPI GLboolean APIENTRY glIsSync (GLsync sync);GLAPI void APIENTRY glDeleteSync (GLsync sync);Here is my equivalent delegate function in C#, right now I just have the GLsync type as a struct:
public delegate GLBoolean glIsSync(GLSync sync);