aclysma / rafx

Multi-backend renderer with asset pipeline. The objective of this repo is to build a scalable, flexible, data driven renderer.
Apache License 2.0
640 stars 32 forks source link

Use Fully-Qualified Type Paths in Macros #167

Closed zicklag closed 2 years ago

zicklag commented 3 years ago

I ran into an error because I didn't use the requried types before calling the macro. This makes sure that you don't have to use anything and the macro should work regardless.

Also updated an out-of-date code sample in one of the doc readmes.

aclysma commented 2 years ago

This was rolled up into https://github.com/aclysma/rafx/commit/4de391a69babf8de1db5e815010e17eadf732b4c