public static extern IntPtr MOJOSHADER_parsePreshader( byte[] buf, uint len, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr d );
private static extern IntPtr INTERNAL_glBestProfile( MOJOSHADER_glGetProcAddress lookup, IntPtr lookup_d, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr malloc_d );
public static IntPtr MOJOSHADER_parse( string profile, string mainfn, byte[] tokenbuf, uint bufsize, MOJOSHADER_swizzle[] swiz, uint swizcount, MOJOSHADER_samplerMap[] smap, uint smapcount, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr d ) { return(MOJOSHADER_parse( UTF8_ToNative(profile), UTF8_ToNative(mainfn), tokenbuf, bufsize, swiz, swizcount, smap, smapcount, m, f, d )); }
public static IntPtr MOJOSHADER_parseEffect( string profile, byte[] buf, uint _len, MOJOSHADER_swizzle[] swiz, uint swizcount, MOJOSHADER_samplerMap[] smap, uint smapcount, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr d ) { return(MOJOSHADER_parseEffect( UTF8_ToNative(profile), buf, _len, swiz, swizcount, smap, smapcount, m, f, 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 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 extern int MOJOSHADER_glAvailableProfiles( MOJOSHADER_glGetProcAddress lookup, IntPtr lookup_d, IntPtr[] profs, int size, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr malloc_d );
private static extern IntPtr MOJOSHADER_parseEffect( byte[] profile, byte[] buf, uint _len, MOJOSHADER_swizzle[] swiz, uint swizcount, MOJOSHADER_samplerMap[] smap, uint smapcount, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr d );
public static extern IntPtr MOJOSHADER_parseEffect( [MarshalAs(UnmanagedType.LPStr)] string profile, byte[] buf, uint _len, MOJOSHADER_swizzle[] swiz, uint swizcount, MOJOSHADER_samplerMap[] smap, uint smapcount, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr d );
private static extern IntPtr MOJOSHADER_parse( byte[] profile, byte[] mainfn, byte[] tokenbuf, uint bufsize, MOJOSHADER_swizzle[] swiz, uint swizcount, MOJOSHADER_samplerMap[] smap, uint smapcount, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr 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_parsePreshader( byte[] buf, uint len, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr d );
public static extern IntPtr MOJOSHADER_parseEffect( [MarshalAs(UnmanagedType.LPStr)] string profile, byte[] buf, uint _len, MOJOSHADER_swizzle[] swiz, uint swizcount, MOJOSHADER_samplerMap[] smap, uint smapcount, MOJOSHADER_malloc m, MOJOSHADER_free f, IntPtr 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 );