File: icetGLSetReadBuffer.3

package info (click to toggle)
paraview 5.1.2%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 221,108 kB
  • ctags: 236,092
  • sloc: cpp: 2,416,026; ansic: 190,891; python: 99,856; xml: 81,001; tcl: 46,915; yacc: 5,039; java: 4,413; perl: 3,108; sh: 1,974; lex: 1,926; f90: 748; asm: 471; pascal: 228; makefile: 198; objc: 83; fortran: 31
file content (100 lines) | stat: -rw-r--r-- 2,154 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
'\" t
.\" Manual page created with latex2man on Mon Sep 22 15:51:54 MDT 2014
.\" NOTE: This file is generated, DO NOT EDIT.
.de Vb
.ft CW
.nf
..
.de Ve
.ft R

.fi
..
.TH "icetGLSetReadBuffer" "3" "August  9, 2010" "\fBIceT \fPReference" "\fBIceT \fPReference"
.SH NAME

\fBicetGLSetReadBuffer \-\- set \fbOpenGL \fPbuffer for images\fP
.PP
.SH Synopsis

.PP
#include <IceTGL.h>
.PP
.TS H
l l l .
void \fBicetGLSetReadBuffer\fP(	GLenum	\fImode\fP  );
.TE
.PP
.SH Description

.PP
Set the \fbOpenGL \fPbuffer from which to read images to composite. After the 
draw callback (specified by \fBicetGLDrawCallback\fP)
returns, \fBIceT \fP
grabs the rendered image from the \fbOpenGL \fPbuffer specified by 
\fImode\fP\&.
This buffer is also used to write back fully composited 
images if the \fBICET_GL_DISPLAY\fP
option is on. 
.PP
\fImode\fP
is an \fbOpenGL \fPvalue that specifies the buffer. It is passed 
to \fBglReadBuffer\fP
and \fBglDrawBuffer\fP\&.
Accepted values are \fBGL_FRONT\fP,
\fBGL_BACK\fP,
\fBGL_LEFT\fP,
\fBGL_RIGHT\fP,
\fBGL_FRONT_LEFT\fP,
\fBGL_FRONT_RIGHT\fP,
\fBGL_BACK_LEFT\fP,
\fBGL_BACK_RIGHT\fP,
and any of the \fBGL_AUX\fP\fIi\fP
identifiers. 
.PP
The current read buffer used is stored in the 
\fBICET_GL_READ_BUFFER\fP
state variable. The default value is 
\fBGL_BACK\fP\&.
.PP
.SH Errors

.PP
.TP
\fBICET_INVALID_OPERATION\fP
 \fBicetGLInitialize\fP
has not been called for this \fBIceT \fPcontext. 
.TP
\fBICET_INVALID_ENUM\fP
 \fImode\fP
is not a known \fbOpenGL \fPbuffer identifier. 
.PP
.SH Warnings

.PP
None. 
.PP
.SH Bugs

.PP
The check of \fImode\fP
is perfunctory. It just checks \fImode\fP
against a list of known buffers. It does not check to see if the buffer 
actually exists or for any other buffers that might be defined in an 
\fbOpenGL \fPextension. 
.PP
.SH Copyright

Copyright (C)2010 Sandia Corporation 
.PP
Under the terms of Contract DE\-AC04\-94AL85000 with Sandia Corporation, the 
U.S. Government retains certain rights in this software. 
.PP
This source code is released under the New BSD License. 
.PP
.SH See Also

.PP
\fIicetGLDrawCallback\fP(3)
.PP
.\" NOTE: This file is generated, DO NOT EDIT.