SDL.zig icon indicating copy to clipboard operation
SDL.zig copied to clipboard

Implement Vulkan Wrapper

Open ominitay opened this issue 4 years ago • 1 comments
trafficstars

This commit adds support for Vulkan to the wrapper API. Use is similar to using the Vulkan bindings, using getWrapperPackageVulkan rather than getWrapperPackage, passing the Vulkan package obtained from vulkan-zig.

I'm not sure whether functions such as createSurface are appropriate to put in the SDL.vulkan namespace, or whether they should be conditionally compiled as functions in the namespace of (in this case) sdl.Window.

Feedback is much appreciated on this :)

ominitay avatar Oct 19 '21 19:10 ominitay

cc @Snektron

ikskuh avatar Oct 20 '21 06:10 ikskuh