public record class VfxGraphArtefactWhat a VFX graph compiles to: one effect, for both processors.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The second one is nearly free, and that is the return on a decision made much earlier. Doc 06 asked for dual-target compilation to be designed in rather than retrofitted, so VfxCompiledGraph was made an array of fixed-size operations and VfxShaderEmitter was written against it. A node graph that produces that array therefore produces the shader too, by calling one method — there is no second lowering, no second node library, and no way for the two to disagree about what the graph meant.
Fields and properties (2)
public VfxCompiledGraph GraphThe compiled graph the CPU simulation runs.
public VfxShader ShaderThe same graph as a Raven compute shader, for the GPU.
Methods (1)
public VfxGraphArtefact(VfxCompiledGraph Graph, VfxShader Shader)What a VFX graph compiles to: one effect, for both processors.
Used by (6)
- AuthoringTestsVixen.Editor.AssetEditors.Tests
- VfxDocumentVixen.Editor.AssetEditors
- VfxGraphCompilerVixen.Editor.VfxGraph
- VfxGraphCompilerTestsVixen.Editor.VfxGraph.Tests
- VfxGraphViewVixen.Editor.AssetEditors
- VfxImporterVixen.Editor.Assets