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

Add backend-specific resource info functions. #931

Closed
4 tasks done
floooh opened this issue Oct 28, 2023 · 0 comments · Fixed by #932
Closed
4 tasks done

Add backend-specific resource info functions. #931

floooh opened this issue Oct 28, 2023 · 0 comments · Fixed by #932

Comments

@floooh
Copy link
Owner

floooh commented Oct 28, 2023

Those functions would allow to get the backend-API-specific resource objects wrapped by sg_buffer, sg_image, etc...

New structs and functions:

sg_[api]_[type]_info sg_query_[api]_[type]_info(handle)

Where [api] is [d3d11, gl, metal, wgpu] and type is [buffer, image, sampler, shader, pipeline, pass].

TODO:

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

Successfully merging a pull request may close this issue.

1 participant