xcb_glx_get_tex_envfv(3)
π xcb_glx_get_tex_envfv π
okay bestie so this one lives in section 3 of the manual β xcb_glx_get_tex_envfv(3) β and it's part of the XCB Requests family, which is literally the whole X11 request squad. grab a snack, we're doing GLX π
β¨ NAME β¨
xcb_glx_get_tex_envfv -
not me pointing out that the NAME section is literally just the function name and a dash with nothing after it π the original says what it says, and it says nothing. iconic behaviour honestly. moving on π
β¨ SYNOPSIS β¨
First up, you gotta bring the header in. like, obviously:
#include <xcb/glx.h>
πΈ Request function πΈ
xcb_glx_get_tex_envfv_cookie_t
xcb_glx_get_tex_envfv(xcb_connection_t *conn,
xcb_glx_context_tag_t context_tag, uint32_t target,
uint32_t pname);
π¦ Reply datastructure π¦
okay so this is the struct you get back. look at her:
typedef struct xcb_glx_get_tex_envfv_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_envfv_reply_t;
π§ Reply function π§
xcb_glx_get_tex_envfv_reply_t
*xcb_glx_get_tex_envfv_reply(xcb_connection_t *conn,
xcb_glx_get_tex_envfv_cookie_t cookie, xcb_generic_error_t **e);
π Reply accessors π
these are your little helpers for digging through the reply, slay:
xcb_glx_float32_t *xcb_glx_get_tex_envfv_data(const
xcb_glx_get_tex_envfv_request_t *reply);
int xcb_glx_get_tex_envfv_data_length(const
xcb_glx_get_tex_envfv_reply_t *reply);
xcb_generic_iterator_t xcb_glx_get_tex_envfv_data_end(const
xcb_glx_get_tex_envfv_reply_t *reply);
β¨ REQUEST ARGUMENTS β¨
connβ your XCB connection to X11. the whole line to the server, bestie πcontext_tagβTODO: NOT YET DOCUMENTED.yeah... the docs said "figure it out yourself" πtargetβTODO: NOT YET DOCUMENTED.same vibe, same mystery πpnameβTODO: NOT YET DOCUMENTED.three for three, the documentation is NOT giving today π
β¨ REPLY FIELDS β¨
response_typeβ the type of this reply, and in this case it'sXCB_GLX_GET_TEX_ENVFV. this field also shows up in thexcb_generic_reply_t, so you can use it to tell replies apart from each other πsequenceβ the sequence number of the last request the X11 server actually processed. like a little receipt number π§Ύlengthβ how long the reply is, measured in words β and a word is 4 bytes, no cap πnβTODO: NOT YET DOCUMENTED.mysterious. enigmatic. main character energy β¨datumβTODO: NOT YET DOCUMENTED.also mysterious, also not elaborating π«Ά
β¨ DESCRIPTION β¨
literally nothing here. the original DESCRIPTION section is empty. a blank canvas. a vibe. we love a minimalist queen π
β¨ RETURN VALUE β¨
So it hands you back an xcb_glx_get_tex_envfv_cookie_t β a lil promise, basically. Errors? those don't get handled here, they get handled when you call the reply function xcb_glx_get_tex_envfv_reply. π
But if you'd rather deal with errors in the event loop instead of right there, use xcb_glx_get_tex_envfv_unchecked. and yeah, go read xcb-requests(3) for the full deets, iykyk π
β¨ ERRORS β¨
good news bestie: this request does never generate any errors. flawless. no drama. we stay unbothered πΈ
β¨ SEE ALSO β¨
the original SEE ALSO section is empty. nobody got linked. we're on our own out here π
β¨ AUTHOR β¨
Generated from glx.xml. if you spot something wrong or wanna make it better, contact xcb@lists.freedesktop.org for corrections and improvements π
and that's the whole page, bestie!! π
quick recap of the boring-but-important bits: this page is X Version 11, from libxcb 1.17.0, and it's the xcb_glx_get_tex_envfv(3) page β a.k.a. an XCB Request. love her, read her, use her, periodt. πβ¨π¦
π¦ 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