File: icetCompositeMode.3

package info (click to toggle)
paraview 5.4.1+dfsg4-3.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 218,616 kB
  • sloc: cpp: 2,331,508; ansic: 322,365; python: 111,051; xml: 79,203; tcl: 47,013; yacc: 4,877; java: 4,438; perl: 3,238; sh: 2,920; lex: 1,908; f90: 748; makefile: 273; pascal: 228; objc: 83; fortran: 31
file content (123 lines) | stat: -rw-r--r-- 3,483 bytes parent folder | download | duplicates (2)
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
'\" t
.\" Manual page created with latex2man on Fri Sep 26 14:31:02 MDT 2014
.\" NOTE: This file is generated, DO NOT EDIT.
.de Vb
.ft CW
.nf
..
.de Ve
.ft R

.fi
..
.TH "icetCompositeMode" "3" "September 26, 2014" "\fBIceT \fPReference" "\fBIceT \fPReference"
.SH NAME

\fBicetCompositeMode \-\- set the type of operation used for compositing\fP
.PP
.SH Synopsis

.PP
#include <IceT.h>
.PP
.TS H
l l l .
void \fBicetCompositeMode\fP(	IceTEnum	\fImode\fP  );
.TE
.PP
.SH Description

.PP
Sets the composite mode used when combining images. \fBIceT \fPenables 
parallel rendering by allowing each process in your code to independently 
render images of partial geometry. These partial\-geometry images are 
then ``composited\&'' to form a single image equivalent to if all the 
geometry were rendered by a single process. 
.PP
\fBIceT \fPsupports multiple operations that can be used to combine images. 
The operator you use should be equivalent to that used by your rendering 
system to resolve .ighidden surfacehidden
surfaces or mix occluding 
geometry with that behind it. 
.PP
The argument \fImode\fP
is one of the following enumerations: 
.PP
.TP
\fBICET_COMPOSITE_MODE_Z_BUFFER\fP
 Use the .igz\-bufferz\-buffer
hidden\-surface removal operation. The 
compositing operation compares the distance of pixel fragments from the 
viewpoint and passes the fragment closest to the user. In order for 
this operation to work, images must have a depth buffer (set with 
\fBicetSetDepthFormat\fP).
.TP
\fBICET_COMPOSITE_MODE_BLEND\fP
 Blend two fragments together 
using the standard .igover operator.igunder operatorover/under
operator. in 
order for this operation to work, images must have a color buffer (set 
with \fBicetSetColorFormat\fP)that has an alpha channel and there must be 
\fIno\fP
depth buffer (as the operation makes no sense with depth). 
Also, this mode will only work if \fBICET_ORDERED_COMPOSITE\fP
is 
enabled and the order is set with \fBicetCompositeOrder\fP\&.
.PP
The default compositing mode is 
\fBICET_COMPOSITE_MODE_Z_BUFFER\fP\&.
The current composite mode is 
stored in the \fBICET_COMPOSITE_MODE\fP
state variable. 
.PP
.SH Errors

.PP
.TP
\fBICET_INVALID_ENUM\fP
 \fImode\fP
is not a valid composite mode. 
.PP
.SH Warnings

.PP
None. 
.PP
.SH Bugs

.PP
\fBicetCompositeMode\fP
will let you set a mode even if it is 
incompatible with other current settings. Some settings will be checked 
during a call to \fBicetDrawFrame\fP
or \fBicetCompositeImage\fP\&.
For example, if the image format (specified with \fBicetSetColorFormat\fPand 
\fBicetSetDepthFormat\fP)does not support the composite mode picked, you will 
get an error during the call to \fBicetDrawFrame\fP\&.
.PP
Other incompatibilities are also not checked. For example, if the 
composite mode is set to \fBICET_COMPOSITE_MODE_BLEND\fP,
\fBIceT \fPwill 
happily use this operator even if \fBICET_ORDERED_COMPOSITE\fP
is not 
enabled. However, because order matters in the blend mode, you will 
probably get incorrect images if the compositing happens in arbitrary 
order. 
.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
\fIicetCompositeOrder\fP(3),
\fIicetSetColorFormat\fP(3),
\fIicetSetDepthFormat\fP(3)
.PP
.\" NOTE: This file is generated, DO NOT EDIT.