Learn how to evaluate and integrate the VNC SDK

We're here if you need help.

PixelFormat

public final class PixelFormat extends ImmutablePixelFormat

Description of how pixels are stored in a Viewer framebuffer.

Constructor Summary

  • PixelFormat(int bitsPerPixel, int redMax, int greenMax, int blueMax, int redShift, int greenShift, int blueShift)

    Creates a custom pixel format based on the given parameters.

Method Summary

Modifier and Type Method and Description
void

destroy()

Destroy a custom pixel format.

Constructors

public PixelFormat(int bitsPerPixel, int redMax, int greenMax, int blueMax, int redShift, int greenShift, int blueShift) throws Library.VncException

Creates a custom pixel format based on the given parameters.

For more information, see vnc_PixelFormat_create().

Methods

public void destroy()

Destroy a custom pixel format.

For more information, see vnc_PixelFormat_destroy().

×