• Advertisement
Sign in to follow this  

[SlimDX] Windows Forms Direct3D11 Control

This topic is 2882 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi all I'm migrating from XNA to DirectX11 using SlimDX library. Depending on the idea of XNA GraphicsDeviceControl sample, I created Direct3D11 control which suppose to do the same job. Any suggestion and enhancement is appreciated..... Direct3D11Control is an abstract windows forms control which depends on SlimDX library to facilitate rendering using Direct3D11 in descendant classes. This control has two main tasks: 1- Creating Direct3D11 Device and the main rendering objects: The created device can be shared among many instances of this control so they can share any resources created using this device, or each instance can have his own device. On the other hand, each instance has his own SwapChain, BackBuffer, RenderView and ViewPort. 2- Creating the Rendering loop: Used rendering loop method is the one which is recommended by SlimDX by using native PeekMessage methos to check the Application idleness, but it is used statically to allow each instance of the control to use it. Download Direct3DControl.zip or Download Direct3DControl.zip [Edited by - Fadiii on March 4, 2010 12:29:14 AM]

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement