C# Class SharpVulkan.PhysicalDevice

Exibir arquivo Open project: jwollen/SharpVulkan Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

CreateDevice() public method

public CreateDevice ( DeviceCreateInfo &createInfo, AllocationCallbacks allocator = null ) : Device
createInfo DeviceCreateInfo
allocator AllocationCallbacks
return Device

CreateDisplayMode() public method

public CreateDisplayMode ( Display display, DisplayModeCreateInfo &createInfo, AllocationCallbacks allocator = null ) : DisplayMode
display Display
createInfo DisplayModeCreateInfo
allocator AllocationCallbacks
return DisplayMode

GetDeviceExtensionProperties() public method

public GetDeviceExtensionProperties ( string layerName = null ) : ExtensionProperties[]
layerName string
return ExtensionProperties[]

GetDisplayModeProperties() public method

public GetDisplayModeProperties ( Display display ) : DisplayModeProperties[]
display Display
return DisplayModeProperties[]

GetDisplayPlaneCapabilities() public method

public GetDisplayPlaneCapabilities ( DisplayMode mode, uint planeIndex, DisplayPlaneCapabilities &capabilities ) : void
mode DisplayMode
planeIndex uint
capabilities DisplayPlaneCapabilities
return void

GetDisplayPlaneSupportedDisplays() public method

public GetDisplayPlaneSupportedDisplays ( uint planeIndex ) : Display[]
planeIndex uint
return Display[]

GetFeatures() public method

public GetFeatures ( PhysicalDeviceFeatures &features ) : void
features PhysicalDeviceFeatures
return void

GetFormatProperties() public method

public GetFormatProperties ( Format format, FormatProperties &formatProperties ) : void
format Format
formatProperties FormatProperties
return void

GetImageFormatProperties() public method

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
return void

GetMemoryProperties() public method

public GetMemoryProperties ( PhysicalDeviceMemoryProperties &memoryProperties ) : void
memoryProperties PhysicalDeviceMemoryProperties
return void

GetProperties() public method

public GetProperties ( PhysicalDeviceProperties &properties ) : void
properties PhysicalDeviceProperties
return void

GetSparseImageFormatProperties() public method

public GetSparseImageFormatProperties ( Format format, ImageType type, SampleCountFlags samples, ImageUsageFlags usage, ImageTiling tiling ) : SparseImageFormatProperties[]
format Format
type ImageType
samples SampleCountFlags
usage ImageUsageFlags
tiling ImageTiling
return SparseImageFormatProperties[]

GetSurfaceCapabilities() public method

public GetSurfaceCapabilities ( Surface surface, SurfaceCapabilities &surfaceCapabilities ) : void
surface Surface
surfaceCapabilities SurfaceCapabilities
return void

GetSurfaceFormats() public method

public GetSurfaceFormats ( Surface surface ) : SurfaceFormat[]
surface Surface
return SurfaceFormat[]

GetSurfacePresentModes() public method

public GetSurfacePresentModes ( Surface surface ) : PresentMode[]
surface Surface
return PresentMode[]

GetSurfaceSupport() public method

public GetSurfaceSupport ( uint queueFamilyIndex, Surface surface ) : RawBool
queueFamilyIndex uint
surface Surface
return RawBool

GetWin32PresentationSupport() public method

public GetWin32PresentationSupport ( uint queueFamilyIndex ) : RawBool
queueFamilyIndex uint
return RawBool

GetXcbPresentationSupport() public method

public GetXcbPresentationSupport ( uint queueFamilyIndex, IntPtr connection, uint visualid ) : RawBool
queueFamilyIndex uint
connection System.IntPtr
visualid uint
return RawBool

GetXlibPresentationSupport() public method

public GetXlibPresentationSupport ( uint queueFamilyIndex, IntPtr dpy, uint visualId ) : RawBool
queueFamilyIndex uint
dpy System.IntPtr
visualId uint
return RawBool