Spout.sender:sendTexture
From GiderosMobile
Available since: Gideros 2018.6.3
Class: Spout
Description
Publishes one frame to every connected receiver.
(bool) = sender:sendTexture(texture)
The texture is read back to the CPU and written to Spout's shared memory, so the sender size and the texture size should match. The image is flipped vertically on the way out; receivers get it the right way up.
Parameters
texture: (TextureBase) the texture to broadcast, usually a RenderTarget of the sender's size
Return values
Returns (boolean) true if the frame has been published