Class VkSampleLocationEXT

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

    public class VkSampleLocationEXT
    extends Struct
    implements NativeResource
    Structure specifying the coordinates of a sample location.
    Description

    The domain space of the sample location coordinates has an upper-left origin within the pixel in framebuffer space.

    The values specified in a VkSampleLocationEXT structure are always clamped to the implementation-dependent sample location coordinate range [sampleLocationCoordinateRange[0],sampleLocationCoordinateRange[1]] that can be queried by chaining the VkPhysicalDeviceSampleLocationsPropertiesEXT structure to the pNext chain of VkPhysicalDeviceProperties2.

    See Also

    VkSampleLocationsInfoEXT

    Member documentation

    • x – the horizontal coordinate of the sample’s location.
    • y – the vertical coordinate of the sample’s location.

    Layout

    
     struct VkSampleLocationEXT {
         float x;
         float y;
     }