If you are using 2019.1+, you might notice there is a big change to the SRP APIs.
I’ve created a new repository and you can grab here. Much cleaner and minimal.
Here lists out exact what codes enable the Unity feature when making our custom SRP.
*Note that my codes may not be perfectly optimised, but the concept itself won’t change.
*Hope the information is accurate enough. I’ll keep them updated.
In pipeline code
In shader code
✅ Doesn’t need to specifically care about it in codes. Write the codes as usual.