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

Method resolve_image

framework/core/command_buffer.h:1080–1095  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1078 vk::ImageLayout::eTransferDstOptimal,
1079 reinterpret_cast<std::vector<vk::ImageResolve> const &>(regions));
1080 }
1081}
1082
1083template <vkb::BindingType bindingType>
1084inline void CommandBuffer<bindingType>::set_blend_constants(std::array<float, 4> const &blend_constants)
1085{
1086 this->get_resource().setBlendConstants(blend_constants.data());
1087}
1088
1089template <vkb::BindingType bindingType>
1090inline void CommandBuffer<bindingType>::set_color_blend_state(vkb::rendering::ColorBlendState<bindingType> const &state_info)
1091{
1092 if constexpr (bindingType == vkb::BindingType::Cpp)
1093 {
1094 pipeline_state.set_color_blend_state(state_info);
1095 }
1096 else
1097 {
1098 pipeline_state.set_color_blend_state(reinterpret_cast<vkb::rendering::ColorBlendStateCpp const &>(state_info));

Callers 1

Calls 1

get_handleMethod · 0.45

Tested by

no test coverage detected