C Specification
To bind an embedded immutable sampler set to a command buffer, call:
// Provided by VK_EXT_descriptor_buffer
void vkCmdBindDescriptorBufferEmbeddedSamplersEXT(
VkCommandBuffer commandBuffer,
VkPipelineBindPoint pipelineBindPoint,
VkPipelineLayout layout,
uint32_t set);
Parameters
-
commandBuffer
is the command buffer that the embedded immutable samplers will be bound to. -
pipelineBindPoint
is a VkPipelineBindPoint indicating the type of the pipeline that will use the embedded immutable samplers. -
layout
is a VkPipelineLayout object used to program the bindings. -
set
is the number of the set to be bound.
Description
vkCmdBindDescriptorBufferEmbeddedSamplersEXT
binds the embedded immutable
samplers in set
of layout
to set
for the command buffer
for subsequent bound pipeline commands set
by pipelineBindPoint
.
Any previous binding to this set by vkCmdSetDescriptorBufferOffsetsEXT
or this command is overwritten.
Any sets that were last bound by a call to vkCmdBindDescriptorSets are
invalidated upon calling this command.
Other sets will also be invalidated upon calling this command if
layout
differs from the pipeline layout used to bind those other sets,
as described in Pipeline Layout
Compatibility.
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.