javax.media.nativewindow.util

## Interface PixelFormatUtil.PixelSink

- All Known Subinterfaces:
    PixelFormatUtil.PixelSink32
  Enclosing class:
    PixelFormatUtil

      public static interface PixelFormatUtil.PixelSink

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `PixelFormat` | `getPixelformat()` Return the sink's destination pixelformat.
    `int` | `getStride()` Returns stride in byte-size, i.e.
    `boolean` | `isGLOriented()` Returns `true` if the sink's memory is laid out in OpenGL's coordinate system, origin at bottom left.

- - ### Method Detail

    - #### getPixelformat

          PixelFormat getPixelformat()

      Return the sink's destination pixelformat.

    - #### getStride

          int getStride()

      Returns stride in byte-size, i.e. byte count from one line to the next.

      Must be >= `getPixelformat()`.`bytesPerPixel()` * `#getSize()`.`getWidth()`.

    - #### isGLOriented

          boolean isGLOriented()

      Returns `true` if the sink's memory is laid out in OpenGL's coordinate system, origin at bottom left. Otherwise returns `false`, i.e. origin at top left.

Copyright 2010 JogAmp Community.