package
Version:
v0.0.0-...-ddc071b
Opens a new window with list of versions in this module.
Published: Feb 26, 2023
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Ptr takes a slice or pointer (to a singular scalar value or the first
element of an array or slice) and returns its GL-compatible address.
For example:
var data []uint8
...
gl.TexImage2D(gl.TEXTURE_2D, ..., gl.UNSIGNED_BYTE, gl.Ptr(&data[0]))
Source Files
¶
Click to show internal directories.
Click to hide internal directories.