Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples #3

Open
RickKock opened this issue Feb 2, 2021 · 6 comments
Open

Examples #3

RickKock opened this issue Feb 2, 2021 · 6 comments

Comments

@RickKock
Copy link

RickKock commented Feb 2, 2021

Hi,

Is it possible to provide some samples of how to use?

I've experienced that the example inside the readme is outdated en some function have changed.

Also I can't figure out how to interact between javascript and rust.

Thanks.

@19h
Copy link
Member

19h commented Feb 2, 2021

Lets continue this conversation in the rust-ul ticket you created.

@19h 19h closed this as completed Feb 2, 2021
@19h 19h reopened this Feb 2, 2021
@19h
Copy link
Member

19h commented Feb 2, 2021

Actually, sorry. I thought you were the same author of this ticket: psychonautwiki/rust-ul#3.

Are you talking about rust-ul-sys or rust-ul?

@RickKock
Copy link
Author

RickKock commented Feb 2, 2021

I was talking about the rust-ul-sys. Din't look yet to rust-ul because I saw that this package was recently updated en the rust-ul page was last updaten 1 year ago.

@19h
Copy link
Member

19h commented Feb 2, 2021

What issues are you facing?

@RickKock
Copy link
Author

RickKock commented Feb 3, 2021

I can't figure how I can communicatie beween Javascript and Rust. So my question actually is of you can provide some examples how to do that.

And as a said before, the example in de readme is also not accurate anymore. For example the ulCreateApp function requires an settings object and the ulCreateView required as session object. You may need to update that.

@ChristianIvicevic
Copy link

Similarly I'd be curious how these binding can be integrated into a game using winit for windowing and OpenGL as the rendering API. I could not find any resources or examples online in relation to the Rust bindings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants