1xcb_glx_get_lightiv(3)           XCB Requests           xcb_glx_get_lightiv(3)
2
3
4

NAME

6       xcb_glx_get_lightiv -
7

SYNOPSIS

9       #include <xcb/glx.h>
10
11   Request function
12       xcb_glx_get_lightiv_cookie_t
13              xcb_glx_get_lightiv(xcb_connection_t *conn,
14              xcb_glx_context_tag_t context_tag, uint32_t light,
15              uint32_t pname);
16
17   Reply datastructure
18       typedef struct xcb_glx_get_lightiv_reply_t {
19           uint8_t  response_type;
20           uint8_t  pad0;
21           uint16_t sequence;
22           uint32_t length;
23           uint8_t  pad1[4];
24           uint32_t n;
25           int32_t  datum;
26           uint8_t  pad2[12];
27       } xcb_glx_get_lightiv_reply_t;
28
29   Reply function
30       xcb_glx_get_lightiv_reply_t
31              *xcb_glx_get_lightiv_reply(xcb_connection_t *conn,
32              xcb_glx_get_lightiv_cookie_t cookie, xcb_generic_error_t **e);
33
34   Reply accessors
35       int32_t *xcb_glx_get_lightiv_data(const xcb_glx_get_lightiv_request_t
36              *reply);
37
38       int xcb_glx_get_lightiv_data_length(const xcb_glx_get_lightiv_reply_t
39              *reply);
40
41       xcb_generic_iterator_t xcb_glx_get_lightiv_data_end(const
42              xcb_glx_get_lightiv_reply_t *reply);
43

REQUEST ARGUMENTS

45       conn      The XCB connection to X11.
46
47       context_tag
48                 TODO: NOT YET DOCUMENTED.
49
50       light     TODO: NOT YET DOCUMENTED.
51
52       pname     TODO: NOT YET DOCUMENTED.
53

REPLY FIELDS

55       response_type
56                 The type of this reply, in this case XCB_GLX_GET_LIGHTIV.
57                 This field is also present in the xcb_generic_reply_t and can
58                 be used to tell replies apart from each other.
59
60       sequence  The sequence number of the last request processed by the X11
61                 server.
62
63       length    The length of the reply, in words (a word is 4 bytes).
64
65       n         TODO: NOT YET DOCUMENTED.
66
67       datum     TODO: NOT YET DOCUMENTED.
68

DESCRIPTION

RETURN VALUE

71       Returns an xcb_glx_get_lightiv_cookie_t. Errors have to be handled when
72       calling the reply function xcb_glx_get_lightiv_reply.
73
74       If you want to handle errors in the event loop instead, use
75       xcb_glx_get_lightiv_unchecked. See xcb-requests(3) for details.
76

ERRORS

78       This request does never generate any errors.
79

SEE ALSO

AUTHOR

82       Generated from glx.xml. Contact xcb@lists.freedesktop.org for correcā€
83       tions and improvements.
84
85
86
87X Version 11                     libxcb 1.13.1          xcb_glx_get_lightiv(3)
Impressum