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

Method set_multisample_state

framework/core/command_buffer.h:1161–1171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1159template <vkb::BindingType bindingType>
1160inline void CommandBuffer<bindingType>::set_rasterization_state(vkb::rendering::RasterizationState<bindingType> const &state_info)
1161{
1162 if constexpr (bindingType == vkb::BindingType::Cpp)
1163 {
1164 pipeline_state.set_rasterization_state(state_info);
1165 }
1166 else
1167 {
1168 pipeline_state.set_rasterization_state(reinterpret_cast<vkb::rendering::RasterizationStateCpp const &>(state_info));
1169 }
1170}
1171
1172template <vkb::BindingType bindingType>
1173inline void CommandBuffer<bindingType>::set_scissor(uint32_t first_scissor, std::vector<Rect2DType> const &scissors)
1174{

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected