Class VkPhysicalDeviceSamplerFilterMinmaxProperties

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceSamplerFilterMinmaxProperties>
org.lwjgl.vulkan.VkPhysicalDeviceSamplerFilterMinmaxProperties
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
Direct Known Subclasses:
VkPhysicalDeviceSamplerFilterMinmaxPropertiesEXT

public class VkPhysicalDeviceSamplerFilterMinmaxProperties extends org.lwjgl.system.Struct<VkPhysicalDeviceSamplerFilterMinmaxProperties> implements org.lwjgl.system.NativeResource
Structure describing sampler filter minmax limits that can be supported by an implementation.
Description

If the VkPhysicalDeviceSamplerFilterMinmaxProperties structure is included in the pNext chain of the VkPhysicalDeviceProperties2 structure passed to GetPhysicalDeviceProperties2, it is filled in with each corresponding implementation-dependent property.

If filterMinmaxSingleComponentFormats is TRUE, the following formats must support the FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_MINMAX_BIT feature with IMAGE_TILING_OPTIMAL, if they support FORMAT_FEATURE_SAMPLED_IMAGE_BIT:

If the format is a depth/stencil format, this bit only specifies that the depth aspect (not the stencil aspect) of an image of this format supports min/max filtering, and that min/max filtering of the depth aspect is supported when depth compare is disabled in the sampler.

If filterMinmaxImageComponentMapping is FALSE the component mapping of the image view used with min/max filtering must have been created with the r component set to the identity swizzle. Only the r component of the sampled image value is defined and the other component values are undefined. If filterMinmaxImageComponentMapping is TRUE this restriction does not apply and image component mapping works as normal.

Valid Usage (Implicit)

Layout


 struct VkPhysicalDeviceSamplerFilterMinmaxProperties {
     VkStructureType sType();
     void * pNext();
     VkBool32 filterMinmaxSingleComponentFormats();
     VkBool32 filterMinmaxImageComponentMapping();
 }