managed-directx
Transparency between RenderToSurface
In my DirectX application, I need to display some image over the bac开发者_运维问答kground video/image. I am using RenderToSurface to draw all small images on a single surface and then try to draw ove[详细]
2023-04-12 09:53 分类:问答Managed DirectX: Specifying the Depth (Z-Order) of Sprites containing Texture and Text
I am using managed DirectX to try and draw a texture and a piece of text to the screen using a Sprite.Unfortunately, if I place the text and the texture in the same sprite, the texture overwrites (ove[详细]
2023-04-04 19:04 分类:问答Combine multiple small texture into large texture
Sorry for this, may be this is very basic question, I have multiple开发者_运维问答 small texture with different size and co-ordinate, and i want apply some transition on this. So i need to combine all[详细]
2023-04-03 04:11 分类:问答Getting hardware GUID for video adapter in C#
I\'m developing a launcher application for a 3D game on Windows. The configuration \"ini\" file requires the user to specify the hardware GUID for the desired device, as in, the Device Identifier GUID[详细]
2023-03-22 10:11 分类:问答Error calling C++/CLI constructor from C#
I am trying to save and restore state by using a StateBlock in SlimDX via the following snippet: StateBlockMask mask = new StateBlockMask(null) { RasterizerState = true };[详细]
2023-02-13 23:01 分类:问答C#: Unable to create DirectX device. Neither Hardware type or Software type works
I\'m trying to create a DirectX device through the following code: Caps deviceCapability; int deviceAdapter = Manager.Adapters.Default.Adapter;[详细]
2023-02-12 20:35 分类:问答C# MDX drawing transparent rectangle over a sprite
I want to make a \"Pausemenu\" in a Tetrisgame, when I hit Esc, the Menu pops up and that the user clearly is aware of that the game isnt running, I want to draw a transparent black rectangle over the[详细]
2023-02-12 00:05 分类:问答Flickering Mesh Problem: DirectX HLSL
The Problem: I am rendering a mesh using HLSL (High Level Shader Language) in Managed DirectX 9.Depending on the complexity of the mesh (number of vertices and faces) I sometimes get problems with fli[详细]
2023-02-02 05:11 分类:问答Imposing limitations on 4-point image transformation
I\'m working on a 4-point image transformation for an application.The user would either drag each corner around to create a valid quadrilateral shape, or use its \"bounding box\" to resize it vertical[详细]
2023-02-02 01:08 分类:问答DirectX 9 - Create device and render to texture inside DLL?
I am trying to create a Managed DirectX 9 Device in a DLL and then use that DLL to render scenes to an offscreen surface.I know how to do the offscreen rendering, but my question is:[详细]
2023-01-26 04:27 分类:问答