fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / System / Window / Base / OSGRenderOptions.fcd
bloba3478e3de3871a5e53d6320b7f2e8b362c3b9855
1 <?xml version="1.0"?>
3 <FieldContainer
4 name="RenderOptions"
5 parent="Attachment"
6 library="System"
7 pointerfieldtypes="both"
8 structure="concrete"
9 systemcomponent="true"
10 parentsystemcomponent="true"
11 decoratable="false"
12 useLocalIncludes="false"
13 docGroupBase="GrpSystemWindow"
16 <Field
17 name="renderProperties"
18 type="MaterialMapKey"
19 cardinality="single"
20 visibility="external"
21 defaultValue="0x0000"
22 access="public"
23 fieldHeader="OSGMaterialMapFields.h"
24 typeHeader="OSGMaterialMapFields.h"
26 </Field>
27 <Field
28 name="useGLFinish"
29 type="bool"
30 cardinality="single"
31 visibility="external"
32 defaultValue="false"
33 access="public"
35 </Field>
37 <Field
38 name="statistic"
39 type="bool"
40 cardinality="single"
41 visibility="external"
42 defaultValue="false"
43 access="public"
45 </Field>
46 <Field
47 name="polygonMode"
48 type="GLenum"
49 cardinality="single"
50 visibility="external"
51 defaultValue="GL_FILL"
52 defaultHeader="&quot;OSGGL.h&quot;"
53 access="public"
55 </Field>
56 <Field
57 name="twoSidedLighting"
58 type="bool"
59 cardinality="single"
60 visibility="external"
61 defaultValue="false"
62 access="public"
64 </Field>
65 <Field
66 name="specTexLighting"
67 type="bool"
68 cardinality="single"
69 visibility="external"
70 defaultValue="false"
71 access="public"
73 </Field>
74 <Field
75 name="sortTrans"
76 type="bool"
77 cardinality="single"
78 visibility="external"
79 defaultValue="true"
80 access="public"
82 </Field>
83 <Field
84 name="zWriteTrans"
85 type="bool"
86 cardinality="single"
87 visibility="external"
88 defaultValue="true"
89 access="public"
91 </Field>
92 <Field
93 name="localLights"
94 type="bool"
95 cardinality="single"
96 visibility="external"
97 defaultValue="true"
98 access="public"
100 </Field>
101 <Field
102 name="correctTwoSidedLighting"
103 type="bool"
104 cardinality="single"
105 visibility="external"
106 defaultValue="true"
107 access="public"
109 </Field>
110 <Field
111 name="occlusionCulling"
112 type="bool"
113 cardinality="single"
114 visibility="external"
115 defaultValue="false"
116 access="public"
118 </Field>
119 <Field
120 name="occlusionCullingMode"
121 type="Int32"
122 cardinality="single"
123 visibility="external"
124 defaultValue="1"
125 access="public"
127 OcclusionStopAndWait (1) or OcclusionMultiFrame (2)
128 </Field>
129 <Field
130 name="occlusionCullingPixels"
131 type="UInt32"
132 cardinality="single"
133 visibility="external"
134 defaultValue="0"
135 access="public"
137 culls objects with this number of visible pixels default is zero.
138 </Field>
139 <Field
140 name="antialiasing"
141 type="bool"
142 cardinality="single"
143 visibility="external"
144 defaultValue="false"
145 access="public"
147 </Field>
148 <Field
149 name="antialiasingDistance"
150 type="Real32"
151 cardinality="single"
152 visibility="external"
153 defaultValue="0.2"
154 access="public"
156 </Field>
157 <Field
158 name="antialiasingScale"
159 type="Real32"
160 cardinality="single"
161 visibility="external"
162 defaultValue="2.0"
163 access="public"
165 </Field>
166 <Field
167 name="antialiasingTrigger"
168 type="UInt32"
169 cardinality="single"
170 visibility="external"
171 defaultValue="0"
172 access="public"
174 </Field>
175 <Field
176 name="frustumCulling"
177 type="bool"
178 cardinality="single"
179 visibility="external"
180 defaultValue="false"
181 access="public"
183 </Field>
184 <Field
185 name="backfaceCulling"
186 type="bool"
187 cardinality="single"
188 visibility="external"
189 defaultValue="false"
190 access="public"
192 </Field>
193 <Field
194 name="smallFeatureCulling"
195 type="bool"
196 cardinality="single"
197 visibility="external"
198 access="public"
200 </Field>
201 <Field
202 name="smallFeaturePixels"
203 type="Real32"
204 cardinality="single"
205 visibility="external"
206 access="public"
208 </Field>
209 <Field
210 name="smallFeatureThreshold"
211 type="UInt32"
212 cardinality="single"
213 visibility="external"
214 access="public"
216 </Field>
217 <Field
218 name="firstFrame"
219 type="bool"
220 cardinality="single"
221 visibility="external"
222 defaultValue="true"
223 access="public"
225 </Field>
226 <Field
227 name="depthOnlyPass"
228 type="bool"
229 cardinality="single"
230 visibility="external"
231 defaultValue="false"
232 access="public"
234 </Field>
235 <Field
236 name="lightModelAmbient"
237 type="Color4f"
238 cardinality="single"
239 visibility="external"
240 defaultValue="0.2f,0.2f,0.2f,1.0f"
241 access="public"
243 </Field>
244 <Field
245 name="fogColor"
246 type="Color4f"
247 cardinality="single"
248 visibility="external"
249 defaultValue="0,0,0,0"
250 access="public"
252 </Field>
253 <Field
254 name="fogRange"
255 type="Vec2f"
256 cardinality="single"
257 visibility="external"
258 defaultValue="0,1"
259 access="public"
261 </Field>
262 <Field
263 name="fogDensity"
264 type="Real32"
265 cardinality="single"
266 visibility="external"
267 defaultValue="1"
268 access="public"
270 </Field>
271 <Field
272 name="fogMode"
273 type="Int32"
274 cardinality="single"
275 visibility="external"
276 defaultValue="0"
277 access="public"
279 </Field>
280 <Field
281 name="multiSample"
282 type="UInt32"
283 cardinality="single"
284 visibility="external"
285 defaultValue="1"
286 access="public"
288 number of multi-sample-buffer used for FSAA
289 </Field>
290 <Field
291 name="multiSampleFilterMode"
292 type="UInt32"
293 cardinality="single"
294 visibility="external"
295 defaultValue="0"
296 access="public"
298 defindes the filter-method for multi-sample buffer, must be GL_FALSE/0 (off), GL_DONT_CARE, GL_FASTEST or GL_NICEST
299 </Field>
300 </FieldContainer>