Luna::VG::IFontAtlas::get_shape_buffer
virtual R< RHI::IBuffer * > get_shape_buffer()=0
Gets the shape buffer that stores the glyph contour commands.
This call will copy shape command points to the shape buffer using GPU if shape point data is modified after last call to get_shape_buffer (or if get_shape_buffer is called for the first time after clear), so the user should call this function only if all glyph shapes are packed to the atlas to avoid data copy overhead.
Return value
Returns the shape buffer.