struct
PhysicalDeviceRepresents a physical device.
Contents
Derived classes
- struct VV::V2::PhysicalDevice
- Represents a physical device.
Public types
- struct ConformanceVersion
- Conformance test suite version an implementation is compliant with is described with this.
- struct Features
- Structure describing the fine-grained features that can be supported by an implementation.
- struct Group
- struct Limits
- Structure reporting implementation-dependent physical device limits.
- struct MemoryProperties
- Specification</
- struct PerformanceCounter
- Specification
- struct Properties
- Container of query general properties of physical devices once enumerated.
- struct Properties2
- Each structure in Properties and its pNext chain contain members corresponding to properties or implementation-dependent limits.
- struct QueueFamilyProperties
- A set of queues that have common properties and support the same functionality.
- struct QueueFamilyProperties2
- Return extended information in a pNext chain of output structures.
- struct SparseMemoryProperties
- Structure specifying various sparse related properties of the physical device.
-
using Memory = V0::
Memory - using Handle = VkPhysicalDevice
- Specification
- using NameStr = char[MaxNameSize]
- Used in various structures to define a name.
- using DriverNameStr = char[MaxDriverNameSize]
- Driver name string.
- using DriverInfoStr = char[MaxDriverInfoSize]
- Driver info string.
- using EDeviceType = EPhysicalDeviceType
Public static variables
- static DeviceSize MaxNameSize constexpr
- Maximum size of a name string.
- static DeviceSize MaxDeviceGroupSize constexpr
- Maximum size of a device group.
- static DeviceSize MaxDriverNameSize constexpr
- maximum size of a driver name string.
- static DeviceSize MaxDriverInfoSize constexpr
- Maximum size of a driver info string.
Public static functions
- static void GetFeatures(Handle _handle, Features& _features)
- Query supported features. Reports capabilities of a physical device.
- static void GetFormatProperties(Handle _handle, EFormat _format, FormatProperties& _properties)
- Query supported format features which are properties of the physical device.
- static void GetMemoryProperties(Handle _handle, MemoryProperties& _properties)
- Query memory properties.
- static void GetProperties(Handle _handle, Properties& _properties)
- Query general properties of physical devices once enumerated.
- static void GetProperties2(Handle _handle, Properties2& _properties)
- Query general properties of physical devices once enumerated (Second Ver).
- static auto QueryExtensionProperties(Handle _handle, RoCStr _layerName, ui32* _numExtensions, ExtensionProperties* _extensionPropertiesContainer) -> EResult
- Device extensions add new device-level functionality to the API, outside of the core specification.
- static void QueryQueueFamilyProperties(Handle _handle, ui32* _numQueueFamilies, QueueFamilyProperties* _queueFamilies)
- Query properties of queues available on a physical device. Reports properties of the queues of the specified physical device.
- static void QueryQueueFamilyProperties2(Handle _handle, ui32* _numProperties, QueueFamilyProperties2* _properties)
- Query properties of queues available on a physical device.
-
static auto QueryPerfomranceQueryCounters(Handle _handle,
ui32 _queueFamilyIndex,
ui32* _numCounters,
PerformanceCounter* _counters,
PerformanceCounter::
Description* _counterDescriptions) -> EResult - Enumerate the performance query counters available on a queue family of a physical device.