xcb_glx_get_lightfv(3)
π xcb_glx_get_lightfv(3) β XCB Requests, bestie edition
okay so you're looking at xcb_glx_get_lightfv(3) from the XCB Requests fam β it's the libxcb way of asking the X server for light parameter values over GLX. pull up a chair, we're doing this together π«Ά
β¨ NAME β¨
xcb_glx_get_lightfv β that's it, that's the name. the manpage really said "no description, figure it out" π (the original NAME section is literally empty, no cap).
πΈ SYNOPSIS πΈ
first, the include. gotta get it in there:
#include <xcb/glx.h>
π Request function
xcb_glx_get_lightfv_cookie_t xcb_glx_get_lightfv(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint32_t light,
uint32_t pname);
π¦ Reply datastructure
typedef struct xcb_glx_get_lightfv_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t pad1[4];
uint32_t n;
xcb_glx_float32_t datum;
uint8_t pad2[12];
} xcb_glx_get_lightfv_reply_t;
π§ Reply function
xcb_glx_get_lightfv_reply_t
*xcb_glx_get_lightfv_reply(xcb_connection_t *conn,
xcb_glx_get_lightfv_cookie_t cookie, xcb_generic_error_t **e);
π Reply accessors
xcb_glx_float32_t *xcb_glx_get_lightfv_data(const
xcb_glx_get_lightfv_request_t *reply);
int xcb_glx_get_lightfv_data_length(const xcb_glx_get_lightfv_reply_t
*reply);
xcb_generic_iterator_t xcb_glx_get_lightfv_data_end(const
xcb_glx_get_lightfv_reply_t *reply);
π REQUEST ARGUMENTS π
connβ the XCB connection to X11. your lil hotline to the server, the main character of every XCB call fr fr.context_tagβ TODO: NOT YET DOCUMENTED. yeah. the docs left us on read π no explanation given, we simply do not know.lightβ TODO: NOT YET DOCUMENTED. same situation, bestie. the mystery continues π.pnameβ TODO: NOT YET DOCUMENTED. three for three, the manpage is giving "we'll tell you later" energy π.
not me having to type "TODO: NOT YET DOCUMENTED" three times in a row. iconic of the docs honestly.
β REPLY FIELDS β
response_typeβ the type of this reply, and in this case it'sXCB_GLX_GET_LIGHTFV. this field also lives in thexcb_generic_reply_t, so you can use it to tell your replies apart from each other. vibe check your replies, basically β¨sequenceβ the sequence number of the last request the X11 server actually processed.lengthβ how long the reply is, in words. and a word is 4 bytes, just so we're clear π.nβ TODO: NOT YET DOCUMENTED. again π.datumβ TODO: NOT YET DOCUMENTED. yeah. we're all just out here guessing, lowkey.
π DESCRIPTION π
...nothing. there is genuinely nothing here. the DESCRIPTION section of this page is completely empty. an absolute void. she said "no thoughts, head empty" and meant it π
the original page has no description text. so like. that's the tea. nothing invented, nothing added. periodt.
π₯ RETURN VALUE π₯
you get back an xcb_glx_get_lightfv_cookie_t. πͺ
errors? you handle those when you call the reply function, xcb_glx_get_lightfv_reply.
if you'd rather deal with errors in the event loop instead, use xcb_glx_get_lightfv_unchecked. see xcb-requests(3) for the deets π«Ά
π ERRORS π
this request does never generate any errors. not one. zero. clean sheet, glowing skin, no drama. slay π
π SEE ALSO π
nothing listed, bestie. the SEE ALSO section is empty. we're on our own out here π (there is no SEE ALSO reference on this page β that's the whole truth).
π AUTHOR π
Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and improvements. so if something's wrong, that's the inbox, not mine πΈ
and that's the whole page, bestie!! you ate, you read the whole manpage, main character energy only π
X Version 11 Β· libxcb 1.17.0 Β· bye pookie, go write some XCB code πβ¨π¦
π¦ where this page comes from
- alpine 3.22: libxcb-doc 1.17.0-r0 Β· MIT
- alpine 3.23: libxcb-doc 1.17.0-r1 Β· MIT
- alpine 3.24: libxcb-doc 1.17.0-r2 Β· MIT
- arch rolling: libxcb 1.17.0-1 Β· X11
- centos-stream 10: libxcb-devel 1.17.0-3.el10 Β· X11
- debian trixie: libxcb-doc 1.17.0-2
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 43: libxcb-devel 1.17.0-6.fc43 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- fedora 44: libxcb-devel 1.17.0-7.fc44 Β· X11
- nixpkgs unstable: libxcb 1.17.0
- opensuse-leap 16.0: libxcb-devel-doc 1.17.0-160000.2.2 Β· MIT
- ubuntu questing: libxcb-doc 1.17.0-2build1
- ubuntu resolute: libxcb-doc 1.17.0-2ubuntu1
- ubuntu stonking: libxcb-doc 1.17.0-2ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms