GetProcAddress() private method

private GetProcAddress ( string funcname ) : IntPtr
funcname string
return IntPtr
Ejemplo n.º 1
0
        public override IntPtr GetAddress(IntPtr function)
        {
            // Try loading a static export from ES1 or ES2
            IntPtr address = GetStaticAddress(function, Renderable);

            // If a static export is not available, try retrieving an extension
            // function pointer with eglGetProcAddress
            if (address == IntPtr.Zero)
            {
                address = Egl.GetProcAddress(function);
            }

            return(address);
        }
Ejemplo n.º 2
0
 public override IntPtr GetAddress(string function)
 {
     return(Egl.GetProcAddress(function));
 }