module
Version:
v0.0.0-...-2907895
Opens a new window with list of versions in this module.
Published: Jan 15, 2021
License: Apache-2.0
Opens a new window with license information.
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
¶
Click to show internal directories.
Click to hide internal directories.