Exemplo n.º 1
0
    public static extern IntPtr MOJOSHADER_glCompileShader(
		byte[] tokenbuf,
		uint bufsize,
		MOJOSHADER_swizzle[] swiz,
		uint swizcount,
		MOJOSHADER_samplerMap[] smap,
		uint smapcount
	);
Exemplo n.º 2
0
    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
	);
Exemplo n.º 3
0
 public static extern IntPtr MOJOSHADER_parseEffect([In()] [MarshalAs(UnmanagedType.LPStr)] string profile, [In()] [MarshalAs(UnmanagedType.LPStr)] string buf, int _len, ref MOJOSHADER_swizzle swiz, int swizcount, ref MOJOSHADER_samplerMap smap, int smapcount, IntPtr m, IntPtr f, IntPtr d);