Class VkPhysicalDeviceSampleLocationsPropertiesEXT

  • All Implemented Interfaces:
    Pointer

    public class VkPhysicalDeviceSampleLocationsPropertiesEXT
    extends Struct
    Structure describing sample location limits that can be supported by an implementation.
    Valid Usage (Implicit)

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

    See Also

    VkExtent2D

    Member documentation

    • 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 – 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;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • STYPE, PNEXT, SAMPLELOCATIONSAMPLECOUNTS, MAXSAMPLELOCATIONGRIDSIZE, SAMPLELOCATIONCOORDINATERANGE, SAMPLELOCATIONSUBPIXELBITS, VARIABLESAMPLELOCATIONS

        The struct member offsets.
    • Constructor Detail

      • VkPhysicalDeviceSampleLocationsPropertiesEXT

        public VkPhysicalDeviceSampleLocationsPropertiesEXT​(java.nio.ByteBuffer container)
        Creates a VkPhysicalDeviceSampleLocationsPropertiesEXT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.