MPSScaleTransform(3)

NAME
MPSScaleTransform -

SYNOPSIS

#include <MPSTypes.h>

  Public Attributes
double scaleX
double scaleY
double translateX
double translateY

Detailed Description

Transform matrix for explict control over resampling in MPSImageLanczosScale. The MPSScaleTransform is equivalent to:

(CGAffineTransform) {
     .a = scaleX,        .b = 0,
     .c = 0,             .d = scaleY,
     .tx = translateX,   .ty = translateY
 }

Author

Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.