MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / set_specialization_constant

Method set_specialization_constant

framework/core/command_buffer.h:1201–1211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1199template <vkb::BindingType bindingType>
1200inline void CommandBuffer<bindingType>::set_specialization_constant(uint32_t constant_id, std::vector<uint8_t> const &data)
1201{
1202 pipeline_state.set_specialization_constant(constant_id, data);
1203}
1204
1205template <vkb::BindingType bindingType>
1206inline void CommandBuffer<bindingType>::set_update_after_bind(bool update_after_bind_)
1207{
1208 update_after_bind = update_after_bind_;
1209}
1210
1211template <vkb::BindingType bindingType>
1212inline void CommandBuffer<bindingType>::set_vertex_input_state(vkb::rendering::VertexInputState<bindingType> const &state_info)
1213{
1214 if constexpr (bindingType == vkb::BindingType::Cpp)

Callers 3

renderMethod · 0.45
draw_renderpassMethod · 0.45

Calls 2

to_bytesFunction · 0.85
to_u32Function · 0.85

Tested by 1

renderMethod · 0.36