What are changes from directx 10 to 11? Ive written some code in directx 10 and I want to change it to directx 11. Is this just about quality and I can do it just by changing headrs and dll files or functions and way of coding have been changed? ing.
How can I migrate between versions?
575 Views Asked by virtouso At
1
There are 1 best solutions below
Related Questions in DIRECTX
- Make screenshot of DirectX window that is hidden and doesn't have focus
- Draw a sphere on a billboard with world normal from a pointlist
- DirectX - Pixel Shader 3.0 doesn't work
- D3D11 Post Shader Results in Dark Image
- Drawing a textured quad looks distorted
- DirectX 9 vertex colors ingored when lighting is enabled?
- Constant buffer is empty when passed HLSL C++
- D3DX11CompileFromFile Invalid Arguments C++
- DirectX libs in x64 program
- How to use a huge array in HLSL (error X4505)
- Relationship between AFX_WM_DRAW2D and WM_PAINT in MFC Application
- Textured cube renders blank in DirectX
- Invoke button in a game / external program C#
- DirectX VSIX Installer Installation Failed
- Normals are not transfered to DirectX 11 shader correctly - random, time-dependent values?
Related Questions in DIRECTX-11
- Creating a Texture2DArray and populate it with solid values
- Normals are not transfered to DirectX 11 shader correctly - random, time-dependent values?
- XMVector3Unproject - Screen to world coordinate at specific Z
- HLSL Geometry Shader empty output
- CheckMultisampleQualityLevels(...) says the card does not support MSAA (which is not true for e.g. my GeForce GTX 780)?
- Does Windows 7 with platform update support desktop duplication?
- Getting run time error when moving variable to header file
- Rendering in DirectX 11
- Fill CubeTexture with data
- C++/CX Header file can't find Microsoft namespace
- DirectX shader linking error
- DXGI flip model locked to vsync
- Error LNK2019 with creating DirectX11
- NAudio and DirectX 12
- Moving and Imported model along the forward Vector - DirectX11 C++
Related Questions in DIRECTX-10
- DirectX 10 - Full object flashes, then draws only points
- Visual Studio Community 2013 Graphics Debugging
- DX11 compatibility
- Directx10: MSAA max texture size?
- DX10 Terrain Normals
- DirectX 11 Switching from fullscreen -> windowed problem
- DX9 and DX10): what is the default pixel (and vertex) shader? (OpenGL too, if possible.)
- How can I migrate between versions?
- Directx 11 Front Buffer
- C++ DirectX10 Mesh Disappearing After One Frame, Why?
- Directx10 flip texture horizontal/vertical
- Trouble with D3DX10CreateEffectFromFile
- Adding directx to include and library directories throws over 300 errors
- Using shader resources in HLSL (Port DX9->DX10)
- Why does D3DXVec3Project return a D3DXVECTOR3?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
First, I need to say, that nothing will change if you just change your
D3D10DoSomething()functions toD3D11DoSomething(). They will do same things. No passive gain. You must use new features explicitly to make your app better. Those features that D3D10 don't have: such as hardware tessellation, compute shader, many many other stuff. To code.So, the main question is "do you really need this features"? Or, maybe, "will you need these features later"?
Does your coding mates laughing when see your ancient D3D10 code?If answer is yes:
DirectX 10 to 11 porting is very simple. It is just a joke compared to DirectX 9 to 10 porting.
Here is short and non-exhaustive list of things to do when porting D3D10 to D3D11:
#include <d3d10*>to#include <d3d11*>d3d10*.libtod3d11*.libin linker optionsDevice and Context creation:
Create*()) and context responsible for state changing functionality (most methods areSet*()/Get*()).D3D10CreateDevice*functions (now they've becomeD3D11CreateDevice*), add additionalID3D11DeviceContextparameter and also add parameters related toD3D_FEATURE_LEVEL. (more about feature levels here)device->ChangeState()calls todeviceContext->ChangeState()Other stuff:
0for the time until you don't need this functionality. If you get compiler errors related with number of arguments or "unable to convert parameter.." just find this function in DirectX 11 reference and see if you must add additional zero argument =)Shaders:
And here are additional tips from Microsoft : link, link.
Well, mostly done! Welcome to D3D11 world =)