How to access HDRP Decal Projector with script and more...

Is there any difference between HDRP Decal Projector and Decal Projector? Or just API outdated?

7746756--974349--upload_2021-12-18_23-3-47.png

I’m asking because I want to access HDRP Decal Projector in my script, but I can’t.

DecalProjector _decalProjector = GetComponent<DecalProjector>();

I receiving NullReferenceException: Object reference not set to an instance of an object …