Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownType = errors.New("unknown data type")
ErrUnknownType is returend when an illegal GL type name is used
Functions ¶
This section is empty.
Types ¶
type Type ¶
type Type uint32
Type holds OpenGL type constants
const ( Bool Type Int8 UInt8 Int16 UInt16 Int32 UInt32 Float Vec2f Vec3f Vec4f Mat3f Mat4f Double Texture2D )
GL Type Constants
func TypeFromString ¶
TypeFromString returns the GL identifier & size of a data type name
Click to show internal directories.
Click to hide internal directories.