mono / SkiaSharp

SkiaSharp is a cross-platform 2D graphics API for .NET platforms based on Google's Skia Graphics Library. It provides a comprehensive 2D API that can be used across mobile, server and desktop models to render images.
MIT License
4.27k stars 530 forks source link

[QUESTION] Does SkiaSharp support native DirectX12? #2235

Open CXCubeHD opened 1 year ago

CXCubeHD commented 1 year ago

I wasn't able to find any information about whether SkiaSharp supports DirectX12 natively. Additionally if it doesn't, does it at least support DirectX11?

CXCubeHD commented 1 year ago

I am writing a custom 2D UI renderer for my native DirectX12 application. If it just supports DX11 then this would be also fine since I can use the DirectX11On12 layer.

mgood7123 commented 1 year ago

skia has support for Direct3D

CXCubeHD commented 1 year ago

@mgood7123 Direct3D sounds too unspecific. Could you clarify this a little bit more?

mgood7123 commented 1 year ago

@mgood7123 Direct3D sounds too unspecific. Could you clarify this a little bit more?

idk the details of Direct 3D

CXCubeHD commented 1 year ago

Direct3D could be DirectX9, DirectX11, DirectX12. Those are 3 different worlds