-
Method "UpdateSubresources" does not get SubresourceData as a parametr, instead of this method wants SubresourceInfo without it i can not create a 2D texture. What to do in this situation... How can I create a 2D Texture and set it on triangle?
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
Did you tried to use https://github.com/amerkoleci/Vortice.Windows/blob/main/src/Vortice.Direct3D11/ID3D11Device.cs#L811? |
Beta Was this translation helpful? Give feedback.
-
@amerkoleci everything I wanted to do worked. All that helped me was that you fixed the "UpdateSubresorces" method. All the other tutorials are broken :(. If someone else has also encountered this problem, I advise you to use this tutorial: |
Beta Was this translation helpful? Give feedback.
@amerkoleci everything I wanted to do worked. All that helped me was that you fixed the "UpdateSubresorces" method. All the other tutorials are broken :(. If someone else has also encountered this problem, I advise you to use this tutorial:
https://github.com/microsoft/DirectX-Graphics-Samples