MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / LoadPalette

Function LoadPalette

include/Image.hpp:709–711  ·  view source on GitHub ↗

* Load colors palette from image as a Color array (RGBA - 32bit) */

Source from the content-addressed store, hash-verified

707 * Load colors palette from image as a Color array (RGBA - 32bit)
708 */
709 ::Color* LoadPalette(int maxPaletteSize, int* colorsCount) const {
710 return ::LoadImagePalette(*this, maxPaletteSize, colorsCount);
711 }
712
713 /**
714 * Unload color data loaded with LoadImageColors()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected