- Home /
Shaders #pragma exclude
"#pragma exclude_renderers ps3 flash" should I use this if I make my game only for Android. Does it make my shader faster if I exclude unused platforms?
Comment
Answer by reefwirrax · Nov 16, 2013 at 10:11 AM
it will compile a bit faster, and it might take less memory on the program, you can also exclude a lot of other ones like GL and DirectX 11, also it will avoid crashing compilers that have different register numbers like Flash. So altogether is the proper way.
Your answer
![](https://koobas.hobune.stream/wayback/20220613121053im_/https://answers.unity.com/themes/thub/images/avi.jpg)