glcompute

module
v0.0.0-...-2907895 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2021 License: Apache-2.0

README

GLcompute

GLcompute (aka glc) is a Go library for GPGPU using OpenGL 4.3 compute shaders as the backend.

  • glc/ contains the actual library
  • demo/ contains a short example to get started with glc

glc/buffer.go is the most tricky part ; it uses unsafe and reflect to interface Go's safe slices with OpenGL's unsafe mmap-based GPU memory access.

The rest is basically wrappers for OpenGL objects/functions written with the help of go-gl, plus some helper functions.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL