Package org.lwjgl.egl

Class NVStreamFrameLimits

  • public final class NVStreamFrameLimits
    extends java.lang.Object
    Native bindings to the NV_stream_frame_limits extension.

    Some stream consumers may allow more than one frame to be acquired at a time, so that applications can operate on sequences of images rather than individual images. This in turn may lead to producers allocating additional buffers to keep the fifo full while fulfilling the consumer's needs. Applications may wish to limit the resources allocated for a given stream, and some stream implementations may be able to operate more efficiently if they know in advance how many buffers will be used.

    This extension defines two new stream attributes which provide hints as to how many frames the application will require, allowing the implementation to plan accordingly.

    Requires KHR_stream.