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

change resources returned to user to handles #30

Open
shakesoda opened this issue Feb 10, 2019 · 0 comments
Open

change resources returned to user to handles #30

shakesoda opened this issue Feb 10, 2019 · 0 comments
Assignees

Comments

@shakesoda
Copy link
Owner

this would make TFX_INVALID_* not spew warnings anymore, reduce rebuild times when modifying tinyfx (fewer header changes), and generally make the header a bit leaner.

some new functions that return internal resource info (texture width, height, mips, format...) would be needed and canvas reconfigure would need some rethinking, but most types would change to just struct { uint handle; }

as a handy side effect this would also be needed for any unspecified future port (vulkan?)

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

No branches or pull requests

1 participant