How to get the amount of color attachments using shader reflection in Metal?
I need to figure out the amount of MRT color outputs used in a fragment shader in Metal to setup the render pipeline accordingly in host code. However I couldn't find a way of doing it. Can anyone help me?
Aucun commentaire:
Enregistrer un commentaire