Contents

setUniformData(_:for:)

Sets the value of a uniform to raw bytes.

Declaration

mutating func setUniformData(_ data: RawSpan, for handle: ComputeGraphComponent.UniformHandle)

Parameters

  • data:

    Raw bytes to write into the uniform.

  • handle:

    The handle identifying the target uniform.