Skip to content
Discussion options

You must be logged in to vote

One render pass that renders multiple buffers is ok, and one buffer can have multiple styles. You can check the cosmic-text examples to see how to apply styles to specific spans within a buffer. Let me know if you have any trouble applying it like this.

In general you should try to share a single render pass as much as possible.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rokit
Comment options

Answer selected by rokit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants