pub type ImageCopyExternalImage = CopyExternalImageSourceInfo;👎Deprecated since 24.0.0: This has been renamed to
CopyExternalImageSourceInfo, and will be removed in 25.0.0.Available on WebAssembly only.
Expand description
Old name for a CopyExternalImageSourceInfo.
Aliased Type§
struct ImageCopyExternalImage {
pub source: ExternalImageSource,
pub origin: Origin2d,
pub flip_y: bool,
}Fields§
§source: ExternalImageSourceThe texture to be copied from. The copy source data is captured at the moment the copy is issued.
origin: Origin2dThe base texel used for copying from the external image. Together
with the copy_size argument to copy functions, defines the
sub-region of the image to copy.
Relative to the top left of the image.
Must be Origin2d::ZERO if DownlevelFlags::UNRESTRICTED_EXTERNAL_TEXTURE_COPIES is not supported.
flip_y: boolIf the Y coordinate of the image should be flipped. Even if this is
true, origin is still relative to the top left.