public static extern int D3DPreprocess( IntPtr pSrcData, ulong SrcDataSize, [MarshalAs(UnmanagedType.LPStr)] string pSourceName, ref D3D_SHADER_MACRO pDefines, IntPtr pInclude, ref IntPtr ppCodeText, ref IntPtr ppErrorMsgs );
public static extern int D3DCompileFromFile( [MarshalAs(UnmanagedType.LPWStr)] string pFileName, ref D3D_SHADER_MACRO pDefines, IntPtr pInclude, [MarshalAs(UnmanagedType.LPStr)] string pEntrypoint, [MarshalAs(UnmanagedType.LPStr)] string pTarget, uint Flags1, uint Flags2, ref IntPtr ppCode, ref IntPtr ppErrorMsgs );
public static extern int D3DCompile( IntPtr pSrcData, ulong SrcDataSize, [MarshalAs(UnmanagedType.LPStr)] string pSourceName, ref D3D_SHADER_MACRO pDefines, IntPtr pInclude, [MarshalAs(UnmanagedType.LPStr)] string pEntrypoint, [MarshalAs(UnmanagedType.LPStr)] string pTarget, uint Flags1, uint Flags2, ref IntPtr ppCode, ref IntPtr ppErrorMsgs );