Luna::VG::new_shape_draw_list
Ref< IShapeDrawList > new_shape_draw_list(RHI::IDevice *device=nullptr)
Creates a new shape draw list.
Parameters
-
in device
The device used to render to the draw list. This is used to create RHI buffers used by the draw list.
If this is nullptr, the main device (device fetched from RHI::get_main_device) will be used.
Return value
Returns the created shape draw list.