xcb_glx_get_tex_parameterfv(3)
π xcb_glx_get_tex_parameterfv β ok bestie, let's talk
so this is a page from XCB Requests, living in the libxcb fam, and it's literally called xcb_glx_get_tex_parameterfv(3). it's the GLX "hey X server, tell me about this texture parameter" request. no cap, that's the whole vibe.
β¨ NAME β¨
xcb_glx_get_tex_parameterfv β and that's it, that's the name, the manpage itself left it blank after the dash so we're all just out here vibing π
πΈ SYNOPSIS πΈ
first things first, you gotta invite the header in:
#include <xcb/glx.h>
π Request function
xcb_glx_get_tex_parameterfv_cookie_t
xcb_glx_get_tex_parameterfv(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag,
uint32_t target,
uint32_t pname);
π¦ Reply datastructure
the lil glow-up struct you get back:
typedef struct xcb_glx_get_tex_parameterfv_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_tex_parameterfv_reply_t;
π Reply function
xcb_glx_get_tex_parameterfv_reply_t *
xcb_glx_get_tex_parameterfv_reply(xcb_connection_t *conn,
xcb_glx_get_tex_parameterfv_cookie_t cookie,
xcb_generic_error_t **e);
π Reply accessors
these are the little helpers that dig through the reply for you:
xcb_glx_float32_t *xcb_glx_get_tex_parameterfv_data(const xcb_glx_get_tex_parameterfv_request_t *reply);
int xcb_glx_get_tex_parameterfv_data_length(const xcb_glx_get_tex_parameterfv_reply_t *reply);
xcb_generic_iterator_t xcb_glx_get_tex_parameterfv_data_end(const xcb_glx_get_tex_parameterfv_reply_t *reply);
π psst β yes,xcb_glx_get_tex_parameterfv_datareally does take anxcb_glx_get_tex_parameterfv_request_t *up there, not a reply. that's what the page says, so that's what we're saying. character for character, bestie.
π₯ REQUEST ARGUMENTS π₯
connβ your XCB connection to X11. the whole group chat, basically.context_tagβ TODO: NOT YET DOCUMENTED. literally the manpage's own words, i'm not gonna make stuff up for you πtargetβ TODO: NOT YET DOCUMENTED. same energy.pnameβ TODO: NOT YET DOCUMENTED. yep. all three of them. we move.
π REPLY FIELDS π
response_typeβ the type of this reply, and in this specific case it'sXCB_GLX_GET_TEX_PARAMETERFV. this field also lives inside thexcb_generic_reply_t, and you can use it to tell your replies apart from each other. it's giving name-tag at a party π·οΈsequenceβ the sequence number of the last request processed by the X11 server. the receipts, fr fr.lengthβ how long the reply is, in words (and a word here is4bytes, keep that in your notes).nβ TODO: NOT YET DOCUMENTED.datumβ TODO: NOT YET DOCUMENTED.
π DESCRIPTION π
so the DESCRIPTION section on this page is... empty. nothing. a void. the manpage said "no thoughts, head empty" and honestly? respect π«Ά we are not adding lore that isn't there.
β RETURN VALUE β
you get back an xcb_glx_get_tex_parameterfv_cookie_t. it's a cookie πͺ and like all good cookies, it's a promise of something delicious later.
errors? those have to be handled when you call the reply function xcb_glx_get_tex_parameterfv_reply.
but if you'd rather handle your errors in the event loop instead, use xcb_glx_get_tex_parameterfv_unchecked. see xcb-requests(3) for the details on that whole situation.
π ERRORS π
good news, icon behavior: this request does never generate any errors. zero. none. a clean queen β¨
π§ SEE ALSO π§
(also empty. they really just left it there like a decorative plant π±)
πΈ AUTHOR πΈ
Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
okay that's the whole page, you ate it, no crumbs left π
β¨ stay hydrated, keep your pad fields in check, and remember: pad0, pad1[4], pad2[12] are all just there so the struct sits pretty β that's on alignment, not on you, bestie π«Ά
and for the sign-off: this lil masterpiece is X Version 11, libxcb 1.17.0, filed under xcb_glx_get_tex_parameterfv(3). slay, mwah π
π¦ 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