MPSImageHistogram.EncodeToCommandBuffer 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將核心編碼為 commandBuffer
,這會在 上 source
運作,並將結果 histogramOffset
位元組 histogram
寫入 。
[Foundation.Export("encodeToCommandBuffer:sourceTexture:histogram:histogramOffset:")]
public virtual void EncodeToCommandBuffer (Metal.IMTLCommandBuffer commandBuffer, Metal.IMTLTexture source, Metal.IMTLBuffer histogram, nuint histogramOffset);
abstract member EncodeToCommandBuffer : Metal.IMTLCommandBuffer * Metal.IMTLTexture * Metal.IMTLBuffer * nuint -> unit
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * Metal.IMTLTexture * Metal.IMTLBuffer * nuint -> unit
參數
- commandBuffer
- IMTLCommandBuffer
- source
- IMTLTexture
- histogram
- IMTLBuffer
- histogramOffset
- System.System.UIntPtr System.unativeint
- 屬性