Special "nodraw" material to prevent triangles to be rendered - possible ?

It’s more expensive to render masked material than the way I am talking about. In the old engine I worked with, it was literally a few lines of code where renderer would skip triangles with “nodraw” material. There was no overhead.