VkPushConstantRange
VkPushConstantRange is a structure defined in the Vulkan graphics API. It is used to describe a contiguous range of memory that can be updated by the CPU and read by shaders within a graphics pipeline. This memory is referred to as push constants. Push constants provide a mechanism for frequently changing, small amounts of data to be passed to shaders without the overhead of uniform buffer objects.
The VkPushConstantRange structure contains three members: stageFlags, offset, and size. The stageFlags member specifies which shader
When using push constants, developers define one or more VkPushConstantRange structures to outline the layout of