API for graphic engines