Interface BGFXCaptureBeginCallbackI

  • All Superinterfaces:
    CallbackI, CallbackI.V, Pointer
    All Known Implementing Classes:
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface BGFXCaptureBeginCallbackI
    extends CallbackI.V
    Called when video capture begins.


     void (*) (
         bgfx_callback_interface_t *_this,
         uint32_t _width,
         uint32_t _height,
         uint32_t _pitch,
         bgfx_texture_format_t _format,
         bool _yflip
    • Method Detail

      • getSignature

        default java.lang.String getSignature()
        Description copied from interface: CallbackI
        Returns the dyncall signature for this callback function. [INTERNAL API]
        Specified by:
        getSignature in interface CallbackI
        the dyncall signature
      • callback

        default void callback​(long args)
        Description copied from interface: CallbackI.V
        Will be called by native code.
        Specified by:
        callback in interface CallbackI.V
        args - pointer to a DCArgs iterator
      • invoke

        void invoke​(long _this,
                    int _width,
                    int _height,
                    int _pitch,
                    int _format,
                    boolean _yflip)
        Will be called when video capture begins.
        _this - the callback interface
        _width - image width
        _height - image height
        _pitch - number of bytes to skip between the start of each horizontal line of the image
        _format - texture format
        _yflip - if true, image origin is bottom left