Class MPSImageRegion
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.c.StructObject
-
- apple.metalperformanceshaders.struct.MPSImageRegion
-
public final class MPSImageRegion extends org.moe.natj.c.StructObject
-
-
Constructor Summary
Constructors Modifier Constructor Description MPSImageRegion()MPSImageRegion(MPSImageCoordinate offset, MPSImageCoordinate size)protectedMPSImageRegion(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MPSImageCoordinateoffset()< The position of the top left corner of the subregionvoidsetOffset(MPSImageCoordinate value)< The position of the top left corner of the subregionvoidsetSize(MPSImageCoordinate value)< The size {pixels, pixels, channels} of the subregionMPSImageCoordinatesize()< The size {pixels, pixels, channels} of the subregion
-
-
-
Constructor Detail
-
MPSImageRegion
public MPSImageRegion()
-
MPSImageRegion
protected MPSImageRegion(org.moe.natj.general.Pointer peer)
-
MPSImageRegion
public MPSImageRegion(MPSImageCoordinate offset, MPSImageCoordinate size)
-
-
Method Detail
-
offset
public MPSImageCoordinate offset()
< The position of the top left corner of the subregion
-
setOffset
public void setOffset(MPSImageCoordinate value)
< The position of the top left corner of the subregion
-
size
public MPSImageCoordinate size()
< The size {pixels, pixels, channels} of the subregion
-
setSize
public void setSize(MPSImageCoordinate value)
< The size {pixels, pixels, channels} of the subregion
-
-