Direct video card access
Guys, I am trying to write a class in C# that can be used as a direct replacement for the C开发者_Go百科# Bitmap class. What I want to do instead though is perform all graphic functions done on the bitmap using the power of the video card. From what I understand, functions such as DrawLine or DrawArc or DrawText are primitive functions that use simple cpu math algorithms to perform the job. I, instead, want to use the graphics card cpu and memory to do these and other advanced functions, such as skinning a bitmap (applying a texture) and true transparancy. My problem is, in C#, how do I access direct video functions? Is there a library or something I need?
DirectX or OpenGL. I prefer OpenGL, personally, especially for the level of manipulation that you're talking about.
Do you want do do this behind the scenes, or in real time (say, for a game or photo-editing program?) That may make a difference in what library you should use.
You mean like DirectX?
精彩评论