Interface GPUImageCopyExternalImage

    interface GPUImageCopyExternalImage {
        flipY?: boolean;
        origin?: GPUOrigin2DStrict;
        source: GPUImageCopyExternalImageSource;
    }

    Properties

    Properties

    flipY?: boolean

    Describes whether the source image is vertically flipped, or not. If this option is set to true, the copy is flipped vertically: the bottom row of the source region is copied into the first row of the destination region, and so on. The GPUImageCopyExternalImage#origin option is still relative to the top-left corner of the source image, increasing downward.

    Defines the origin of the copy - the minimum (top-left) corner of the source sub-region to copy from. Together with copySize, defines the full copy sub-region.