Lines Matching refs:meta
30 daeMetaElement* meta = dae.getMeta(ID());
31 if ( meta != NULL ) return meta;
33 meta = new daeMetaElement(dae);
34 dae.setMeta(ID(), *meta);
35 meta->setName( "fx_surface_common" );
36 meta->registerClass(domFx_surface_common::create);
40 cm = new daeMetaSequence( meta, cm, 0, 1, 1 );
42 mea = new daeMetaElementAttribute( meta, cm, 0, 0, 1 );
46 cm->appendChild( new daeMetaGroup( mea, meta, cm, 0, 0, 1 ) );
48 mea = new daeMetaElementAttribute( meta, cm, 1, 0, 1 );
54 mea = new daeMetaElementAttribute( meta, cm, 2, 0, 1 );
60 cm = new daeMetaChoice( meta, cm, 0, 3, 0, 1 );
62 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 );
68 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 );
78 mea = new daeMetaElementAttribute( meta, cm, 4, 0, 1 );
84 mea = new daeMetaElementAttribute( meta, cm, 5, 0, 1 );
90 mea = new daeMetaElementArrayAttribute( meta, cm, 6, 0, -1 );
97 meta->setCMRoot( cm );
99 meta->addContents(daeOffsetOf(domFx_surface_common,_contents));
100 meta->addContentsOrder(daeOffsetOf(domFx_surface_common,_contentsOrder));
102 meta->addCMDataArray(daeOffsetOf(domFx_surface_common,_CMData), 1);
109 ma->setContainer( meta );
112 meta->appendAttribute(ma);
115 meta->setElementSize(sizeof(domFx_surface_common));
116 meta->validate();
118 return meta;
132 daeMetaElement* meta = dae.getMeta(ID());
133 if ( meta != NULL ) return meta;
135 meta = new daeMetaElement(dae);
136 dae.setMeta(ID(), *meta);
137 meta->setName( "format" );
138 meta->registerClass(domFx_surface_common::domFormat::create);
140 meta->setIsInnerClass( true );
147 ma->setContainer( meta );
148 meta->appendAttribute(ma);
151 meta->setElementSize(sizeof(domFx_surface_common::domFormat));
152 meta->validate();
154 return meta;
168 daeMetaElement* meta = dae.getMeta(ID());
169 if ( meta != NULL ) return meta;
171 meta = new daeMetaElement(dae);
172 dae.setMeta(ID(), *meta);
173 meta->setName( "size" );
174 meta->registerClass(domFx_surface_common::domSize::create);
176 meta->setIsInnerClass( true );
183 ma->setContainer( meta );
184 meta->appendAttribute(ma);
187 meta->setElementSize(sizeof(domFx_surface_common::domSize));
188 meta->validate();
190 return meta;
204 daeMetaElement* meta = dae.getMeta(ID());
205 if ( meta != NULL ) return meta;
207 meta = new daeMetaElement(dae);
208 dae.setMeta(ID(), *meta);
209 meta->setName( "viewport_ratio" );
210 meta->registerClass(domFx_surface_common::domViewport_ratio::create);
212 meta->setIsInnerClass( true );
219 ma->setContainer( meta );
220 meta->appendAttribute(ma);
223 meta->setElementSize(sizeof(domFx_surface_common::domViewport_ratio));
224 meta->validate();
226 return meta;
240 daeMetaElement* meta = dae.getMeta(ID());
241 if ( meta != NULL ) return meta;
243 meta = new daeMetaElement(dae);
244 dae.setMeta(ID(), *meta);
245 meta->setName( "mip_levels" );
246 meta->registerClass(domFx_surface_common::domMip_levels::create);
248 meta->setIsInnerClass( true );
255 ma->setContainer( meta );
256 meta->appendAttribute(ma);
259 meta->setElementSize(sizeof(domFx_surface_common::domMip_levels));
260 meta->validate();
262 return meta;
276 daeMetaElement* meta = dae.getMeta(ID());
277 if ( meta != NULL ) return meta;
279 meta = new daeMetaElement(dae);
280 dae.setMeta(ID(), *meta);
281 meta->setName( "mipmap_generate" );
282 meta->registerClass(domFx_surface_common::domMipmap_generate::create);
284 meta->setIsInnerClass( true );
291 ma->setContainer( meta );
292 meta->appendAttribute(ma);
295 meta->setElementSize(sizeof(domFx_surface_common::domMipmap_generate));
296 meta->validate();
298 return meta;