Class MPSImageCoordinate
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.c.StructObject
-
- apple.metalperformanceshaders.struct.MPSImageCoordinate
-
public final class MPSImageCoordinate extends org.moe.natj.c.StructObject
-
-
Constructor Summary
Constructors Modifier Constructor Description MPSImageCoordinate()MPSImageCoordinate(long x, long y, long channel)protectedMPSImageCoordinate(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longchannel()< The index of the channel or feature channel within the pixelvoidsetChannel(long value)< The index of the channel or feature channel within the pixelvoidsetX(long value)< The horizontal component of the coordinate.voidsetY(long value)< The vertical component of the coordinate.longx()< The horizontal component of the coordinate.longy()< The vertical component of the coordinate.
-
-
-
Method Detail
-
x
public long x()
< The horizontal component of the coordinate. Units: pixels
-
setX
public void setX(long value)
< The horizontal component of the coordinate. Units: pixels
-
y
public long y()
< The vertical component of the coordinate. Units: pixels
-
setY
public void setY(long value)
< The vertical component of the coordinate. Units: pixels
-
channel
public long channel()
< The index of the channel or feature channel within the pixel
-
setChannel
public void setChannel(long value)
< The index of the channel or feature channel within the pixel
-
-