add render state objects, template based vector