csPackRGBA Struct Reference
[Graphics]
RGBA data packing.
More...
#include <csgfx/packrgb.h>
Static Public Member Functions | |
void | PackRGBpixelToRGBA (uint8 *buf, const csRGBpixel *pixels, size_t numPixels) |
Pack an array of csRGBpixel into a RGBA byte array. | |
const uint8 * | PackRGBpixelToRGBA (const csRGBpixel *pixels, size_t numPixels) |
Pack an array of csRGBpixel into a RGBA byte array. | |
void | DiscardPackedRGBA (const uint8 *rgba) |
Frees memory possibly allocated by PackRGBpixelToRGBA(). | |
void | UnpackRGBAtoRGBpixel (csRGBpixel *buf, const uint8 *rgba, size_t numPixels) |
Unpack a RGBA byte array into an array of csRGBpixel. | |
const csRGBpixel * | UnpackRGBAtoRGBpixel (const uint8 *rgba, size_t numPixels) |
Unpack a RGBA byte array into an array of csRGBpixel. | |
csRGBpixel * | CopyUnpackRGBAtoRGBpixel (const uint8 *rgba, size_t numPixels) |
Unpack a RGBA byte array into an array of csRGBpixel. | |
void | csDiscardUnpackedRGBpixel (const csRGBpixel *pixels) |
Frees memory possibly allocated by UnpackRGBAtoRGBpixel(). | |
csRGBcolor * | UnpackRGBAtoRGBcolor (const uint8 *rgba, size_t numPixels) |
Unpack a RGBA byte array into an array of csRGBcolor. |
Detailed Description
RGBA data packing.
Definition at line 211 of file packrgb.h.
Member Function Documentation
|
Unpack a RGBA byte array into an array of csRGBpixel.
|
|
Frees memory possibly allocated by UnpackRGBAtoRGBpixel().
|
|
Frees memory possibly allocated by PackRGBpixelToRGBA().
|
|
Pack an array of csRGBpixel into a RGBA byte array.
|
|
Pack an array of csRGBpixel into a RGBA byte array.
Definition at line 220 of file packrgb.h. References csRGBpixel::alpha, csRGBpixel::blue, csRGBpixel::green, and csRGBpixel::red. |
|
Unpack a RGBA byte array into an array of csRGBcolor. Alpha information is discarded!
Definition at line 355 of file packrgb.h. References csRGBcolor::blue, csRGBcolor::green, and csRGBcolor::red. |
|
Unpack a RGBA byte array into an array of csRGBpixel.
|
|
Unpack a RGBA byte array into an array of csRGBpixel.
Definition at line 276 of file packrgb.h. References csRGBpixel::alpha, csRGBpixel::blue, csRGBpixel::green, and csRGBpixel::red. |
The documentation for this struct was generated from the following file:
- csgfx/packrgb.h
Generated for Crystal Space by doxygen 1.3.9.1