Function PixelFormat.indexed

Wraps SDL_ISPIXELFORMAT_INDEXED which checks whether the dsdl2.PixelFormat is indexed

bool indexed() @property @trusted const;

Returns

true if it is indexed, otherwise false