1. A method for providing an interface between an application and a graphics pipeline that renders and processes graphics data, comprising: merging a 2D graphics application programming interface (API) and a 3D graphics API into a single graphics API for both 2D and 3D graphics, wherein data types for the single graphics API apply to both 2D and 3D graphics, thereby eliminating redundant function calls for performing a specific function, such that only one function call for the specific function is utilized for both 2D data objects and 3D data objects.