Vixen
dd8b0a81
csharp
public readonly record struct TextureCpuInvocation

Everything one CPU op is given when the evaluator reaches it.

Read the guide page for this →

Remarks

The plan and the index rather than the resolved numbers, so that a CPU op reads its parameters through Resolve exactly as a kernel's uniform block does — which is the only way doc 48 § D8's scaling reaches both kinds of op through one piece of arithmetic.

Fields and properties (4)

  • public TexturePlan Plan

    The plan being baked, so the operation can resolve its own parameters.

  • public int Op

    Its index in Ops.

  • public ImmutableArray<TextureCpuImage> Inputs

    Its input images, in the order Inputs lists them.

  • public TextureCpuImage Output

    The image to fill.

Methods (1)

Used by (6)

  • ITextureCpuOperationVixen.Editor.TextureGraph
  • NormalToHeightOperationVixen.Editor.TextureGraph
  • RecordTheInputVixen.Editor.TextureGraph.Tests
  • TextureNormalToHeightDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureNormalToHeightTestsVixen.Editor.TextureGraph.Tests
  • TransposeRgba8Vixen.Editor.TextureGraph.Tests