define_feedtarget(3)

πŸ“¦
version 0.7.1 Β· 2 versions
, in nixos 26.05

πŸ’… define_feedtarget(3) β€” direct-copy era ✨

Okay so bestie, welcome to the Arcan Lua API page for define_feedtarget, the function that creates a direct copy association between two frameservers. It’s giving niche but iconic, fr fr. 🫢


✨ NAME ✨

define_feedtarget β€” Create a direct copy association between two frameservers.

🌸 SYNOPSIS 🌸

subseg
define_feedtarget( dstvid, srcvid, cbfun )

πŸ’– DESCRIPTION πŸ’–

Okay so in rare cases, the recordtarget approach for creating output segments in connected frameservers is too expensive or complex. That’s exactly the vibe define_feedtarget is here for: it’s 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. Periodt. πŸ’€

For this to work, target_flags(srcvid, TARGET_VSTORE_SYNCH ) should also be toggled so there is a local data buffer to work with. Slay. ✨

πŸŽ€ NOTES πŸŽ€

  1. define_feedtarget does not handle dynamic resizes inside the srcvid. If source dimensions change, the subseg frameserver connection will be terminated. So yeah, don’t expect it to resize like a main character β€” it won’t. 😭
  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. Very useful for the tech detectives out there. πŸ•΅οΈβ€β™€οΈπŸ’…

πŸ‘€ SEE ALSO: πŸ‘€


Okay that’s the whole thing! This page is from targetcontrol, dated October 2026, and it’s the define_feedtarget(3) manpage. Mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from