Closed GoogleCodeExporter closed 9 years ago
SlimDX SDK (June 2010) http://msdn.microsoft.com/en-us/library/bb172658%28VS.85%29.aspx D3DX10CreateEffectFromFile() takes a D3D10_SHADER_MACRO parameter: HRESULT D3DX10CreateEffectFromFile( __in LPCTSTR pFileName, __in const D3D10_SHADER_MACRO *pDefines, __in ID3D10Include *pInclude, __in LPCSTR pProfile, __in UINT HLSLFlags, __in UINT FXFlags, __in ID3D10Device *pDevice, __in ID3D10EffectPool *pEffectPool, __in ID3DX10ThreadPump *pPump, __out ID3D10Effect **ppEffect, __out ID3D10Blob **ppErrors, __out HRESULT *pHResult ); However the SlimDX equivalent is missing this parameter: SlimDX.Direct3D10.Effect.FromFile(device, str, "fx_4_0", ShaderFlags.None, EffectFlags.None, null, null);
Original issue reported on code.google.com by Hyunkell...@gmail.com on 13 Jul 2010 at 4:42
Hyunkell...@gmail.com
This issue was closed by revision r1643.
Original comment by Mike.Popoloski on 30 Aug 2010 at 7:37
Mike.Popoloski
Original issue reported on code.google.com by
Hyunkell...@gmail.com
on 13 Jul 2010 at 4:42