Package org.robovm.apple.metalps
Class MPSImageHistogramInfo
- All Implemented Interfaces:
Iterable<MPSImageHistogramInfo>
public class MPSImageHistogramInfo extends Struct<MPSImageHistogramInfo>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMPSImageHistogramInfo.MPSImageHistogramInfoPtr -
Constructor Summary
Constructors Constructor Description MPSImageHistogramInfo()MPSImageHistogramInfo(long numberOfHistogramEntries, boolean histogramForAlpha, VectorFloat4 minPixelValue, VectorFloat4 maxPixelValue) -
Method Summary
Modifier and Type Method Description VectorFloat4getMaxPixelValue()VectorFloat4getMinPixelValue()longgetNumberOfHistogramEntries()booleanisHistogramForAlpha()MPSImageHistogramInfosetHistogramForAlpha(boolean histogramForAlpha)MPSImageHistogramInfosetMaxPixelValue(VectorFloat4 maxPixelValue)MPSImageHistogramInfosetMinPixelValue(VectorFloat4 minPixelValue)MPSImageHistogramInfosetNumberOfHistogramEntries(long numberOfHistogramEntries)Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrap
-
Constructor Details
-
MPSImageHistogramInfo
public MPSImageHistogramInfo() -
MPSImageHistogramInfo
public MPSImageHistogramInfo(long numberOfHistogramEntries, boolean histogramForAlpha, VectorFloat4 minPixelValue, VectorFloat4 maxPixelValue)
-
-
Method Details
-
getNumberOfHistogramEntries
public long getNumberOfHistogramEntries() -
setNumberOfHistogramEntries
-
isHistogramForAlpha
public boolean isHistogramForAlpha() -
setHistogramForAlpha
-
getMinPixelValue
-
setMinPixelValue
-
getMaxPixelValue
-
setMaxPixelValue
-