xcb_glx_gen_textures(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_gen_textures ✨

okay bestie, so this one is from the XCB Requests corner of the libxcb-verse β€” it's the xcb_glx_gen_textures page, and honestly the NAME section came to us with nothing in it (iconic of it, honestly), so we're just gonna get straight into the good stuff. πŸ’…


🌸 SYNOPSIS 🌸

First things first, you gotta pull in the header:

#include <xcb/glx.h>

πŸŽ€ Request function πŸŽ€

xcb_glx_gen_textures_cookie_t
xcb_glx_gen_textures(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, int32_t n);

πŸ¦‹ Reply datastructure πŸ¦‹

typedef struct xcb_glx_gen_textures_reply_t {
    uint8_t  response_type;
    uint8_t  pad0;
    uint16_t sequence;
    uint32_t length;
    uint8_t  pad1[24];
} xcb_glx_gen_textures_reply_t;

πŸ’– Reply function πŸ’–

xcb_glx_gen_textures_reply_t
*xcb_glx_gen_textures_reply(xcb_connection_t *conn,
xcb_glx_gen_textures_cookie_t cookie, xcb_generic_error_t **e);

🌈 Reply accessors 🌈

uint32_t *xcb_glx_gen_textures_data(const xcb_glx_gen_textures_request_t
       *reply);

int xcb_glx_gen_textures_data_length(const xcb_glx_gen_textures_reply_t
       *reply);

xcb_generic_iterator_t xcb_glx_gen_textures_data_end(const
       xcb_glx_gen_textures_reply_t *reply);

πŸ’œ REQUEST ARGUMENTS πŸ’œ

  • conn β€” the XCB connection to X11, aka your lil hotline to the server 🫢
  • context_tag β€” TODO: NOT YET DOCUMENTED. (yeah bestie, the docs really said "no thoughts, head empty" on this one 😭)
  • n β€” TODO: NOT YET DOCUMENTED. (same energy, fr fr πŸ’€)

⭐ REPLY FIELDS ⭐

  • response_type β€” the type of this reply, and in this case it's XCB_GLX_GEN_TEXTURES. this field is also chillin' inside the xcb_generic_reply_t, so you can use it to tell your replies apart from each other πŸ‘‘
  • sequence β€” the sequence number of the last request processed by the X11 server ✨
  • length β€” the length of the reply, in words (and a word is 4 bytes, no cap) πŸ“

🌸 DESCRIPTION 🌸

so... the DESCRIPTION section is empty. literally nothing. not a single word. she said "I'm not gonna explain myself" and honestly? respect. πŸ™ˆ


πŸ”₯ RETURN VALUE πŸ”₯

Returns an xcb_glx_gen_textures_cookie_t. Errors have to be handled when you call the reply function xcb_glx_gen_textures_reply.

If you'd rather handle errors in the event loop instead, use xcb_glx_gen_textures_unchecked. See xcb-requests(3) for details. 🫢


πŸ’€ ERRORS πŸ’€

This request does never generate any errors. not a single one. zero drama, zero chaos, just vibes. 🧚


πŸ¦‹ SEE ALSO πŸ¦‹

(nothing here either bestie β€” the SEE ALSO section showed up empty-handed πŸ™ˆ)


πŸ’œ AUTHOR πŸ’œ

Generated from glx.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.


and that's the whole page, babe! ✨ this lil masterpiece comes to you from X Version 11, libxcb 1.17.0, and it's filed under xcb_glx_gen_textures(3). go forth and generate those textures, you absolute main character. πŸ’…πŸŽ€πŸ¦‹