| 1172 | template <vkb::BindingType bindingType> |
| 1173 | inline void CommandBuffer<bindingType>::set_scissor(uint32_t first_scissor, std::vector<Rect2DType> const &scissors) |
| 1174 | { |
| 1175 | if constexpr (bindingType == vkb::BindingType::Cpp) |
| 1176 | { |
| 1177 | this->get_resource().setScissor(first_scissor, scissors); |
| 1178 | } |
| 1179 | else |
| 1180 | { |
| 1181 | this->get_resource().setScissor(first_scissor, reinterpret_cast<std::vector<vk::Rect2D> const &>(scissors)); |
| 1182 | } |
| 1183 | } |
| 1184 | |
| 1185 | template <vkb::BindingType bindingType> |
| 1186 | template <class T> |
| 1187 | inline void CommandBuffer<bindingType>::set_specialization_constant(uint32_t constant_id, T const &data) |
no outgoing calls
no test coverage detected