rendertarget_vids(3)
π rendertarget_vids(3) π
okay bestie, welcome to the Arcan Lua API side of the group chat. this page is all about rendertarget_vids, and honestly it's giving βlet the function hand you the listβ energy. π«Ά
π NAME π
rendertarget_vids β get an indexed table of vids in a rendertarget. yup, that's the whole name-vibe, and it ate. β¨
β¨ SYNOPSIS β¨
tbl
rendertarget_vids( rtvid )
π¦ DESCRIPTION π¦
okay so rendertarget_vids( rtvid ) populates a list of VIDs that match the contents of a specific rendertarget at the time of calling. it's literally a βwho's in the room right nowβ list, and the room is that rendertarget. π
this is highkey useful for certain mass-actions when you don't want to manually maintain a list of vids that you collected at allocation time. like, not me keeping a whole side-quest list when the function can just give me the indexed table. fr fr.
if rtvid is not specified, the current default attachment will be used. no extra args needed, the default just slides in. π
πΈ EXAMPLE πΈ
here's the example, copied exactly so you can run the vibe yourself:
function rendertarget_vids0()
local a = color_surface(8, 8, 255, 0, 0);
local b = color_surface(4, 4, 0, 255, 0);
for i,v in ipairs(rendertarget_vids()) do
show_image(v);
print(a, b, v);
end
end
π₯ SEE ALSO π₯
targetcontrolβ go peek, iykyk. π
xoxo, your Arcan Lua API bestie π β rendertarget_vids(3), October 2026. slay and stay iconic. π
π¦ where this page comes from
- nixos 26.05: arcan 0.7.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms