public void Bake() { // Bake into the buffer: Node.Bake(Buffer); // Write out: Image.SetPixels(Buffer); Image.Apply(); }
public override void Prepare(DrawInfo info) { if (MappingBuffer == null) { // Presample the graph: MappingBuffer = ToneGraph.Bake(256); } // Prepare sources: base.Prepare(info); }