C# Класс SharpVulkan.PhysicalDevice

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

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

Метод Описание
CreateDevice ( DeviceCreateInfo &createInfo, AllocationCallbacks allocator = null ) : Device
CreateDisplayMode ( Display display, DisplayModeCreateInfo &createInfo, AllocationCallbacks allocator = null ) : DisplayMode
GetDeviceExtensionProperties ( string layerName = null ) : ExtensionProperties[]
GetDisplayModeProperties ( Display display ) : DisplayModeProperties[]
GetDisplayPlaneCapabilities ( DisplayMode mode, uint planeIndex, DisplayPlaneCapabilities &capabilities ) : void
GetDisplayPlaneSupportedDisplays ( uint planeIndex ) : Display[]
GetFeatures ( PhysicalDeviceFeatures &features ) : void
GetFormatProperties ( Format format, FormatProperties &formatProperties ) : void
GetImageFormatProperties ( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, ImageFormatProperties &imageFormatProperties ) : void
GetMemoryProperties ( PhysicalDeviceMemoryProperties &memoryProperties ) : void
GetProperties ( PhysicalDeviceProperties &properties ) : void
GetSparseImageFormatProperties ( Format format, ImageType type, SampleCountFlags samples, ImageUsageFlags usage, ImageTiling tiling ) : SparseImageFormatProperties[]
GetSurfaceCapabilities ( Surface surface, SurfaceCapabilities &surfaceCapabilities ) : void
GetSurfaceFormats ( Surface surface ) : SurfaceFormat[]
GetSurfacePresentModes ( Surface surface ) : PresentMode[]
GetSurfaceSupport ( uint queueFamilyIndex, Surface surface ) : RawBool
GetWin32PresentationSupport ( uint queueFamilyIndex ) : RawBool
GetXcbPresentationSupport ( uint queueFamilyIndex, IntPtr connection, uint visualid ) : RawBool
GetXlibPresentationSupport ( uint queueFamilyIndex, IntPtr dpy, uint visualId ) : RawBool

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

Метод Описание
EnumerateDeviceExtensionProperties ( byte layerName, uint &propertyCount, ExtensionProperties properties ) : void
EnumerateDeviceLayerProperties ( uint &propertyCount, LayerProperties properties ) : void
GetDisplayModeProperties ( Display display, uint &propertyCount, DisplayModeProperties properties ) : void
GetDisplayPlaneProperties ( uint &propertyCount, DisplayPlaneProperties properties ) : void
GetDisplayPlaneSupportedDisplays ( uint planeIndex, uint &displayCount, Display displays ) : void
GetDisplayProperties ( uint &propertyCount, DisplayProperties properties ) : void
GetQueueFamilyProperties ( uint &queueFamilyPropertyCount, QueueFamilyProperties queueFamilyProperties ) : void
GetSparseImageFormatProperties ( Format format, ImageType type, SampleCountFlags samples, ImageUsageFlags usage, ImageTiling tiling, uint &propertyCount, SparseImageFormatProperties properties ) : void
GetSurfaceFormats ( Surface surface, uint &surfaceFormatCount, SurfaceFormat surfaceFormats ) : void
GetSurfacePresentModes ( Surface surface, uint &presentModeCount, PresentMode presentModes ) : void
vkCreateDevice ( PhysicalDevice physicalDevice, DeviceCreateInfo createInfo, AllocationCallbacks allocator, Device device ) : System.Result
vkCreateDisplayModeKHR ( PhysicalDevice physicalDevice, Display display, DisplayModeCreateInfo createInfo, AllocationCallbacks allocator, DisplayMode mode ) : System.Result
vkEnumerateDeviceExtensionProperties ( PhysicalDevice physicalDevice, byte layerName, uint propertyCount, ExtensionProperties properties ) : System.Result
vkEnumerateDeviceLayerProperties ( PhysicalDevice physicalDevice, uint propertyCount, LayerProperties properties ) : System.Result
vkGetDisplayModePropertiesKHR ( PhysicalDevice physicalDevice, Display display, uint propertyCount, DisplayModeProperties properties ) : System.Result
vkGetDisplayPlaneCapabilitiesKHR ( PhysicalDevice physicalDevice, DisplayMode mode, uint planeIndex, DisplayPlaneCapabilities capabilities ) : System.Result
vkGetDisplayPlaneSupportedDisplaysKHR ( PhysicalDevice physicalDevice, uint planeIndex, uint displayCount, Display displays ) : System.Result
vkGetPhysicalDeviceDisplayPlanePropertiesKHR ( PhysicalDevice physicalDevice, uint propertyCount, DisplayPlaneProperties properties ) : System.Result
vkGetPhysicalDeviceDisplayPropertiesKHR ( PhysicalDevice physicalDevice, uint propertyCount, DisplayProperties properties ) : System.Result
vkGetPhysicalDeviceFeatures ( PhysicalDevice physicalDevice, PhysicalDeviceFeatures features ) : void
vkGetPhysicalDeviceFormatProperties ( PhysicalDevice physicalDevice, Format format, FormatProperties formatProperties ) : void
vkGetPhysicalDeviceImageFormatProperties ( PhysicalDevice physicalDevice, Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, ImageFormatProperties imageFormatProperties ) : System.Result
vkGetPhysicalDeviceMemoryProperties ( PhysicalDevice physicalDevice, PhysicalDeviceMemoryProperties memoryProperties ) : void
vkGetPhysicalDeviceProperties ( PhysicalDevice physicalDevice, PhysicalDeviceProperties properties ) : void
vkGetPhysicalDeviceQueueFamilyProperties ( PhysicalDevice physicalDevice, uint queueFamilyPropertyCount, QueueFamilyProperties queueFamilyProperties ) : void
vkGetPhysicalDeviceSparseImageFormatProperties ( PhysicalDevice physicalDevice, Format format, ImageType type, SampleCountFlags samples, ImageUsageFlags usage, ImageTiling tiling, uint propertyCount, SparseImageFormatProperties properties ) : void
vkGetPhysicalDeviceSurfaceCapabilitiesKHR ( PhysicalDevice physicalDevice, Surface surface, SurfaceCapabilities surfaceCapabilities ) : System.Result
vkGetPhysicalDeviceSurfaceFormatsKHR ( PhysicalDevice physicalDevice, Surface surface, uint surfaceFormatCount, SurfaceFormat surfaceFormats ) : System.Result
vkGetPhysicalDeviceSurfacePresentModesKHR ( PhysicalDevice physicalDevice, Surface surface, uint presentModeCount, PresentMode presentModes ) : System.Result
vkGetPhysicalDeviceSurfaceSupportKHR ( PhysicalDevice physicalDevice, uint queueFamilyIndex, Surface surface, RawBool supported ) : System.Result
vkGetPhysicalDeviceWin32PresentationSupportKHR ( PhysicalDevice physicalDevice, uint queueFamilyIndex ) : RawBool
vkGetPhysicalDeviceXcbPresentationSupportKHR ( PhysicalDevice physicalDevice, uint queueFamilyIndex, IntPtr connection, uint visualid ) : RawBool
vkGetPhysicalDeviceXlibPresentationSupportKHR ( PhysicalDevice physicalDevice, uint queueFamilyIndex, IntPtr dpy, uint visualId ) : RawBool

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

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

