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.
(3D by StungaLab)
|Unity C++ code||C#/shader code (MIT open source)|
Render set of objects with filter/sort/params/batch
Internal graphics platform abstraction
Frame render pass structure & logicShader/compute code