Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

PixelFormat

class PixelFormat

Description of how pixels are stored in a Viewer framebuffer.

For more information, see vnc_PixelFormat in the C API documentation.

Implements

Constructor summary

Modifier and Type Method and Description

PixelFormat(Int32 bitsPerPixel, Int32 redMax, Int32 greenMax, Int32 blueMax, Int32 redShift, Int32 greenShift, Int32 blueShift)

Creates a custom pixel format based on the given parameters.

Method summary

Modifier and Type Method and Description
static ImmutablePixelFormat

PixelFormat.Rgb888()

A convenience wrapper for ImmutablePixelFormat.Rgb888().

static ImmutablePixelFormat

PixelFormat.Bgr888()

A convenience wrapper for ImmutablePixelFormat.Bgr888().

static ImmutablePixelFormat

PixelFormat.Rgb565()

A convenience wrapper for ImmutablePixelFormat.Rgb565().

static ImmutablePixelFormat

PixelFormat.Rgb555()

A convenience wrapper for ImmutablePixelFormat.Rgb555().

void

PixelFormat.Dispose()

Destroy a custom pixel format.

Constructors

PixelFormat (Int32 bitsPerPixel, Int32 redMax, Int32 greenMax, Int32 blueMax, Int32 redShift, Int32 greenShift, Int32 blueShift)

Creates a custom pixel format based on the given parameters.

For more information, see vnc_PixelFormat_create() in the C API documentation.

Methods

static ImmutablePixelFormat PixelFormat.Rgb888 ()

A convenience wrapper for ImmutablePixelFormat.Rgb888().

static ImmutablePixelFormat PixelFormat.Bgr888 ()

A convenience wrapper for ImmutablePixelFormat.Bgr888().

static ImmutablePixelFormat PixelFormat.Rgb565 ()

A convenience wrapper for ImmutablePixelFormat.Rgb565().

static ImmutablePixelFormat PixelFormat.Rgb555 ()

A convenience wrapper for ImmutablePixelFormat.Rgb555().

void PixelFormat.Dispose ()

Destroy a custom pixel format.

For more information, see vnc_PixelFormat_destroy() in the C API documentation.

×