xcb_glx_is_texture(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_is_texture β€” bestie edition

okay so this is the manual page for xcb_glx_is_texture from the XCB Requests family, living in the libxcb corner of the X universe. yes the NAME line is literally empty in the original, no cap, so we're just vibing with the function name itself. let's go πŸ¦‹


✨ NAME ✨

xcb_glx_is_texture β€” (the original page leaves this blank, bestie. iconic of it, honestly. it's the GLX "is this a texture" request, and that's the whole personality.)


🌸 SYNOPSIS 🌸

#include <xcb/glx.h>

Request function

xcb_glx_is_texture_cookie_t xcb_glx_is_texture(xcb_connection_t *conn,
       xcb_glx_context_tag_t context_tag, uint32_t texture);

Reply datastructure

typedef struct xcb_glx_is_texture_reply_t {
    uint8_t          response_type;
    uint8_t          pad0;
    uint16_t         sequence;
    uint32_t         length;
    xcb_glx_bool32_t ret_val;
} xcb_glx_is_texture_reply_t;

Reply function

xcb_glx_is_texture_reply_t
       *xcb_glx_is_texture_reply(xcb_connection_t *conn,
       xcb_glx_is_texture_cookie_t cookie, xcb_generic_error_t **e);

πŸŽ€ REQUEST ARGUMENTS πŸŽ€

  • conn β€” your XCB connection to X11. the main character of every XCB call, fr fr.
  • context_tag β€” TODO: NOT YET DOCUMENTED. (the docs really said "we'll get to it" and never did 😭)
  • texture β€” TODO: NOT YET DOCUMENTED. (same energy, same mystery πŸ’€)

🫢 REPLY FIELDS 🫢

  • response_type β€” the type of this reply, which in this case is XCB_GLX_IS_TEXTURE. this field is also chillin' in the xcb_generic_reply_t, so you can use it to tell your replies apart from each other. very "name tag at a party" of it ✨
  • sequence β€” the sequence number of the last request processed by the X11 server. the receipts, basically.
  • length β€” the length of the reply, in words. and heads up bestie, a word is 4 bytes here, not whatever you were picturing.
  • ret_val β€” TODO: NOT YET DOCUMENTED. (the suspense is killing me πŸ’€)

🌈 DESCRIPTION 🌈

(no description on the original page. it's giving minimalism. it's giving mystery. we respect it.) 🧚


πŸ‘‘ RETURN VALUE πŸ‘‘

Returns an xcb_glx_is_texture_cookie_t. Errors have to be handled when you call the reply function xcb_glx_is_texture_reply.

If you'd rather handle errors in the event loop instead, use xcb_glx_is_texture_unchecked. See xcb-requests(3) for details. πŸ“


πŸ”₯ ERRORS πŸ”₯

This request does never generate any errors. not a single one. zero. the cleanest request in the group chat, lowkey. ✨


πŸ¦‹ SEE ALSO πŸ¦‹

(nothing listed on the original page β€” it's an empty section, so we're leaving it empty, periodt.)


πŸ’œ AUTHOR πŸ’œ

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


ngl, that's the whole page. short, sweet, and full of TODO's that will probably stay TODO's forever. and that's on documentation, bestie. πŸ’…

okay bye ily, this page came from X Version 11, libxcb 1.17.0, and it's the xcb_glx_is_texture(3) page you just read β€” go be a main character with your GLX textures now πŸŽ€πŸŒˆβ­