Luna::RHI::ICommandBuffer::set_viewports

virtual void set_viewports(Span< const Viewport > viewports)=0

Bind an array of viewports to the rasterizer stage of the pipeline.

All viewports must be set in one call. Any call to set_viewport or set_viewports clears all existing viewports before setting new viewports.