directx-11
D3D11: How to draw GDI Text to a GXDI Surface? (Without D2D)
I need some help with drawing a text to a texture with GDI and D3D11. I tried using D2D/DirectWrite, but it supports just D3D10 and not D3D11 as I need. Everything I tried failed so far...[详细]
2023-03-05 16:17 分类:问答DirectInput8Create fails : E_INVALIDARG
I\'m using DirectInput with Direct3D 11, and compi开发者_开发技巧ling for x64 and I get an E_INVALIDARG from this line:[详细]
2023-02-15 16:53 分类:问答SlimDX and WPF (DirectX 11)
I want to use SlimDX (DirectX 11) to render the contents of an Image in WPF. The problem is that I can\'t find a way开发者_StackOverflow社区 to link the SwapChain to a D3DImage. (The DirectX 11 examp[详细]
2023-02-14 09:48 分类:问答Why does D3DX11CreateShaderResourceViewFromMemory only upload a partial copy of my texture?
I have a problem with the D3DX11CreateShaderResourceVie开发者_C百科wFromMemory helper function. I read some texture from a file or ZIP and pass the raw bytes and length to the helper function, howeve[详细]
2023-02-14 08:30 分类:问答DirectX 11 Switching from fullscreen -> windowed problem
I\'ve been trawling various sites looking for the correct way to manage switching. I thought I had cracked it but I\'ve noticed a bizarre issue now that I am setting vertex and pixel shaders for a dr[详细]
2023-02-11 22:36 分类:问答DirectX: "see through" polygons
I\'ve created a simple DirectX app that renders a field of vertices. Vertices are rendered like this (if viewed from top):[详细]
2023-02-05 17:14 分类:问答Can't create Direct2D DXGI Surface
I\'m calling this method: http://msdn.microsoft.com/en-us/library/dd371264(VS.85).aspx The call fails with E_NOINTERFACE. The documentation is especially unhelpful as to why this may happen. I\'ve e[详细]
2023-01-31 14:05 分类:问答HLSL error X3086: DX9-style 'compile' syntax is deprecated in strict mode
Hey, I get this error: error X3086: DX9-style \'compile\' syntax is deprecated in strict mode When compiling a directx effect with this code:[详细]
2023-01-25 05:32 分类:问答Using the DirectX 11 SDK, How do I load a video (with sound) and play it?
I am having problems locating any documentation or examples for rendering video on a form using DirectX. I need to use DirectX because I will be putting overlay\'s on the video loaded dynamically. I w[详细]
2023-01-23 15:25 分类:问答DirectX11: Pass data from ComputeShader to VertexShader?
Is it possible to apply a filter to the geometry data that is to be rendered using Compute Shader and then use the result as an input buffer in the Vertex Shader? That would save me the trouble (&[详细]
2023-01-22 06:49 分类:问答