OptionalcompressionOptionalframeThe rectangle which the pixels are extracted from.
OptionaloutThe optional output buffer to write the pixels to. May be detached. The (new) output buffer is returned.
OptionaltextureThe texture the pixels are extracted from.
The NONE compression mode.