Learn how to evaluate and integrate the VNC SDK
ImmutablePixelFormat¶
-
class ImmutablePixelFormat¶ An immutable PixelFormat, owned by the SDK.
For more information, see
vnc_PixelFormatin the C API documentation.
Method summary
| Modifier and Type | Method and Description |
|---|---|
static ImmutablePixelFormat |
32 bits per pixel stored as XXXXXXXXRRRRRRRRGGGGGGGGBBBBBBBB in most significant to least significant bit order |
static ImmutablePixelFormat |
32 bits per pixel stored as XXXXXXXXBBBBBBBBGGGGGGGGRRRRRRRR in most significant to least significant bit order |
static ImmutablePixelFormat |
16 bits per pixel stored as RRRRRGGGGGGBBBBB in most significant to least significant bit order |
static ImmutablePixelFormat |
16 bits per pixel stored as XRRRRRGGGGGBBBBB in most significant to least significant bit order |
| Int32 |
Gets the total number of bits per pixel. |
| Int32 |
Gets the number of significant bits that are used to store pixel data. |
| Int32 |
Gets the maximum value for the red pixel value. |
| Int32 |
Gets the maximum value for the green pixel value. |
| Int32 |
Gets the maximum value for the blue pixel value. |
| Int32 |
Gets the number of bits the red pixel value is shifted. |
| Int32 |
Gets the number of bits the green pixel value is shifted. |
| Int32 |
Gets the number of bits the blue pixel value is shifted. |
Methods¶
-
static ImmutablePixelFormat
ImmutablePixelFormat.Rgb888()¶ 32 bits per pixel stored as XXXXXXXXRRRRRRRRGGGGGGGGBBBBBBBB in most significant to least significant bit order
For more information, see
vnc_PixelFormat_rgb888()in the C API documentation.
-
static ImmutablePixelFormat
ImmutablePixelFormat.Bgr888()¶ 32 bits per pixel stored as XXXXXXXXBBBBBBBBGGGGGGGGRRRRRRRR in most significant to least significant bit order
For more information, see
vnc_PixelFormat_bgr888()in the C API documentation.
-
static ImmutablePixelFormat
ImmutablePixelFormat.Rgb565()¶ 16 bits per pixel stored as RRRRRGGGGGGBBBBB in most significant to least significant bit order
For more information, see
vnc_PixelFormat_rgb565()in the C API documentation.
-
static ImmutablePixelFormat
ImmutablePixelFormat.Rgb555()¶ 16 bits per pixel stored as XRRRRRGGGGGBBBBB in most significant to least significant bit order
For more information, see
vnc_PixelFormat_rgb555()in the C API documentation.
-
Int32
ImmutablePixelFormat.Bpp()¶ Gets the total number of bits per pixel.
For more information, see
vnc_PixelFormat_bpp()in the C API documentation.
-
Int32
ImmutablePixelFormat.Depth()¶ Gets the number of significant bits that are used to store pixel data.
For more information, see
vnc_PixelFormat_depth()in the C API documentation.
-
Int32
ImmutablePixelFormat.RedMax()¶ Gets the maximum value for the red pixel value.
For more information, see
vnc_PixelFormat_redMax()in the C API documentation.
-
Int32
ImmutablePixelFormat.GreenMax()¶ Gets the maximum value for the green pixel value.
For more information, see
vnc_PixelFormat_greenMax()in the C API documentation.
-
Int32
ImmutablePixelFormat.BlueMax()¶ Gets the maximum value for the blue pixel value.
For more information, see
vnc_PixelFormat_blueMax()in the C API documentation.
-
Int32
ImmutablePixelFormat.RedShift()¶ Gets the number of bits the red pixel value is shifted.
For more information, see
vnc_PixelFormat_redShift()in the C API documentation.
-
Int32
ImmutablePixelFormat.GreenShift()¶ Gets the number of bits the green pixel value is shifted.
For more information, see
vnc_PixelFormat_greenShift()in the C API documentation.
-
Int32
ImmutablePixelFormat.BlueShift()¶ Gets the number of bits the blue pixel value is shifted.
For more information, see
vnc_PixelFormat_blueShift()in the C API documentation.