- surface-palette surfaceprocedure
- set! (surface-palette surface) palettesetter
- surface-palette-set! surface palettesetter
surface-palette returns the surface's palette, or #f if it has no palette. It is equivalent to (compose pixel-format-palette surface-format).
The setters signal an exception of kind (exn sdl2) if an error occurs.