Class CanvasFrameTransfer

  • All Implemented Interfaces:
    FrameTransfer

    public class CanvasFrameTransfer
    extends AbstractFrameTransfer<javafx.scene.canvas.Canvas>
    The class for transferring content from the jME to Canvas.
    • Method Detail

      • getPixelWriter

        protected javafx.scene.image.PixelWriter getPixelWriter​(javafx.scene.canvas.Canvas destination,
                                                                com.jme3.texture.FrameBuffer frameBuffer,
                                                                int width,
                                                                int height)
        Description copied from class: AbstractFrameTransfer
        Get the pixel writer.
        Overrides:
        getPixelWriter in class AbstractFrameTransfer<javafx.scene.canvas.Canvas>
        Parameters:
        destination - the destination.
        frameBuffer - the frame buffer.
        width - the width.
        height - the height.
        Returns:
        the pixel writer.