private static extern IntPtr INTERNAL_glBestProfile( MOJOSHADER_glGetProcAddress lookup, IntPtr lookup_d, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr malloc_d );
private static extern IntPtr MOJOSHADER_glCreateContext( byte[] profile, MOJOSHADER_glGetProcAddress lookup, IntPtr lookup_d, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr malloc_d );
public static extern int MOJOSHADER_glAvailableProfiles( MOJOSHADER_glGetProcAddress lookup, IntPtr lookup_d, IntPtr[] profs, int size, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr malloc_d );
public static extern IntPtr MOJOSHADER_glCreateContext( [MarshalAs(UnmanagedType.LPStr)] string profile, MOJOSHADER_glGetProcAddress lookup, IntPtr lookup_d, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr malloc_d );
public static IntPtr MOJOSHADER_glCreateContext( string profile, MOJOSHADER_glGetProcAddress lookup, IntPtr lookup_d, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr malloc_d ) { return(MOJOSHADER_glCreateContext( UTF8_ToNative(profile), lookup, lookup_d, m, f, malloc_d )); }
public static string MOJOSHADER_glBestProfile( MOJOSHADER_glGetProcAddress lookup, IntPtr lookup_d, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr malloc_d ) { return(UTF8_ToManaged( INTERNAL_glBestProfile( lookup, lookup_d, m, f, malloc_d ) )); }
public static string MOJOSHADER_glBestProfile( MOJOSHADER_glGetProcAddress lookup, IntPtr lookup_d, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr malloc_d ) { return(Marshal.PtrToStringAnsi( INTERNAL_glBestProfile( lookup, lookup_d, m, f, malloc_d ) )); }
private static extern IntPtr INTERNAL_glBestProfile( MOJOSHADER_glGetProcAddress lookup, IntPtr lookup_d, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr malloc_d );
public static extern IntPtr MOJOSHADER_glCreateContext( [MarshalAs(UnmanagedType.LPStr)] string profile, MOJOSHADER_glGetProcAddress lookup, IntPtr lookup_d, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr malloc_d );
public static string MOJOSHADER_glBestProfile( MOJOSHADER_glGetProcAddress lookup, IntPtr lookup_d, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr malloc_d ) { return Marshal.PtrToStringAnsi( INTERNAL_glBestProfile( lookup, lookup_d, m, f, malloc_d ) ); }
public static extern int MOJOSHADER_glAvailableProfiles( MOJOSHADER_glGetProcAddress lookup, IntPtr lookup_d, IntPtr profs, // FIXME: const char** int size, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr malloc_d );
public static extern IntPtr MOJOSHADER_glBestProfile(MOJOSHADER_glGetProcAddress lookup, IntPtr d);
public static extern int MOJOSHADER_glAvailableProfiles(MOJOSHADER_glGetProcAddress lookup, IntPtr d, ref IntPtr profs, int size);