1 // SPDX-License-Identifier: Unlicense OR MIT
2 3 package gpu
4 5 import "github.com/p9c/p9/pkg/gel/gio/gpu/internal/driver"
6 7 // An API carries the necessary GPU API specific resources to create a Device.
8 // There is an API type for each supported GPU API such as OpenGL and Direct3D.
9 type API = driver.API
10 11 // OpenGL denotes the OpenGL or OpenGL ES API.
12 type OpenGL = driver.OpenGL
13 14 // Direct3D11 denotes the Direct3D API.
15 type Direct3D11 = driver.Direct3D11
16