xcb_glx_get_tex_geniv(3)
π xcb_glx_get_tex_geniv π
okay so bestie, welcome to the xcb_glx_get_tex_geniv page from the XCB Requests chapter of the manual. this is a libxcb thing, and the NAME line is literally just the function name with a lil dash and nothing after it β like, the description ghosted us fr fr. we move. π
β¨ SYNOPSIS β¨
first up, the include. yes you need it, no you cannot skip it:
#include <xcb/glx.h>
πΈ Request function
xcb_glx_get_tex_geniv_cookie_t
xcb_glx_get_tex_geniv(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint32_t coord,
uint32_t pname);
πΈ Reply datastructure
this is the struct, and every field is exactly where it needs to be, don't touch it:
typedef struct xcb_glx_get_tex_geniv_reply_t {
uint8_t response_type;
uint8_t pad0;
uint16_t sequence;
uint32_t length;
uint8_t pad1[4];
uint32_t n;
int32_t datum;
uint8_t pad2[12];
} xcb_glx_get_tex_geniv_reply_t;
πΈ Reply function
xcb_glx_get_tex_geniv_reply_t
*xcb_glx_get_tex_geniv_reply(xcb_connection_t *conn,
xcb_glx_get_tex_geniv_cookie_t cookie, xcb_generic_error_t **e);
πΈ Reply accessors
these three are your lil helpers, they get the data out of the reply for you π«Ά:
int32_t *xcb_glx_get_tex_geniv_data(const
xcb_glx_get_tex_geniv_request_t *reply);
int xcb_glx_get_tex_geniv_data_length(const
xcb_glx_get_tex_geniv_reply_t *reply);
xcb_generic_iterator_t xcb_glx_get_tex_geniv_data_end(const
xcb_glx_get_tex_geniv_reply_t *reply);
π REQUEST ARGUMENTS π
connβ bestie this is just your XCB connection to X11. the plug. the link. πcontext_tagβTODO: NOT YET DOCUMENTED.yeah. the docs said "idk her" πcoordβTODO: NOT YET DOCUMENTED.also a mystery, also iconic for it πpnameβTODO: NOT YET DOCUMENTED.three for three, they really left us on read π
π¦ REPLY FIELDS π¦
response_typeβ the type of this reply, and for this one specifically it'sXCB_GLX_GET_TEX_GENIV. lowkey the glow-up here is that this field also lives in thexcb_generic_reply_t, so you can use it to tell your replies apart from each other. very "who dis" energy, very useful. β¨sequenceβ the sequence number of the last request the X11 server actually processed. it's the receipt. π§Ύlengthβ how long the reply is, measured in words. and before you ask: a word is 4 bytes. periodt. πnβTODO: NOT YET DOCUMENTED.π«datumβTODO: NOT YET DOCUMENTED.π«
π DESCRIPTION π
literally nothing here. the section exists, the vibes are immaculate, the words are not. we respect the silence. π€«
β RETURN VALUE β
so it hands you back an xcb_glx_get_tex_geniv_cookie_t. that's the cookie, bestie, hold onto it πͺ. errors have to be handled when you call the reply function, xcb_glx_get_tex_geniv_reply.
and if you'd rather handle your errors in the event loop instead? use xcb_glx_get_tex_geniv_unchecked. see xcb-requests(3) for the deets. iykyk. π
π ERRORS π
no cap: this request does never generate any errors. zero. none. it's a clean queen, she does not start drama. π
π SEE ALSO π
empty. blank. a beautiful little void. no cross-references, just vibes. π¦
πΈ AUTHOR πΈ
generated from glx.xml. if you spot something wrong or wanna improve it, hit up xcb@lists.freedesktop.org β they're taking corrections and improvements, and honestly, slay for that. π¬
and that's the whole page, babe π it's from X Version 11, libxcb 1.17.0, and it lives at xcb_glx_get_tex_geniv(3) β that's the header, that's the footer, that's the whole main-character arc. go forth and get those tex genivs. π§β¨
π¦ 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