Sign in to follow this  
Fadiii

[SlimDX] Windows Forms Direct3D11 Control

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this