`getTranslucent-xxx-RenderState` functions are almost exactly the same.  Can we make them delegate to the same function?