One Logo Pool Ball
MetalPerformanceShaders · IOS API REFERENCE

MPSImageNormalizedHistogram

class · iOS 9.0+ · SDK 27.1

class MPSImageNormalizedHistogram

Members (9)

method · iOS 9.0+

encode

TypeScript
encode(commandBuffer: SDKHandle, source: SDKHandle, minmaxTexture: SDKHandle, histogram: SDKHandle, histogramOffset: number): void
Swift declaration
func encode(to commandBuffer: any MTLCommandBuffer, sourceTexture source: any MTLTexture, minmaxTexture: any MTLTexture, histogram: any MTLBuffer, histogramOffset: Int)
method · iOS 9.0+

histogramSize

TypeScript
histogramSize(sourceFormat: _Metal_MTLPixelFormat): number
Swift declaration
func histogramSize(forSourceFormat sourceFormat: MTLPixelFormat) -> Int
init · iOS 11.0+

init

TypeScript
static initCoderDevice(aDecoder: _Foundation_NSCoder, device: SDKHandle): (MPSImageNormalizedHistogram) | null
Swift declaration
init?(coder aDecoder: NSCoder, device: any MTLDevice)
init · iOS 9.0+

init

TypeScript
static initDeviceHistogramInfo(device: SDKHandle, histogramInfo: SDKHandle): MPSImageNormalizedHistogram
Swift declaration
init(device: any MTLDevice, histogramInfo: UnsafePointer<MPSImageHistogramInfo>)
get · iOS 9.0+

clipRectSource

TypeScript
get clipRectSource(): _Metal_MTLRegion
Swift declaration
var clipRectSource: MTLRegion { get set }
set · iOS 9.0+

clipRectSource

TypeScript
set clipRectSource(value: _Metal_MTLRegion)
Swift declaration
var clipRectSource: MTLRegion { get set }
get · iOS 9.0+

histogramInfo

TypeScript
get histogramInfo(): MPSImageHistogramInfo
Swift declaration
var histogramInfo: MPSImageHistogramInfo { get }
get · iOS 9.0+

zeroHistogram

TypeScript
get zeroHistogram(): boolean
Swift declaration
var zeroHistogram: Bool { get set }
set · iOS 9.0+

zeroHistogram

TypeScript
set zeroHistogram(value: boolean)
Swift declaration
var zeroHistogram: Bool { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MPSImageNormalizedHistogram.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All MetalPerformanceShaders types →