Reply To: Pixel Access from Texture to an Array

Home Forums Syphon Syphon Development – Developer Pixel Access from Texture to an Array Reply To: Pixel Access from Texture to an Array

#59220
bangnoise
Keymaster

A peculiarity of the IOSurface-backed textures which Syphon uses is that they are reluctant to return pixel data by the usual means. You will likely have to draw the texture into an FBO and then get the pixels from the FBO’s texture backing.

Rough example code in a previous post here.