fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / System / NodeCores / Drawables / Geometry / Base / OSGGeometry.fcd
blob92cde3c7c19b6525f1652d1f2f556b2bcc62d06c
1 <?xml version="1.0"?>
3 <FieldContainer
4 name="Geometry"
5 parent="MaterialDrawable"
6 library="Drawable"
7 pointerfieldtypes="both"
8 structure="concrete"
9 systemcomponent="true"
10 parentsystemcomponent="true"
11 childFields="both"
12 decoratable="false"
13 isNodeCore="true"
14 docGroupBase="GrpDrawablesGeometry"
16 <Field
17 name="types"
18 type="GeoIntegralProperty"
19 cardinality="single"
20 visibility="external"
21 access="public"
22 category="childpointer"
23 childParentType="FieldContainer"
24 linkParentField="Parents"
26 The types property contains the primitive's types. Legal values are
27 everything that can be passed to glBegin(). There have to be as many
28 types as lengths.
29 </Field>
30 <Field
31 name="lengths"
32 type="GeoIntegralProperty"
33 cardinality="single"
34 visibility="external"
35 access="public"
36 category="childpointer"
37 childParentType="FieldContainer"
38 linkParentField="Parents"
40 The lengths property contains the number of vertices to use for the
41 corresponding primitive. There have to be as many lengths as types.
42 </Field>
43 <Field
44 name="properties"
45 type="GeoVectorProperty"
46 cardinality="multi"
47 visibility="external"
48 access="public"
49 category="childpointer"
50 childParentType="FieldContainer"
51 linkParentField="Parents"
53 The attributes used to render the geometry. The order is based on the
54 the one given in ARB_vertex_program.
55 </Field>
56 <Field
57 name="propIndices"
58 type="GeoIntegralProperty"
59 cardinality="multi"
60 visibility="external"
61 access="public"
62 category="childpointer"
63 childParentType="FieldContainer"
64 linkParentField="Parents"
66 The indices property contains the index data. See \ref
67 PageSystemGeoIndexing for a description of the indexing options.
68 </Field>
69 <Field
70 name="patchVertices"
71 type="UInt32"
72 cardinality="single"
73 visibility="external"
74 defaultValue="0"
75 access="public"
77 if primitives are patches set the number of vertices per patch. Evaluated
78 if value != 0.
79 </Field>
80 <Field
81 name="dlistCache"
82 type="bool"
83 cardinality="single"
84 visibility="external"
85 defaultValue="true"
86 access="public"
88 Flag to activate caching the geometry inside a display list.
89 </Field>
90 <Field
91 name="useVAO"
92 type="bool"
93 cardinality="single"
94 visibility="external"
95 defaultValue="true"
96 access="public"
98 Flag to activate caching the geometry inside a VAO.
99 </Field>
100 <Field
101 name="useAttribCalls"
102 type="bool"
103 cardinality="single"
104 visibility="external"
105 defaultValue="false"
106 access="public"
108 Flag to activate caching the geometry inside a VAO.
109 </Field>
110 <Field
111 name="classicGLId"
112 type="Int32"
113 cardinality="single"
114 visibility="internal"
115 defaultValue="0"
116 access="protected"
117 fieldFlags="FClusterLocal"
119 The dlist id for the classic rendering mode, if used.
120 </Field>
121 <Field
122 name="attGLId"
123 type="Int32"
124 cardinality="single"
125 visibility="internal"
126 defaultValue="0"
127 access="protected"
128 fieldFlags="FClusterLocal"
130 The dlist id for the attribute-based rendering mode, if used.
131 </Field>
132 <Field
133 name="classicVaoGLId"
134 type="Int32"
135 cardinality="single"
136 visibility="internal"
137 defaultValue="0"
138 access="protected"
139 fieldFlags="FClusterLocal"
141 The vao gl id for the attribute-based rendering mode, if used.
142 </Field>
143 <Field
144 name="attribVaoGLId"
145 type="Int32"
146 cardinality="single"
147 visibility="internal"
148 defaultValue="0"
149 access="protected"
150 fieldFlags="FClusterLocal"
152 The vao gl id for the attribute-based rendering mode, if used.
153 </Field>
154 </FieldContainer>