Vixen
02b45cc4
csharp
public readonly record struct GraphTexture

A texture the graph will provide, named before it exists.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

An index into one graph's resource table, not a GPU object. It is meaningless to another graph and meaningless after Reset, which is what the generation catches — a handle kept across frames is a bug that would otherwise address whatever resource took the slot.

Fields and properties (4)

  • public int Index

    Which resource, from 1. Zero is no resource.

  • public int Generation

    Which build of the graph it belongs to.

  • public static GraphTexture None

    No texture.

  • public bool IsValid

    Whether this names anything.

Methods (1)

  • public GraphTexture(int Index, int Generation)

    A texture the graph will provide, named before it exists.

Used by (38)

  • PbrShowcaseGamePbrShowcase
  • TriangleGameHelloTriangle
  • UiHostHelloUi
  • VideoGameVideoPlayback
  • BoundBindingsVixen.Rendering
  • CompositorFrameVixen.Rendering
  • ComputeRendererVixen.Rendering
  • DebugDrawImageTestsVixen.Graphics.Golden.Tests
  • DescriptorBindingsVixen.Rendering
  • EditorGizmoFacingDeviceTestsVixen.Graphics.Golden.Tests
  • EntryVixen.Rendering
  • FixtureVixen.Graphics.Golden.Tests
  • FullScreenRendererVixen.Rendering
  • GoldenImageTestsVixen.Graphics.Golden.Tests
  • GraphAttachmentVixen.Graphics.RenderGraph
  • HiZRendererVixen.Rendering
  • LineImageTestsVixen.Graphics.Golden.Tests
  • PipelineStateImageTestsVixen.Graphics.Golden.Tests
  • PunctualShadowRendererVixen.Rendering
  • ReflectionRendererVixen.Rendering.PostFx
  • RenderGraphVixen.Graphics.RenderGraph
  • RenderGraphContextVixen.Graphics.RenderGraph
  • RenderGraphPassBuilderVixen.Graphics.RenderGraph
  • RenderGraphPropertyTestsVixen.Graphics.RenderGraph.Tests
  • RenderGraphTestsVixen.Graphics.RenderGraph.Tests
  • RenderPassRendererVixen.Rendering
  • ResourceUseVixen.Graphics.RenderGraph
  • ScreenProbeGatherRendererVixen.Rendering.PostFx
  • ShadowAtlasTileDeviceTestsVixen.Graphics.Golden.Tests
  • ShadowMapRendererVixen.Rendering
  • TemporalAntialiasingRendererVixen.Rendering.PostFx
  • UiFrameLifetimeTestsVixen.Graphics.Golden.Tests
  • UiImageTestsVixen.Graphics.Golden.Tests
  • VirtualShadowRendererVixen.Rendering
  • VisibilityBufferRendererVixen.Rendering
  • EditorHostVixen.Editor.Host
  • PickingRendererVixen.Editor.SceneView
  • ScenePresenterVixen.Editor.App