NAME

SDL2::PixelFormat - RGBA pixel structure

SYNOPSIS

use SDL2 qw[:all];
# TODO: I need to whip up a quick example

DESCRIPTION

Everything in the pixel format structure is read-only.

Fields

format
palette
BitsPerPixel
BytesPerPixel
padding
Rmask
Gmask
Bmask
Amask
Rloss
Gloss
Bloss
Aloss
Rshift
Gshift
Bshift
Ashift
refcount
next

LICENSE

Copyright (C) Sanko Robinson.

This library is free software; you can redistribute it and/or modify it under the terms found in the Artistic License 2. Other copyrights, terms, and conditions may apply to data transmitted through this module.

AUTHOR

Sanko Robinson <sanko@cpan.org>