Categorygithub.com/csnewman/go-gfx
repository
0.0.0-20250126131054-87acbc04b28f
Repository: https://github.com/csnewman/go-gfx.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

go-gfx

Cross-platform graphics framework for Go.

[!WARNING] Work in progress.

Structure

The repository contains the following packages:

  • gfx - User facing API. Will eventually be stable.
  • hal - Internal hardware abstraction layer. Expect breaking changes.
  • internal/
    • appkit - macOS windowing backend.
    • metal - Metal rendering backend.
    • vulkan - Vulkan rendering backend.
    • windows - Windows windowing backend.

Platforms

macOSLinuxWindowsiOSAndroidWeb
WindowingšŸ—ļø AppKitāŒ› Wayland
āŒ› X11
šŸ—ļøšŸ’¤šŸ’¤šŸ’¤
RenderingšŸ—ļø Metal
šŸ— Vulkan
āŒ› VulkanšŸ—ļø Vulkan
šŸ’¤ DX12
šŸ’¤šŸ’¤šŸ’¤

āœ… = Supported.
šŸ—ļø = Work in progress.
āŒ› = Future.
šŸ’¤ = No near term plans.

Platforms not listed here, such as those with licensing restrictions, can be supported by implementing the hal layer. This allows you to benefit from the gfx abstraction and a unified codebase.