-
For example, |
Beta Was this translation helpful? Give feedback.
Answered by
grovesNL
Oct 7, 2023
Replies: 1 comment 1 reply
-
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. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
rokit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.