Scene graph support for programmable pipeline