Make text render
function public
#176
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A
VelloTextSection
must currently be added to an entity and spawned in the world to be rendered, unlikeimpl Shape
which can be encoded to a scene at any time. This has made it difficult to use text in my immediate mode application.This PR changes the visibility of the
render
function on aVelloFont
frompub(crate)
topub
. As far as I am aware this change doesn't cause any problems, and should work as part of the API without any modifications.PS: This is my first ever pull request, so if anything here is a faux pas I would appreciate the feedback.