public CreateDevice ( DeviceCreateInfo &createInfo, AllocationCallbacks allocator = null ) : Device
createInfo DeviceCreateInfo
allocator AllocationCallbacks
Результат Device

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

public CreateDisplayMode ( Display display, DisplayModeCreateInfo &createInfo, AllocationCallbacks allocator = null ) : DisplayMode
display Display
createInfo DisplayModeCreateInfo
allocator AllocationCallbacks
Результат DisplayMode

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

public GetDeviceExtensionProperties ( string layerName = null ) : ExtensionProperties[]
layerName string
Результат ExtensionProperties[]

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

public GetDisplayModeProperties ( Display display ) : DisplayModeProperties[]
display Display
Результат DisplayModeProperties[]

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

public GetDisplayPlaneCapabilities ( DisplayMode mode, uint planeIndex, DisplayPlaneCapabilities &capabilities ) : void
mode DisplayMode
planeIndex uint
capabilities DisplayPlaneCapabilities
Результат void

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

public GetDisplayPlaneSupportedDisplays ( uint planeIndex ) : Display[]
planeIndex uint
Результат Display[]

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

public GetFeatures ( PhysicalDeviceFeatures &features ) : void
features PhysicalDeviceFeatures
Результат void

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

public GetFormatProperties ( Format format, FormatProperties &formatProperties ) : void
format Format
formatProperties FormatProperties
Результат void

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

public GetImageFormatProperties ( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags, ImageFormatProperties &imageFormatProperties ) : void
format Format
type ImageType
tiling ImageTiling
usage ImageUsageFlags
flags ImageCreateFlags
imageFormatProperties ImageFormatProperties
Результат void

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

public GetMemoryProperties ( PhysicalDeviceMemoryProperties &memoryProperties ) : void
memoryProperties PhysicalDeviceMemoryProperties
Результат void

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

public GetProperties ( PhysicalDeviceProperties &properties ) : void
properties PhysicalDeviceProperties
Результат void

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

public GetSparseImageFormatProperties ( Format format, ImageType type, SampleCountFlags samples, ImageUsageFlags usage, ImageTiling tiling ) : SparseImageFormatProperties[]
format Format
type ImageType
samples SampleCountFlags
usage ImageUsageFlags
tiling ImageTiling
Результат SparseImageFormatProperties[]

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

public GetSurfaceCapabilities ( Surface surface, SurfaceCapabilities &surfaceCapabilities ) : void
surface Surface
surfaceCapabilities SurfaceCapabilities
Результат void

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

public GetSurfaceFormats ( Surface surface ) : SurfaceFormat[]
surface Surface
Результат SurfaceFormat[]

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

public GetSurfacePresentModes ( Surface surface ) : PresentMode[]
surface Surface
Результат PresentMode[]

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

public GetSurfaceSupport ( uint queueFamilyIndex, Surface surface ) : RawBool
queueFamilyIndex uint
surface Surface
Результат RawBool

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

public GetWin32PresentationSupport ( uint queueFamilyIndex ) : RawBool
queueFamilyIndex uint
Результат RawBool

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

public GetXcbPresentationSupport ( uint queueFamilyIndex, IntPtr connection, uint visualid ) : RawBool
queueFamilyIndex uint
connection System.IntPtr
visualid uint
Результат RawBool

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

public GetXlibPresentationSupport ( uint queueFamilyIndex, IntPtr dpy, uint visualId ) : RawBool
queueFamilyIndex uint
dpy System.IntPtr
visualId uint
Результат RawBool