Versions in this module Expand all Collapse all v0 v0.8.0 Dec 28, 2024 Changes in this version + var ErrDeviceLost = driver.ErrDeviceLost + type API = driver.API + type Direct3D11 = driver.Direct3D11 + type Direct3D11RenderTarget = driver.Direct3D11RenderTarget + type FBO struct + type GPU interface + Clear func(color color.NRGBA) + Frame func(frame *op.Ops, target RenderTarget, viewport image.Point) error + Release func() + func New(api API) (GPU, error) + func NewWithDevice(d driver.Device) (GPU, error) + type Metal = driver.Metal + type MetalRenderTarget = driver.MetalRenderTarget + type OpenGL = driver.OpenGL + type OpenGLRenderTarget = driver.OpenGLRenderTarget + type RenderTarget = driver.RenderTarget + type Vulkan = driver.Vulkan + type VulkanRenderTarget = driver.VulkanRenderTarget