Freigeben über


MPSMatrixSum.EncodeToCommandBuffer Methode

Definition

[Foundation.Export("encodeToCommandBuffer:sourceMatrices:resultMatrix:scaleVector:offsetVector:biasVector:startIndex:")]
public virtual void EncodeToCommandBuffer (Metal.IMTLCommandBuffer buffer, MetalPerformanceShaders.MPSMatrix[] sourceMatrices, MetalPerformanceShaders.MPSMatrix resultMatrix, MetalPerformanceShaders.MPSVector scaleVector, MetalPerformanceShaders.MPSVector offsetVector, MetalPerformanceShaders.MPSVector biasVector, nuint startIndex);
abstract member EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector * nuint -> unit
override this.EncodeToCommandBuffer : Metal.IMTLCommandBuffer * MetalPerformanceShaders.MPSMatrix[] * MetalPerformanceShaders.MPSMatrix * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector * MetalPerformanceShaders.MPSVector * nuint -> unit

Parameter

sourceMatrices
MPSMatrix[]
resultMatrix
MPSMatrix
scaleVector
MPSVector

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

offsetVector
MPSVector

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

biasVector
MPSVector

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

startIndex
System.System.UIntPtr System.unativeint
Attribute

Gilt für: