Skip to content

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

Inheritance Hierarchy

  • VulkanContext

Syntax

public class VulkanContext : VulkanContextBase

Constructors

prototype description
VulkanContext (Interface iface, IntPtr hWin, uint _width, uint _height, bool vsync=false) __

Properties

name description
WindowHandle readonly GLFW window handle

Methods

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.

Events

name description
Clone this wiki locally