Inspector properties for ScriptableRenderFeature

Hi,

I wrote a custom ScriptableRenderFeature, and wanted to have some exposed properties in the inspector (like the built-in RenderObjects feature, that has “Event”, “Filters”, etc).

I made the properties public, created a PropertyDrawer for them, all to no avail. No properties will show up in the inspector.

Am I missing something?

Your settings variable in your feature needs to be explicitly called “settings” for their ForwardRenderer editor to display it properly in that dropdown.

1 Like

Spent two days and a half trying things, looking at sources, videos and examples. I would never have guessed the name of the variable would play any role in this.

Mild discontent that this isn’t mentioned anywhere (could also be that I didn’t look in the proper places).

Anyway, huge thanks for your answer! :slight_smile: