/// <summary> /// Adds the required layers to a frame buffer and tracks there references in this object /// </summary> public DenoiseBuffers(FrameBuffer frameBuffer) { frameBuffer.AddLayer("albedo", albedo); frameBuffer.AddLayer("normal", normal); frameBuffer.AddLayer("denoised", denoised); this.frameBuffer = frameBuffer; }