-
-
Notifications
You must be signed in to change notification settings - Fork 10
Crow.Drawing.VulkanContext
Jean-Philippe Bruyère edited this page Oct 26, 2021
·
1 revision
Base class to build vulkan application. Provide default swapchain with its command pool and buffers per image and the main present queue
namespace: Crow.Drawing
VulkanContext
public class VulkanContext : VulkanContextBase
⬜ | prototype | description |
---|---|---|
VulkanContext (Interface iface, IntPtr hWin, uint _width, uint _height, bool vsync=false) |
__ |
⬜ | name | description |
---|---|---|
WindowHandle |
readonly GLFW window handle |
⬜ | prototype | description |
---|---|---|
void CreateSurface(int width, int height, ref Surface surf) |
__ | |
bool render() |
Main render method called each frame. get next swapchain image, process resize if needed, submit and present to the presentQueue. Wait QueueIdle after presenting. |
⬜ | name | description |
---|