Vixen
dd8b0a81
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.Editor.TextureGraph.Tests
  • TextureAnalysisDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureAspectDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureBakeVixen.Editor.TextureGraph
  • TextureBlendDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureBudgetDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureCeilingTestsVixen.Editor.TextureGraph.Tests
  • TextureColourDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureCpuOpDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureEvaluationCostTestsVixen.Editor.TextureGraph.Tests
  • TextureExternalUsageTestsVixen.Editor.TextureGraph.Tests
  • TextureFilterDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureFilterKernelTestsVixen.Editor.TextureGraph.Tests
  • TextureFrameLoopTestsVixen.Editor.TextureGraph.Tests
  • TextureGraphCompilerVixen.Editor.TextureGraph
  • TextureGraphCompilerTestsVixen.Editor.TextureGraph.Tests
  • TextureGraphDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureGraphPreviewsVixen.Editor.TextureGraph
  • TextureHarnessPatternTestsVixen.Editor.TextureGraph.Tests
  • TextureKernelSabotageTestsVixen.Editor.TextureGraph.Tests
  • TextureMeshMapNodeTestsVixen.Editor.TextureGraph.Tests
  • TextureMixDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureNodeResolutionTestsVixen.Editor.TextureGraph.Tests
  • TextureNormalToHeightDeviceTestsVixen.Editor.TextureGraph.Tests
  • TextureNormalToHeightTestsVixen.Editor.TextureGraph.Tests
  • TexturePixelProcessorTestsVixen.Editor.TextureGraph.Tests
  • TexturePlacementDeviceTestsVixen.Editor.TextureGraph.Tests
  • TexturePlacementKernelTestsVixen.Editor.TextureGraph.Tests
  • TexturePlacementParameterDeviceTestsVixen.Editor.TextureGraph.Tests
  • TexturePlanVixen.Editor.TextureGraph
  • TexturePlanCheckTestsVixen.Editor.TextureGraph.Tests
  • TexturePlanDeviceTestsVixen.Editor.TextureGraph.Tests
  • TexturePlanEvaluatorVixen.Editor.TextureGraph
  • TexturePlanTestsVixen.Editor.TextureGraph.Tests
  • TexturePlanTilingTestsVixen.Editor.TextureGraph.Tests
  • TexturePoolScheduleVixen.Editor.TextureGraph
  • TexturePoolTestsVixen.Editor.TextureGraph.Tests