C Specification
The custom sample locations used for rasterization when
VkPipelineSampleLocationsStateCreateInfoEXT
::sampleLocationsEnable
is VK_TRUE
are specified by the
VkPipelineSampleLocationsStateCreateInfoEXT
::sampleLocationsInfo
property of the bound graphics pipeline, if the pipeline was not created
with VK_DYNAMIC_STATE_SAMPLE_LOCATIONS_EXT
enabled.
Otherwise, the sample locations used for rasterization are set by calling
vkCmdSetSampleLocationsEXT
:
void vkCmdSetSampleLocationsEXT(
VkCommandBuffer commandBuffer,
const VkSampleLocationsInfoEXT* pSampleLocationsInfo);
Parameters
-
commandBuffer
is the command buffer into which the command will be recorded. -
pSampleLocationsInfo
is the sample locations state to set.
Description
See Also
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.
Copyright
Copyright (c) 2014-2019 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.