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

Method set_vertex_input_state

framework/core/command_buffer.h:1226–1236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1224template <vkb::BindingType bindingType>
1225inline void CommandBuffer<bindingType>::set_viewport(uint32_t first_viewport, std::vector<ViewportType> const &viewports)
1226{
1227 if constexpr (bindingType == vkb::BindingType::Cpp)
1228 {
1229 this->get_resource().setViewport(first_viewport, viewports);
1230 }
1231 else
1232 {
1233 this->get_resource().setViewport(first_viewport, reinterpret_cast<std::vector<vk::Viewport> const &>(viewports));
1234 }
1235}
1236
1237template <vkb::BindingType bindingType>
1238inline void CommandBuffer<bindingType>::set_viewport_state(vkb::rendering::ViewportState const &state_info)
1239{

Callers 2

draw_implMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected