You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This crate looks super cool so thanks for that.
What do you think about adding the possibility for users of this crate to implement their own Renderer?
One use-case would be people that don't use glium/webgpu.rs (I use gl for my game). I woud build my own GLRenderer, but as it is now, the Renderer trait is impossible to implement as it depends on things that are private like TextureHandle, FontHandle, FontSource, etc.
Thanks,
Alex
The text was updated successfully, but these errors were encountered:
AlexEne
changed the title
Add possibility for implementing a renderer
Add possibility for implementing a renderer?
Oct 19, 2020
Ideally I think the work creating a new Renderer would be included in crate. That way others could also use your work. If you did the bulk of the work actually doing the implementation I would be happy to handle updating docs, feature flags, etc.
However, I also don't think there is anything in particular preventing everything being used in Renderer from being made public. I guess this would mostly be a matter of adding docs. I would want to make it clear which types are only of interest for this sort of work vs which are of use for someone just using the crate.
Hello,
This crate looks super cool so thanks for that.
What do you think about adding the possibility for users of this crate to implement their own
Renderer
?One use-case would be people that don't use glium/webgpu.rs (I use gl for my game). I woud build my own
GLRenderer
, but as it is now, theRenderer
trait is impossible to implement as it depends on things that are private likeTextureHandle
,FontHandle
,FontSource
, etc.Thanks,
Alex
The text was updated successfully, but these errors were encountered: