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

sokol_gfx.h: add sg_query_[buffer|image|shader|pipeline|pass]_desc() functions. #796

Merged
merged 9 commits into from
Feb 20, 2023

Conversation

floooh
Copy link
Owner

@floooh floooh commented Feb 19, 2023

Adds a set of functions for obtaining a (more or less complete) sg_*_desc struct of an existing resource. The structs may only be partially filled, any parameters which have not been kept around internally will be zeroed (but anything except sg_shader_desc structs is quite complete).

Related to issue #568

  • sg_query_buffer_desc() + test
  • sg_query_image_desc() + test
  • sg_query_shader_desc() + test
  • sg_query_pipeline_desc() + test
  • sg_query_pass_desc() + test
  • update docs
  • update changelog

@floooh floooh merged commit 00b2083 into master Feb 20, 2023
@floooh floooh deleted the sokol-gfx-query-desc branch February 20, 2023 14:28
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

Successfully merging this pull request may close these issues.

1 participant