c# - SharpDX Create surface from bitmap -
i looking way same final output directx code:
surface = new surface(device, alphabitmap, pool.systemmemory);
i have directx wrapper sharpdx or slimdx
but doesn't seem have of useful surface commands @ loss how proceed.
sharpdx , slimdx .net wrappers around native c++ directx interfaces. not based on , independent of directx 9.0 managed code on example code based.
to learn how use sharpdx suggest clone samples repository at
https://github.com/sharpdx/sharpdx-samples
and study examples.
target directx ver 11 , if need ensure code runs on directx 9 graphic cards state requirement via direct3d feature levels. see( https://msdn.microsoft.com/en-us/library/windows/desktop/ff476876(v=vs.85).aspx)
Comments
Post a Comment