Skip to content

KDGpu::VulkanSurface

Module: Vulkan

VulkanSurface.

#include <vulkan_surface.h>

Inherits from KDGpu::ApiSurface

Public Functions

Name
VulkanSurface(VkSurfaceKHR _surface, VkInstance _instance, bool _isOwned =true)

Public Attributes

Name
VkSurfaceKHR surface
VkInstance instance
bool isOwned

Public Functions Documentation

function VulkanSurface

1
2
3
4
5
explicit VulkanSurface(
    VkSurfaceKHR _surface,
    VkInstance _instance,
    bool _isOwned =true
)

Public Attributes Documentation

variable surface

1
VkSurfaceKHR surface { VK_NULL_HANDLE };

variable instance

1
VkInstance instance { VK_NULL_HANDLE };

variable isOwned

1
bool isOwned { true };

Updated on 2024-11-25 at 00:15:04 +0000