Vixen
5cf01f31
csharp
public readonly record struct TextureImage

One entry in a plan's image table.

Read the guide page for this →

Remarks

⚠ A mip offset rather than a fraction, and the difference is the whole of D8. A radius stored as a fraction of the image has the mirror-image bug at a non-square resolution; a size stored absolutely makes a graph authored at 1K a different material at 4K. One base written in the plan, with everything else a power of two away from it, is the only form in which both questions have one answer.

Fields and properties (3)

  • public TextureFormat Format

    What it stores.

  • public int LevelOffset

    How its size relates to the plan's base resolution: 0 is the base, 1 is half, -1 is double. Doc 48 § D8 — every node is relative and only a bitmap is absolute.

  • public bool External

    Whether the caller supplies it. An external image is not allocated, not pooled and never written; it is what a bitmap input is, and it is the only place an absolute size enters a plan.

Methods (1)

  • public TextureImage(TextureFormat Format, int LevelOffset = 0, bool External = false)

    One entry in a plan's image table.

Used by (56, showing 40)

  • BakedMaterialImageTestsVixen.Graphics.Golden.Tests
  • LayerStackDifferentialVixen.Editor.Texturing.Tests
  • PaintWiringTestsVixen.Editor.Texturing.Tests
  • TextureAdjustTestsVixen.TextureGraph.Tests
  • TextureAnalysisDeviceTestsVixen.TextureGraph.Tests
  • TextureAspectDeviceTestsVixen.TextureGraph.Tests
  • TextureBakeVixen.TextureGraph
  • TextureBlendDeviceTestsVixen.TextureGraph.Tests
  • TextureBudgetDeviceTestsVixen.TextureGraph.Tests
  • TextureCeilingTestsVixen.TextureGraph.Tests
  • TextureColourDeviceTestsVixen.TextureGraph.Tests
  • TextureCpuOpDeviceTestsVixen.TextureGraph.Tests
  • TextureEvaluationCostTestsVixen.TextureGraph.Tests
  • TextureExternalUsageTestsVixen.TextureGraph.Tests
  • TextureFilterDeviceTestsVixen.TextureGraph.Tests
  • TextureFilterKernelTestsVixen.TextureGraph.Tests
  • TextureFrameLoopTestsVixen.TextureGraph.Tests
  • TextureGraphCompilerVixen.TextureGraph
  • TextureGraphCompilerTestsVixen.TextureGraph.Tests
  • TextureGraphDeviceTestsVixen.TextureGraph.Tests
  • TextureGraphPreviewsVixen.Editor.TextureGraph
  • TextureHarnessPatternTestsVixen.TextureGraph.Tests
  • TextureKernelSabotageTestsVixen.TextureGraph.Tests
  • TextureMeshMapNodeTestsVixen.TextureGraph.Tests
  • TextureMixDeviceTestsVixen.TextureGraph.Tests
  • TextureNodeResolutionTestsVixen.TextureGraph.Tests
  • TextureNormalToHeightDeviceTestsVixen.TextureGraph.Tests
  • TextureNormalToHeightTestsVixen.TextureGraph.Tests
  • TexturePixelProcessorTestsVixen.TextureGraph.Tests
  • TexturePlacementDeviceTestsVixen.TextureGraph.Tests
  • TexturePlacementKernelTestsVixen.TextureGraph.Tests
  • TexturePlacementParameterDeviceTestsVixen.TextureGraph.Tests
  • TexturePlanVixen.TextureGraph
  • TexturePlanCheckTestsVixen.TextureGraph.Tests
  • TexturePlanDeviceTestsVixen.TextureGraph.Tests
  • TexturePlanEvaluatorVixen.TextureGraph
  • TexturePlanTestsVixen.TextureGraph.Tests
  • TexturePlanTilingTestsVixen.TextureGraph.Tests
  • TexturePoolScheduleVixen.TextureGraph
  • TexturePoolTestsVixen.TextureGraph.Tests