diff --git a/Src/Khr/SurfaceKhr.cs b/Src/Khr/SurfaceKhr.cs index 3a4fa86..6d1caf7 100644 --- a/Src/Khr/SurfaceKhr.cs +++ b/Src/Khr/SurfaceKhr.cs @@ -101,7 +101,15 @@ internal SurfaceKhr(Instance parent, XcbSurfaceCreateInfoKhr* createInfo, ref Al Handle = handle; } - internal SurfaceKhr(Instance parent, ref AllocationCallbacks? allocator, long handle) + /// + /// Create a SurfaceKhr from an already-created handle. This intended to be used only if your surface has + /// already been created externally, via a library such as GLFW or SDL. The Instance and AllocationCallbacks + /// that are used must be the same as were used to create the SurfaceKhr handle. + /// + /// The that the Surface was created with. + /// The used to define memory allocation. + /// The handle to the native SurfaceKhr representation. + public SurfaceKhr(Instance parent, ref AllocationCallbacks? allocator, long handle) { Parent = parent; Allocator = allocator;