Can the Android phone use the windows DirectX libr

2019-02-09 13:27发布

I have some functions which draws the game screen using the Direct X library in Windows. So, I am trying to use the functions in Android phone using the ndk. But I have some problems. Dose the Android phone which use the Java recognize the Direct X functions? If it is possible, then I must have some controls about it? I want your help...

4条回答
萌系小妹纸
2楼-- · 2019-02-09 13:57

OpenGL is pretty similar to DirectX it doesn't take too much effort to convert between the 2. Failing that you could probably find the implementation in the Wine source code on how they handle DirectX calls and pass them to OpenGL.

查看更多
你好瞎i
3楼-- · 2019-02-09 13:59

Android (and iOS as well) doesn't support DirectX but OpenGL ES. Check out 3D with OpenGL on the Android developer site.

查看更多
ら.Afraid
4楼-- · 2019-02-09 14:03

Android uses a linux kernel, not a windows one. So I'd suspect no.

查看更多
我命由我不由天
5楼-- · 2019-02-09 14:06

No, because Android is based on Linux Kernel, whch supports OpenGL.

查看更多
登录 后发表回答