define_nulltarget - Push an output subsegment into a target frameserver
vid
define_nulltarget( vid:fsrv, func:callback )
define_nulltarget( vid:fsrv, string:type, func:callback )
For certain corner cases (typically clipboard) one might need to spawn a
subsegment in a frameserver connection that has output characteristics, but
other related functions such as define_feedtarget etc. doesn't need to be used
as the generic buffer transfer methods aren't in use. The optional type
argument is reserved for future/ other custom use targets, and the default
type is that of the clipboard paste operation.
function define_nulltarget0()
target_alloc("demo", function(source, status)
if (status.kind == "registered") then
local vid = define_nulltarget(source, function()
end);
target_input(vid, "hello world0);
end
end);
end
define_feedtarget(3) define_rendertarget(3)