iOS reference / MetalPerformanceShaders / MPSImageHistogramSpecificationMetalPerformanceShaders · IOS API REFERENCE
MPSImageHistogramSpecification class · iOS 9.0+ · SDK 27.1
class MPSImageHistogramSpecificationMembers (4) method · iOS 9.0+ encodeTransform TypeScript encodeTransform(commandBuffer: SDKHandle, source: SDKHandle, sourceHistogram: SDKHandle, sourceHistogramOffset: number, desiredHistogram: SDKHandle, desiredHistogramOffset: number): voidSwift declaration func encodeTransform(to commandBuffer: any MTLCommandBuffer, sourceTexture source: any MTLTexture, sourceHistogram: any MTLBuffer, sourceHistogramOffset: Int, desiredHistogram: any MTLBuffer, desiredHistogramOffset: Int)init · iOS 11.0+ init TypeScript static initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSImageHistogramSpecification) | nullSwift declaration init?(coder aDecoder: NSCoder, device: any MTLDevice)init · iOS 9.0+ init TypeScript static initDeviceHistogramInfo(device: SDKHandle, histogramInfo: SDKHandle): MPSImageHistogramSpecificationSwift declaration init(device: any MTLDevice, histogramInfo: UnsafePointer<MPSImageHistogramInfo>)get · iOS 9.0+ histogramInfo TypeScript get histogramInfo(): MPSImageHistogramInfoSwift declaration var histogramInfo: MPSImageHistogramInfo { get }Skipped declarations 1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MPSImageHistogramSpecification.init()
inherited init: cannot prove legal (class declares 1 custom initializer)
All MetalPerformanceShaders types →