Class VkPhysicalDeviceSampleLocationsPropertiesEXT

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class VkPhysicalDeviceSampleLocationsPropertiesEXT
    extends Struct
    implements NativeResource
    Structure describing sample location limits that can be supported by an implementation.
    Description

    If the VkPhysicalDeviceSampleLocationsPropertiesEXT structure is included in the pNext chain of VkPhysicalDeviceProperties2, it is filled with the implementation-dependent limits.

    Valid Usage (Implicit)
    See Also

    VkExtent2D

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • sampleLocationSampleCounts – a bitmask of VkSampleCountFlagBits indicating the sample counts supporting custom sample locations.
    • maxSampleLocationGridSize – the maximum size of the pixel grid in which sample locations can vary that is supported for all sample counts in sampleLocationSampleCounts.
    • sampleLocationCoordinateRange[2] – the range of supported sample location coordinates.
    • sampleLocationSubPixelBits – the number of bits of subpixel precision for sample locations.
    • variableSampleLocations – specifies whether the sample locations used by all pipelines that will be bound to a command buffer during a subpass must match. If set to TRUE, the implementation supports variable sample locations in a subpass. If set to FALSE, then the sample locations must stay constant in each subpass.

    Layout

    
     struct VkPhysicalDeviceSampleLocationsPropertiesEXT {
         VkStructureType sType;
         void * pNext;
         VkSampleCountFlags sampleLocationSampleCounts;
         VkExtent2D maxSampleLocationGridSize;
         float sampleLocationCoordinateRange[2];
         uint32_t sampleLocationSubPixelBits;
         VkBool32 variableSampleLocations;
     }