Visual.getRedPixelDetails
void getRedPixelDetails(out uint mask, out int shift, out int precision)Obtains values that are needed to calculate red pixel values in TrueColor and DirectColor. The “mask” is the significant bits within the pixel. The “shift” is the number of bits left we must shift a primary for it to be in position (according to the "mask"). Finally, "precision" refers to how much precision the pixel value contains for a particular primary.
Parameters
mask | A pointer to a #guint32 to be filled in, or null |
shift | A pointer to a #gint to be filled in, or null |
precision | A pointer to a #gint to be filled in, or null |