Example #1
0
 internal static unsafe extern Result vkCreateAndroidSurfaceKHR(Instance instance, AndroidSurfaceCreateInfo* createInfo, AllocationCallbacks* allocator, Surface* surface);
Example #2
0
 public unsafe Surface CreateAndroidSurface(ref AndroidSurfaceCreateInfo createInfo, AllocationCallbacks* allocator = null)
 {
     Surface surface;
     fixed (AndroidSurfaceCreateInfo* __createInfo__ = &createInfo)
     {
         vkCreateAndroidSurfaceKHR(this, __createInfo__, allocator, &surface).CheckError();
     }
     return surface;
 }