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

Method set_rasterization_state

framework/core/command_buffer.h:1174–1184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1172template <vkb::BindingType bindingType>
1173inline 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
1185template <vkb::BindingType bindingType>
1186template <class T>
1187inline void CommandBuffer<bindingType>::set_specialization_constant(uint32_t constant_id, T const &data)

Callers 4

draw_implMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected