Reply To: Syphon from one part to another within the same app? Error Reporting?

Home Forums Syphon Syphon Development – Developer Syphon from one part to another within the same app? Error Reporting? Reply To: Syphon from one part to another within the same app? Error Reporting?

#59243
bangnoise
Keymaster

Using Syphon internally – there’s nothing wrong with doing that, and your per-frame drawing shouldn’t suffer, though the SyphonClient will take a moment to find the server initially. You could use a shared context and the server’s -newFrameImage to get the texture, without the involvement of a SyphonClient.

Syphon shouldn’t cause a crash, ever. The documentation tells you when a method can fail, and what the result of failure will be (eg bindToDrawFrameOfSize: returns a BOOL to indicate success). Check return values and code to deal with the failure value being returned.