50 fDrawIndirectFirstInstance,
60 fTextureCompressionETC2,
61 fTextureCompressionASTC_LDR,
62 fTextureCompressionBC,
63 fOcclusionQueryPrecise,
64 fPipelineStatisticsQuery,
65 fVertexPipelineStoresAndAtomics,
66 fFragmentStoresAndAtomics,
67 fShaderTessellationAndGeometryPointSize,
68 fShaderImageGatherExtended,
69 fShaderStorageImageExtendedFormats,
70 fShaderStorageImageMultisample,
71 fShaderStorageImageReadWithoutFormat,
72 fShaderStorageImageWriteWithoutFormat,
73 fShaderUniformBufferArrayDynamicIndexing,
74 fShaderSampledImageArrayDynamicIndexing,
75 fShaderStorageBufferArrayDynamicIndexing,
76 fShaderStorageImageArrayDynamicIndexing,
82 fShaderResourceResidency,
83 fShaderResourceMinLod,
85 fSparseResidencyBuffer,
86 fSparseResidencyImage2D,
87 fSparseResidencyImage3D,
88 fSparseResidency2Samples,
89 fSparseResidency4Samples,
90 fSparseResidency8Samples,
91 fSparseResidency16Samples,
92 fSparseResidencyAliased,
93 fVariableMultisampleRate,
124 operator bool()
const;
127 VkPhysicalDevice
handle()
const;
bool enableIfSupported(EFeature feature)
Enables specified feature, if supported by the device.
bool supportsSurface(const Surface &surface, size_t iFamily) const
Checks whether a queue family of this device supports presentation to a given surface.
VkPhysicalDeviceMemoryProperties getMemoryProperties() const
Retrieves memory properties for this device.
VkFormatFeatureFlags supportsFormat(VkFormat fmt, EFormatUsage u=OPTIMAL_TILING) const
Checks whether this device supports specified usage of given format.
VkPhysicalDeviceProperties getPhysicalDeviceProperties() const
Retrieves device properties.
The VPP namespace.
Definition: main.hpp:1
const VkQueueFamilyProperties & getQueueFamilyProperties(size_t iFamily) const
Retrieves properties for specified queue family.
Represents a surface visible on the screen.
Definition: vppSurface.hpp:59
bool supportsFeature(EFeature feature) const
Checks whether this device supports given feature.
bool supportsDepthStencilFormat(VkFormat fmt) const
Checks whether this device supports specified depth/stencil format.
void getLimitValuesAsText(std::ostream &sst) const
Gets textual representation of limits section in device properties. Useful for diagnostic logs...
Utility class for dealing with device feature lists.
Definition: vppPhysicalDevice.hpp:214
Represents physical rendering device.
Definition: vppPhysicalDevice.hpp:114
Use the format in texel buffers.
Definition: vppPhysicalDevice.hpp:158
size_t queueFamilyCount() const
Retrieves number of queue families supported by this device.
bool isSupported(EFeature feature) const
Checks whether the device supports given feature.
Use the format in optimal tiling images.
Definition: vppPhysicalDevice.hpp:156
EFormatUsage
Enumeration of possible usages for data format.
Definition: vppPhysicalDevice.hpp:154
PhysicalDevice()
Constructs null reference.
DeviceFeatures(const PhysicalDevice &hPhysDevice)
Constructs the feature list for specified device.
std::vector< PhysicalDevice > PhysicalDevices
Array of physical devices.
Definition: vppPhysicalDevice.hpp:196
EFeature
Optional device feature enumeration.
Definition: vppPhysicalDevice.hpp:38
VkPhysicalDevice handle() const
Retrieves Vulkan handle for this device.
Use the format in linear tiling images.
Definition: vppPhysicalDevice.hpp:157