C Specification
The VkSampleLocationEXT
structure is defined as:
// Provided by VK_EXT_sample_locations
typedef struct VkSampleLocationEXT {
float x;
float y;
} VkSampleLocationEXT;
Members
-
x
is the horizontal coordinate of the sample’s location. -
y
is the vertical coordinate of the sample’s 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 using
VkPhysicalDeviceSampleLocationsPropertiesEXT.
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.