C# Класс SharpVulkan.Instance

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateAndroidSurface ( AndroidSurfaceCreateInfo &createInfo, AllocationCallbacks allocator = null ) : Surface
CreateDebugReportCallback ( DebugReportCallbackCreateInfo &createInfo, AllocationCallbacks allocator = null ) : DebugReportCallback
CreateDisplayPlaneSurface ( DisplaySurfaceCreateInfo &createInfo, AllocationCallbacks allocator = null ) : Surface
CreateWin32Surface ( Win32SurfaceCreateInfo createInfo, AllocationCallbacks allocator = null ) : Surface
CreateXcbSurface ( XcbSurfaceCreateInfo &createInfo, AllocationCallbacks allocator = null ) : Surface
CreateXlibSurface ( XlibSurfaceCreateInfo &createInfo, AllocationCallbacks allocator = null ) : Surface
Destroy ( AllocationCallbacks allocator = null ) : void
DestroyDebugReportCallback ( DebugReportCallback callback, AllocationCallbacks allocator = null ) : void
DestroySurface ( Surface surface, AllocationCallbacks allocator = null ) : void
GetProcAddress ( byte name ) : IntPtr

Приватные методы

Метод Описание
DebugReportMessage ( uint flags, DebugReportObjectType objectType, ulong @object, PointerSize location, int messageCode, byte &layerPrefix, byte message ) : void
EnumeratePhysicalDevices ( uint &physicalDeviceCount, PhysicalDevice physicalDevices ) : void
vkCreateAndroidSurfaceKHR ( Instance instance, AndroidSurfaceCreateInfo createInfo, AllocationCallbacks allocator, Surface surface ) : System.Result
vkCreateDebugReportCallbackEXT ( Instance instance, DebugReportCallbackCreateInfo createInfo, AllocationCallbacks allocator, DebugReportCallback callback ) : System.Result
vkCreateDisplayPlaneSurfaceKHR ( Instance instance, DisplaySurfaceCreateInfo createInfo, AllocationCallbacks allocator, Surface surface ) : System.Result
vkCreateWin32SurfaceKHR ( Instance instance, Win32SurfaceCreateInfo createInfo, AllocationCallbacks allocator, Surface surface ) : System.Result
vkCreateXcbSurfaceKHR ( Instance instance, XcbSurfaceCreateInfo createInfo, AllocationCallbacks allocator, Surface surface ) : System.Result
vkCreateXlibSurfaceKHR ( Instance instance, XlibSurfaceCreateInfo createInfo, AllocationCallbacks allocator, Surface surface ) : System.Result
vkDebugReportMessageEXT ( Instance instance, uint flags, DebugReportObjectType objectType, ulong @object, PointerSize location, int messageCode, byte layerPrefix, byte message ) : void
vkDestroyDebugReportCallbackEXT ( Instance instance, DebugReportCallback callback, AllocationCallbacks allocator ) : void
vkDestroyInstance ( Instance instance, AllocationCallbacks allocator ) : void
vkDestroySurfaceKHR ( Instance instance, Surface surface, AllocationCallbacks allocator ) : void
vkEnumeratePhysicalDevices ( Instance instance, uint physicalDeviceCount, PhysicalDevice physicalDevices ) : System.Result
vkGetInstanceProcAddr ( Instance instance, byte name ) : IntPtr

Описание методов

CreateAndroidSurface() публичный Метод

public CreateAndroidSurface ( AndroidSurfaceCreateInfo &createInfo, AllocationCallbacks allocator = null ) : Surface
createInfo AndroidSurfaceCreateInfo
allocator AllocationCallbacks
Результат Surface

CreateDebugReportCallback() публичный Метод

public CreateDebugReportCallback ( DebugReportCallbackCreateInfo &createInfo, AllocationCallbacks allocator = null ) : DebugReportCallback
createInfo DebugReportCallbackCreateInfo
allocator AllocationCallbacks
Результат DebugReportCallback

CreateDisplayPlaneSurface() публичный Метод

public CreateDisplayPlaneSurface ( DisplaySurfaceCreateInfo &createInfo, AllocationCallbacks allocator = null ) : Surface
createInfo DisplaySurfaceCreateInfo
allocator AllocationCallbacks
Результат Surface

CreateWin32Surface() публичный Метод

public CreateWin32Surface ( Win32SurfaceCreateInfo createInfo, AllocationCallbacks allocator = null ) : Surface
createInfo Win32SurfaceCreateInfo
allocator AllocationCallbacks
Результат Surface

CreateXcbSurface() публичный Метод

public CreateXcbSurface ( XcbSurfaceCreateInfo &createInfo, AllocationCallbacks allocator = null ) : Surface
createInfo XcbSurfaceCreateInfo
allocator AllocationCallbacks
Результат Surface

CreateXlibSurface() публичный Метод

public CreateXlibSurface ( XlibSurfaceCreateInfo &createInfo, AllocationCallbacks allocator = null ) : Surface
createInfo XlibSurfaceCreateInfo
allocator AllocationCallbacks
Результат Surface

Destroy() публичный Метод

public Destroy ( AllocationCallbacks allocator = null ) : void
allocator AllocationCallbacks
Результат void

DestroyDebugReportCallback() публичный Метод

public DestroyDebugReportCallback ( DebugReportCallback callback, AllocationCallbacks allocator = null ) : void
callback DebugReportCallback
allocator AllocationCallbacks
Результат void

DestroySurface() публичный Метод

public DestroySurface ( Surface surface, AllocationCallbacks allocator = null ) : void
surface Surface
allocator AllocationCallbacks
Результат void

GetProcAddress() публичный Метод

public GetProcAddress ( byte name ) : IntPtr
name byte
Результат System.IntPtr