|
|
| |
define_feedtarget(3) |
Arcan Lua API |
define_feedtarget(3) |
define_feedtarget - Create a direct copy association between two
frameservers.
subseg
define_feedtarget( dstvid, srcvid, cbfun )
In rare cases, the recordtarget approach for creating output segments in
connected frameservers is too expensive or complex. The define_feedtarget
function is intended for situations where the input data from one frameserver
should be copied exactly over to another without the possible GPU
roundtrip. As such, no shaders, transformations or audio will carry over to
the output. For this to work, target_flags(srcvid, TARGET_VSTORE_SYNCH
) should also be toggled so there is a local data buffer to work with.
- 1
- define_feedtarget does not handle dynamic resizes inside the srcvid. If
source dimensions change, the subseg frameserver connection will be
terminated.
- 2
- This can also be used for debugging issues with recordtargets,
calctargets, streaming textures and graphics drivers as it creates a
synchronized copy that is treated separately from regular textures.
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |