Click or drag to resize
Ab4d.SharpEngine logo

PhysicalDeviceDetails Class

PhysicalDeviceDetails class provides information about a PhysicalDevice.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.VulkanPhysicalDeviceDetails

Namespace: Ab4d.SharpEngine.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public class PhysicalDeviceDetails : IDisposable

The PhysicalDeviceDetails type exposes the following members.

Constructors
 NameDescription
Public methodPhysicalDeviceDetails Constructor
Top
Properties
 NameDescription
Public propertyAllDeviceExtensionNames Gets an array of all extensions that are supported by this device.
Public propertyAreLargePointsSupported Returns true when the Vulkan point rasterizer supports large points (points with size bigger than 1).
Public propertyDeviceApiVersion Gets the Vulkan API version that is supported by the device.
Public propertyDeviceLUID Device LUID as ulong value.
Public propertyDeviceName Gets the name of the device.
Public propertyDeviceProperties Gets the device properties
Public propertyDeviceUUID Device UUID as byte array.
Public propertyEnabledFeatures Gets PhysicalDeviceFeatures struct with features that were actually enabled when creating the VulkanDevice. To get features that are possible on the physical device see the EnabledFeatures. To enable some of the features when creating the VulkanDevice use the SetupRequestedDeviceFeatures.
Public propertyEnabledLineRasterizationFeatures Gets line rasterization features that were enabled when the device was created.
Public propertyIsDeviceLocalHostVisibleMemoryTypeAvailable True when there is a DeviceLocal and also HostVisible memory.
Public propertyIsDeviceLUIDValid True when the DeviceLUID is available and valid. When false, then it is set to default value.
Public propertyIsDeviceUUIDValid True when the DeviceUUID is available and valid. When false, then it is set to default value.
Public propertyIsHostCachedMemoryTypeAvailable True when host cached memory type is available. True only when also HostCached is available in the same memory type.
Public propertyIsLazilyAllocatedMemoryTypeAvailable True when lazily allocated memory type is available.
Public propertyIsLineRasterizationExtensionEnabled True if LineRasterization extension is enabled when the device was created.
Public propertyIsLineRasterizationExtensionSupported True if line rasterization extension is supported by this device.
Public propertyIsShaderDebugPrintfExtensionSupported True if ShaderDebugPrintf extension is supported by this device.
Public propertyIsShaderShaderDebugPrintfExtensionEnabled True if ShaderDebugPrintf extension is enabled when the device was created.
Public propertyIsUnifiedMemory True when CPU and GPU share the same memory (all memory types have DeviceLocal or LazilyAllocated flag).
Public propertyMemoryProperties Gets the memory properties of the device.
Public propertyMemoryTypes Gets the supported memory types.
Public propertyPhysicalDeviceLimitsEx PhysicalDeviceLimitsEx defines the properties from PhysicalDeviceLimits struct that are defined as arrays and cannot be read directly because fixed arrays in structs are used.
Public propertyPossibleFeatures Gets PhysicalDeviceFeatures struct with features that are possible on the specified physical device. To get actually enabled features see the EnabledFeatures.
Public propertyPossibleLineRasterizationFeatures Gets line rasterization features that are supported by the device.
Top
Methods
 NameDescription
Public methodDispose Dispose
Public methodFindExactMemoryType Returns the memory type index for the specified type filter and flags. When memory type is not found then -1 is returned.
Public methodFindMemoryType Returns index of the specified memory type from the MemoryTypes array. When requireExactMemoryType is false (by default) and when the exact memory type is not found, then another search is done without a memory type without HostCached and LazilyAllocated types. When throwExceptionWhenNotFound is true (by default), then an exception is thrown when the specified memory type is not found. When throwExceptionWhenNotFound is false, then -1 is returned when the memory type is not found.
Public methodGetFormatProperties Returns the properties of the specified format.
Public methodGetMaxSupportedMultiSamplingCount Gets the max multisampling count that is supported by the device.
Top
Fields
 NameDescription
Public fieldPhysicalDevice 
Public fieldVulkanInstance 
Top
See Also