- Home /
Easy way to tell how many attributes a particular shader uses?
Is there an easy/convenient way to tell how many attributes a given shader has? I need to know if a certain shader is allowing dynamic batching on different meshes (as informed from this question). I'd rather not have to go in and manually count how many different properties there are in it, especially since my project not only uses lots of asset store shaders, but sometimes dynamically generates shaders at runtime.
Thanks!
Comment