Tools and techniques to use DirectX through managed code. Managed DirectX is also known as MDX.
Questions tagged [managed-directx]
65 questions
2
votes
1 answer
Simple HLSL glow/blur effect in DirectX9
I have been struggling for days to find any resources to help me write a simple glow/blur shader using High Level Shader Language and DirectX 9 Managed Libraries.
All I need to do is have an array of CustomVertex.TransformedColored vertices drawn as…

tbridge
- 1,754
- 1
- 18
- 35
2
votes
1 answer
Ways of replace Managed DirectX?
i have a some problem with my old project... if short - "using Microsoft.DirectX".
They deprecated, and nowadays, i run my game on new PC and got various glitches & troubles, that not exists before anyways.
As they deprecated and not supported…

Happy Day
- 297
- 1
- 5
- 14
2
votes
2 answers
Managed DirectX / SharpDX / SlimDX working without installer?
I'm trying to write a C# application that should:
run on .NET Framework (4.0 ideally)
run on DirectX 9 on as much computers as possible (everyone that have DirectX 9 installed)
be a single EXE file (without DLLs)
do not force the end user to…

P.W.
- 657
- 8
- 15
2
votes
2 answers
Managed DirectX
This is a pretty deep topic I guess, so any url's with insight info is also gladly accepted.
I've been working a lot with native directx, never managed. On the other hand, mostly when developing other type of applications that don't have any need…

Jonas B
- 2,351
- 2
- 18
- 26
2
votes
1 answer
How should I migrate my managed DirectX programs to Windows 7?
Recently I got a new PC with Windows 7 and installed C# 2010 Express. I have a LOT of software I wrote on my Vista machine in C# 2008 Express. When I tried to migrate the managed D3D apps to 2010, they all crashed on run with an error "is not a…

HypnoToad
- 585
- 1
- 6
- 18
1
vote
0 answers
Getting DVD chapter timings
I'm working on small DVD player (using DirectShow.Net), and require start time of a chapter with respect to it's title.
I'm looking for a way to find out the start time of a chapter within a title. Or may be the duration of each chapter within a…

Trainee4Life
- 2,203
- 2
- 22
- 38
1
vote
1 answer
Managed DirectX9 Drawtext behind object
I use the drawtext method to create labels on a grid. Works perfectly - but they are always in front of the mesh im showing in the grid.
Is there a possibility to render it behind the mesh that its not visible inside the object?
Seems like drawtext…

user1095428
- 71
- 1
- 4
1
vote
1 answer
Transparency between RenderToSurface
In my DirectX application, I need to display some image over the background video/image. I am using RenderToSurface to draw all small images on a single surface and then try to draw over the background video, but the problem it will overwrite my…

Firoz
- 7,224
- 10
- 41
- 56
1
vote
0 answers
Directx 9 crashes when starting another program with administrator privilege
i don't know how to explain exactly.
i upgrade my game from directx 8 to 9. normally there is no problem, but when you start a program with admin authority, textures is corrupted. any…

Adem d
- 21
- 3
1
vote
2 answers
How to redistribute Managed DirectX?
I've developed an app which uses the Microsoft.DirectX.Direct3D namespace. The app runs on computers which have the Managed DirectX SDK installed, but not on those which have only the usual DirectX.
Specifically, it complains that it "Could not load…

Roman Starkov
- 59,298
- 38
- 251
- 324
1
vote
1 answer
Fake multi-monitor fullscreen in monogame: form can't be big enough
I run a triple-monitor setup and I am working on a graphics demo in MonoGame that I decided (heck why not? let's give it the ability to maximize across all displays!) so I used this code:
graphics.IsFullScreen = false;
…

John Lord
- 1,941
- 12
- 27
1
vote
1 answer
Is Managed implementation of DirectX discontinued
I just wanted to know whether Microsoft has dropped the Managed implementation of DirectX as mentioned here is it true?
Please if you can get any link directly from Microsoft website about the same.

Pankaj
- 259
- 3
- 16
1
vote
1 answer
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 whole game sprite, I´m using C# Managed DirectX…

Moritz Schöfl
- 11
- 2
1
vote
1 answer
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 flickering.
Obviously a mesh with higher…

tbridge
- 1,754
- 1
- 18
- 35
1
vote
1 answer
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:
Is it possible to create a directx device inside a DLL?
Feeble…

tbridge
- 1,754
- 1
- 18
- 35