Abstraction to allow WebGL at a future time.