3. WPF
• Windows Presentation Foundation
– Based on .NET 3.0
– GUI utilizes DirectX
– eXtensible Application Markup Language (XAML)
• For more effective to develop UI
4. Direct3D
• 3D graphics API supported by Microsoft
• Utilize GPU hardware acceleration
• Used to render 3D application which
performance is important
• Game engine usually is designed to use
c++/d3d commonly
5. Communication between WPF/D3D
• How?
– P/Invoke
• extern identifier, huge cost
– CIL(Common Intermediate Language)
• Marshaling at compile time, better performance
6. How to write CLI
• Project Setting
– Adjust on Win32 dll project
– Create CLR project