Luna::RHI::ICommandBuffer::set_viewport

virtual void set_viewport(const Viewport &viewport)=0

Bind one viewport to the rasterizer stage of the pipeline.

This operation behaves the same as calling set_viewports with only one viewport.

Parameters

  • in viewport

    The viewport to set.