public record class SurfaceCacheAssetThe surface cache, kept captured, lit and bounced frame by frame.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
[19](../../../docs/plan/19-lighting-and-global-illumination.md) § L4's node, on the terms IrradianceFieldAsset already states: the store, the capture and the two dispatches own an atlas, readbacks in flight and a double buffer that outlive any one frame, so they are the host's — SurfaceCache and its neighbours — and what a document says is where in the frame the cache is kept and who reads the answer.
A project that supplies no store gets a node that does nothing, which is the same answer every field node gives: one document, and a frame that simply has no cached radiance in it where the host declined to pay for one.
Fields and properties (4)
public string NameThe node's name, for debug groups and for a human reading the file.
public bool EnabledWhether the node runs.
public string SourceThe shader filling the composed slot, which is half of every binding's name.
public string[] PassesWhich passes read the cache through the composed sampler, by their shader names.
Used by (3)
- CompositorBuilderVixen.Rendering
- TypeRegistrationVixen.Rendering
- Vixen_Rendering_Compositor_SurfaceCacheAssetSerializerVixen.Rendering