This is a MonoTouch-specific question.
I'm currently developing a wrapper for OpenGL which is quite different from wrappers like OpenTK. This wrapper is used to enable faster development with OpenGL.
Methods are not declared like this: void glGenTextures(Int32 n, UInt32[] textures);
, they are declared like void glGenTextures(Int32 count, [Out]TextureHandle[] textures)
where TextureHandle
is a structure with the same size as a UInt32
.
Question
On Windows i can use GetProcAddress
, wglGetProcAddress
and Marshal.GetDelegateForFunctionPointer
to create a delegate from a method pointer, but how to do this on iOS with MonoTouch. Is there any way to this or is it not supported by monotouch yet?