Tao.Sdl SDK Documentation

Sdl.SDL_Palette Structure

Color palette for 8-bit pixel formats

For a list of all members of this type, see Sdl.SDL_Palette Members.

System.Object
   System.ValueType
      Tao.Sdl.Sdl.SDL_Palette

[Visual Basic]
Public Structure Sdl.SDL_Palette
[C#]
public struct Sdl.SDL_Palette

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

Each pixel in an 8-bit surface is an index into the colors field of the SDL_Palette structure store in Sdl.SDL_PixelFormat. A SDL_Palette should never need to be created manually. It is automatically created when SDL allocates a Sdl.SDL_PixelFormat for a surface. The colors values of a Sdl.SDL_Surface palette can be set with the SDL_SetColors.

Requirements

Namespace: Tao.Sdl

Assembly: Tao.Sdl (in Tao.Sdl.dll)

See Also

Sdl.SDL_Palette Members | Tao.Sdl Namespace