Vixen
02b45cc4
csharp
public readonly record struct ImportedTexture

A texture the host owns and lends the frame.

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

Remarks

Two things are imported rather than declared, and they are imported for opposite reasons. The swapchain image belongs to the presentation engine and has to be handed back in Present. A cached shadow atlas belongs to the frame before this one — and a cache is by definition not transient, because the graph's pool exists precisely to recycle memory whose lifetime ends inside the frame.

Everything else should be declared. A resource the graph owns is one it can alias with another whose lifetime does not overlap, and that is most of what a transient pool is for.

Fields and properties (5)

Methods (1)

Used by (12)

  • AutoExposureTestsVixen.Rendering.PostFx.Tests
  • BloomTestsVixen.Rendering.PostFx.Tests
  • CompositorAssetTestsVixen.Rendering.Tests
  • DepthPrepassTestsVixen.Rendering.Tests
  • DescriptorBindingTestsVixen.Rendering.Tests
  • GraphicsCompositorVixen.Rendering
  • PostEffectTestsVixen.Rendering.PostFx.Tests
  • PostProcessTestsVixen.Rendering.Tests
  • SceneRenderHostVixen.Engine.Renderer
  • ShadowCacheTestsVixen.Rendering.Tests
  • ShadowMapRendererTestsVixen.Rendering.Tests
  • HostedRendererTestsVixen.App.Tests