XCB_GLX_GET_TEX_LEVEL_PARAMETERIV_DATA_LENGTH(3)

πŸ“¦
version 1.17.0 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’… xcb_glx_get_tex_level_parameteriv(3) πŸ’…

okay so bestie, welcome to the <xcb/glx.h> corner of the universe, section 3 of the manual, the whole libxcb cinematic universe. this is the page for xcb_glx_get_tex_level_parameteriv and yes the title up there is literally abbreviated as xcb_glx_get_t...el_parameteriv(3) because even man page headers have to fit in a fit check. πŸŽ€


✨ NAME ✨

xcb_glx_get_tex_level_parameteriv β€” and that's it. that's the whole description. the little dash after it? nothing follows. it's giving mystery, it's giving "the author left us on read". no cap. 🫢


🌸 SYNOPSIS 🌸

first up, the include, because you can't sit with us without it:

#include <xcb/glx.h>

πŸ’– Request function πŸ’–

xcb_glx_get_tex_level_parameteriv_cookie_t
       xcb_glx_get_tex_level_parameteriv(xcb_connection_t *conn,
       xcb_glx_context_tag_t context_tag, uint32_t target,
       int32_t level, uint32_t pname);

πŸ¦‹ Reply datastructure πŸ¦‹

this is the struct you get back, and yes she has padding fields, she contains multitudes:

typedef struct xcb_glx_get_tex_level_parameteriv_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_level_parameteriv_reply_t;

🌈 Reply function 🌈

xcb_glx_get_tex_level_parameteriv_reply_t
       *xcb_glx_get_tex_level_parameteriv_reply(xcb_connection_t *conn,
       xcb_glx_get_tex_level_parameteriv_cookie_t cookie,
       xcb_generic_error_t **e);

✨ Reply accessors ✨

these are the little helpers that go digging through your reply for you, no thoughts head empty just vibes:

int32_t *xcb_glx_get_tex_level_parameteriv_data(const
       xcb_glx_get_tex_level_parameteriv_request_t *reply);
int xcb_glx_get_tex_level_parameteriv_data_length(const
       xcb_glx_get_tex_level_parameteriv_reply_t *reply);
xcb_generic_iterator_t xcb_glx_get_tex_level_parameteriv_data_end(const
       xcb_glx_get_tex_level_parameteriv_reply_t *reply);

πŸ‘‘ REQUEST ARGUMENTS πŸ‘‘

  • conn β€” your XCB connection to X11. your main character link to the server, periodt.
  • context_tag β€” TODO: NOT YET DOCUMENTED. (the docs said "not today bestie" πŸ™ˆ)
  • target β€” TODO: NOT YET DOCUMENTED. (same energy 😭)
  • level β€” TODO: NOT YET DOCUMENTED. (literally no notes provided πŸ’€)
  • pname β€” TODO: NOT YET DOCUMENTED. (she's a mystery, iykyk)

πŸ“ REPLY FIELDS πŸ“

  • response_type β€” the type of this reply, and in this case it's XCB_GLX_GET_TEX_LEVEL_PARAMETERIV. this field also lives in the xcb_generic_reply_t, so you can use it to tell your replies apart from each other when they're all stacked in the group chat. πŸ’…
  • sequence β€” the sequence number of the last request that the X11 server processed. the receipts, basically.
  • length β€” how long the reply is, in words. and a word is 4 bytes, okay, so don't come at me with letters. πŸ”₯
  • n β€” TODO: NOT YET DOCUMENTED. (we know nothing 🫢)
  • datum β€” TODO: NOT YET DOCUMENTED. (also nothing πŸ™ˆ)

🌟 DESCRIPTION 🌟

...and that's the section. it's empty. she said nothing. zero words. the silence is iconic honestly. πŸŽ€


πŸ’œ RETURN VALUE πŸ’œ

you get back an xcb_glx_get_tex_level_parameteriv_cookie_t, which is your little promise-of-a-reply. any errors have to be handled when you call the reply function, xcb_glx_get_tex_level_parameteriv_reply. πŸͺ

if you'd rather handle errors in the event loop instead, use xcb_glx_get_tex_level_parameteriv_unchecked β€” different vibe, same request. check out xcb-requests(3) for the details, bestie. ✨


πŸ’€ ERRORS πŸ’€

this request does never generate any errors. never ever. flawless behaviour. she's not like other requests. πŸ‘‘

🧚 SEE ALSO 🧚

nothing. empty. a whole section with no friends in it. 😭 (we still love her.)


🌸 AUTHOR 🌸

generated from glx.xml. if you've got corrections or improvements, hit up xcb@lists.freedesktop.org β€” they want the feedback, fr fr. πŸ’Œ


and that's the whole page, bestie! πŸŽ€ this absolute queen shipped as part of X Version 11, libxcb 1.17.0 β€” go forth and query your tex level parameters, you've got this. mwah. πŸ’–βœ¨πŸ¦‹