Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreatePalette ¶
CreatePalette creates a palette slice of variable amount of color.RGBA structures.
WARNING: Always create color.RGBA values with CreateRGBA() function to avoid accessing invalid memory addresses.
func CreateRGBA ¶
CreateRGBA creates new color.RGBA structure with provided (r,g,b,a) color channels.
NOTE: Argument types are set to unint8, values higher than 255 will result in 'Out of range' errors.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.