Compartilhar via


MPSMatrixSum.EncodeToCommandBuffer Método

Definição

[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

Parâmetros

sourceMatrices
MPSMatrix[]
resultMatrix
MPSMatrix
scaleVector
MPSVector

A ser adicionado.

Esse parâmetro pode ser null.

offsetVector
MPSVector

A ser adicionado.

Esse parâmetro pode ser null.

biasVector
MPSVector

A ser adicionado.

Esse parâmetro pode ser null.

startIndex
System.System.UIntPtr System.unativeint
Atributos

Aplica-se a