1 /* 2 * Copyright 2006 Sony Computer Entertainment Inc. 3 * 4 * Licensed under the MIT Open Source License, for details please see license.txt or the website 5 * http://www.opensource.org/licenses/mit-license.php 6 * 7 */ 8 9 #include <dae.h> 10 #include <dae/daeDom.h> 11 #include <dom/domGl_pipeline_settings.h> 12 #include <dae/daeMetaCMPolicy.h> 13 #include <dae/daeMetaSequence.h> 14 #include <dae/daeMetaChoice.h> 15 #include <dae/daeMetaGroup.h> 16 #include <dae/daeMetaAny.h> 17 #include <dae/daeMetaElementAttribute.h> 18 19 daeElementRef 20 domGl_pipeline_settings::create(DAE& dae) 21 { 22 domGl_pipeline_settingsRef ref = new domGl_pipeline_settings(dae); 23 return ref; 24 } 25 26 27 daeMetaElement * 28 domGl_pipeline_settings::registerElement(DAE& dae) 29 { 30 daeMetaElement* meta = dae.getMeta(ID()); 31 if ( meta != NULL ) return meta; 32 33 meta = new daeMetaElement(dae); 34 dae.setMeta(ID(), *meta); 35 meta->setName( "gl_pipeline_settings" ); 36 meta->registerClass(domGl_pipeline_settings::create); 37 38 meta->setIsTransparent( true ); 39 daeMetaCMPolicy *cm = NULL; 40 daeMetaElementAttribute *mea = NULL; 41 cm = new daeMetaChoice( meta, cm, 0, 0, 1, 1 ); 42 43 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 44 mea->setName( "alpha_func" ); 45 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemAlpha_func) ); 46 mea->setElementType( domGl_pipeline_settings::domAlpha_func::registerElement(dae) ); 47 cm->appendChild( mea ); 48 49 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 50 mea->setName( "blend_func" ); 51 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemBlend_func) ); 52 mea->setElementType( domGl_pipeline_settings::domBlend_func::registerElement(dae) ); 53 cm->appendChild( mea ); 54 55 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 56 mea->setName( "blend_func_separate" ); 57 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemBlend_func_separate) ); 58 mea->setElementType( domGl_pipeline_settings::domBlend_func_separate::registerElement(dae) ); 59 cm->appendChild( mea ); 60 61 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 62 mea->setName( "blend_equation" ); 63 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemBlend_equation) ); 64 mea->setElementType( domGl_pipeline_settings::domBlend_equation::registerElement(dae) ); 65 cm->appendChild( mea ); 66 67 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 68 mea->setName( "blend_equation_separate" ); 69 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemBlend_equation_separate) ); 70 mea->setElementType( domGl_pipeline_settings::domBlend_equation_separate::registerElement(dae) ); 71 cm->appendChild( mea ); 72 73 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 74 mea->setName( "color_material" ); 75 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemColor_material) ); 76 mea->setElementType( domGl_pipeline_settings::domColor_material::registerElement(dae) ); 77 cm->appendChild( mea ); 78 79 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 80 mea->setName( "cull_face" ); 81 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemCull_face) ); 82 mea->setElementType( domGl_pipeline_settings::domCull_face::registerElement(dae) ); 83 cm->appendChild( mea ); 84 85 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 86 mea->setName( "depth_func" ); 87 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemDepth_func) ); 88 mea->setElementType( domGl_pipeline_settings::domDepth_func::registerElement(dae) ); 89 cm->appendChild( mea ); 90 91 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 92 mea->setName( "fog_mode" ); 93 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemFog_mode) ); 94 mea->setElementType( domGl_pipeline_settings::domFog_mode::registerElement(dae) ); 95 cm->appendChild( mea ); 96 97 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 98 mea->setName( "fog_coord_src" ); 99 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemFog_coord_src) ); 100 mea->setElementType( domGl_pipeline_settings::domFog_coord_src::registerElement(dae) ); 101 cm->appendChild( mea ); 102 103 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 104 mea->setName( "front_face" ); 105 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemFront_face) ); 106 mea->setElementType( domGl_pipeline_settings::domFront_face::registerElement(dae) ); 107 cm->appendChild( mea ); 108 109 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 110 mea->setName( "light_model_color_control" ); 111 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLight_model_color_control) ); 112 mea->setElementType( domGl_pipeline_settings::domLight_model_color_control::registerElement(dae) ); 113 cm->appendChild( mea ); 114 115 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 116 mea->setName( "logic_op" ); 117 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLogic_op) ); 118 mea->setElementType( domGl_pipeline_settings::domLogic_op::registerElement(dae) ); 119 cm->appendChild( mea ); 120 121 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 122 mea->setName( "polygon_mode" ); 123 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemPolygon_mode) ); 124 mea->setElementType( domGl_pipeline_settings::domPolygon_mode::registerElement(dae) ); 125 cm->appendChild( mea ); 126 127 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 128 mea->setName( "shade_model" ); 129 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemShade_model) ); 130 mea->setElementType( domGl_pipeline_settings::domShade_model::registerElement(dae) ); 131 cm->appendChild( mea ); 132 133 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 134 mea->setName( "stencil_func" ); 135 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemStencil_func) ); 136 mea->setElementType( domGl_pipeline_settings::domStencil_func::registerElement(dae) ); 137 cm->appendChild( mea ); 138 139 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 140 mea->setName( "stencil_op" ); 141 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemStencil_op) ); 142 mea->setElementType( domGl_pipeline_settings::domStencil_op::registerElement(dae) ); 143 cm->appendChild( mea ); 144 145 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 146 mea->setName( "stencil_func_separate" ); 147 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemStencil_func_separate) ); 148 mea->setElementType( domGl_pipeline_settings::domStencil_func_separate::registerElement(dae) ); 149 cm->appendChild( mea ); 150 151 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 152 mea->setName( "stencil_op_separate" ); 153 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemStencil_op_separate) ); 154 mea->setElementType( domGl_pipeline_settings::domStencil_op_separate::registerElement(dae) ); 155 cm->appendChild( mea ); 156 157 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 158 mea->setName( "stencil_mask_separate" ); 159 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemStencil_mask_separate) ); 160 mea->setElementType( domGl_pipeline_settings::domStencil_mask_separate::registerElement(dae) ); 161 cm->appendChild( mea ); 162 163 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 164 mea->setName( "light_enable" ); 165 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLight_enable) ); 166 mea->setElementType( domGl_pipeline_settings::domLight_enable::registerElement(dae) ); 167 cm->appendChild( mea ); 168 169 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 170 mea->setName( "light_ambient" ); 171 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLight_ambient) ); 172 mea->setElementType( domGl_pipeline_settings::domLight_ambient::registerElement(dae) ); 173 cm->appendChild( mea ); 174 175 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 176 mea->setName( "light_diffuse" ); 177 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLight_diffuse) ); 178 mea->setElementType( domGl_pipeline_settings::domLight_diffuse::registerElement(dae) ); 179 cm->appendChild( mea ); 180 181 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 182 mea->setName( "light_specular" ); 183 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLight_specular) ); 184 mea->setElementType( domGl_pipeline_settings::domLight_specular::registerElement(dae) ); 185 cm->appendChild( mea ); 186 187 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 188 mea->setName( "light_position" ); 189 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLight_position) ); 190 mea->setElementType( domGl_pipeline_settings::domLight_position::registerElement(dae) ); 191 cm->appendChild( mea ); 192 193 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 194 mea->setName( "light_constant_attenuation" ); 195 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLight_constant_attenuation) ); 196 mea->setElementType( domGl_pipeline_settings::domLight_constant_attenuation::registerElement(dae) ); 197 cm->appendChild( mea ); 198 199 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 200 mea->setName( "light_linear_attenuation" ); 201 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLight_linear_attenuation) ); 202 mea->setElementType( domGl_pipeline_settings::domLight_linear_attenuation::registerElement(dae) ); 203 cm->appendChild( mea ); 204 205 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 206 mea->setName( "light_quadratic_attenuation" ); 207 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLight_quadratic_attenuation) ); 208 mea->setElementType( domGl_pipeline_settings::domLight_quadratic_attenuation::registerElement(dae) ); 209 cm->appendChild( mea ); 210 211 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 212 mea->setName( "light_spot_cutoff" ); 213 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLight_spot_cutoff) ); 214 mea->setElementType( domGl_pipeline_settings::domLight_spot_cutoff::registerElement(dae) ); 215 cm->appendChild( mea ); 216 217 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 218 mea->setName( "light_spot_direction" ); 219 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLight_spot_direction) ); 220 mea->setElementType( domGl_pipeline_settings::domLight_spot_direction::registerElement(dae) ); 221 cm->appendChild( mea ); 222 223 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 224 mea->setName( "light_spot_exponent" ); 225 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLight_spot_exponent) ); 226 mea->setElementType( domGl_pipeline_settings::domLight_spot_exponent::registerElement(dae) ); 227 cm->appendChild( mea ); 228 229 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 230 mea->setName( "texture1D" ); 231 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemTexture1D) ); 232 mea->setElementType( domGl_pipeline_settings::domTexture1D::registerElement(dae) ); 233 cm->appendChild( mea ); 234 235 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 236 mea->setName( "texture2D" ); 237 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemTexture2D) ); 238 mea->setElementType( domGl_pipeline_settings::domTexture2D::registerElement(dae) ); 239 cm->appendChild( mea ); 240 241 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 242 mea->setName( "texture3D" ); 243 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemTexture3D) ); 244 mea->setElementType( domGl_pipeline_settings::domTexture3D::registerElement(dae) ); 245 cm->appendChild( mea ); 246 247 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 248 mea->setName( "textureCUBE" ); 249 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemTextureCUBE) ); 250 mea->setElementType( domGl_pipeline_settings::domTextureCUBE::registerElement(dae) ); 251 cm->appendChild( mea ); 252 253 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 254 mea->setName( "textureRECT" ); 255 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemTextureRECT) ); 256 mea->setElementType( domGl_pipeline_settings::domTextureRECT::registerElement(dae) ); 257 cm->appendChild( mea ); 258 259 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 260 mea->setName( "textureDEPTH" ); 261 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemTextureDEPTH) ); 262 mea->setElementType( domGl_pipeline_settings::domTextureDEPTH::registerElement(dae) ); 263 cm->appendChild( mea ); 264 265 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 266 mea->setName( "texture1D_enable" ); 267 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemTexture1D_enable) ); 268 mea->setElementType( domGl_pipeline_settings::domTexture1D_enable::registerElement(dae) ); 269 cm->appendChild( mea ); 270 271 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 272 mea->setName( "texture2D_enable" ); 273 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemTexture2D_enable) ); 274 mea->setElementType( domGl_pipeline_settings::domTexture2D_enable::registerElement(dae) ); 275 cm->appendChild( mea ); 276 277 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 278 mea->setName( "texture3D_enable" ); 279 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemTexture3D_enable) ); 280 mea->setElementType( domGl_pipeline_settings::domTexture3D_enable::registerElement(dae) ); 281 cm->appendChild( mea ); 282 283 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 284 mea->setName( "textureCUBE_enable" ); 285 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemTextureCUBE_enable) ); 286 mea->setElementType( domGl_pipeline_settings::domTextureCUBE_enable::registerElement(dae) ); 287 cm->appendChild( mea ); 288 289 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 290 mea->setName( "textureRECT_enable" ); 291 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemTextureRECT_enable) ); 292 mea->setElementType( domGl_pipeline_settings::domTextureRECT_enable::registerElement(dae) ); 293 cm->appendChild( mea ); 294 295 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 296 mea->setName( "textureDEPTH_enable" ); 297 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemTextureDEPTH_enable) ); 298 mea->setElementType( domGl_pipeline_settings::domTextureDEPTH_enable::registerElement(dae) ); 299 cm->appendChild( mea ); 300 301 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 302 mea->setName( "texture_env_color" ); 303 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemTexture_env_color) ); 304 mea->setElementType( domGl_pipeline_settings::domTexture_env_color::registerElement(dae) ); 305 cm->appendChild( mea ); 306 307 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 308 mea->setName( "texture_env_mode" ); 309 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemTexture_env_mode) ); 310 mea->setElementType( domGl_pipeline_settings::domTexture_env_mode::registerElement(dae) ); 311 cm->appendChild( mea ); 312 313 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 314 mea->setName( "clip_plane" ); 315 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemClip_plane) ); 316 mea->setElementType( domGl_pipeline_settings::domClip_plane::registerElement(dae) ); 317 cm->appendChild( mea ); 318 319 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 320 mea->setName( "clip_plane_enable" ); 321 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemClip_plane_enable) ); 322 mea->setElementType( domGl_pipeline_settings::domClip_plane_enable::registerElement(dae) ); 323 cm->appendChild( mea ); 324 325 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 326 mea->setName( "blend_color" ); 327 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemBlend_color) ); 328 mea->setElementType( domGl_pipeline_settings::domBlend_color::registerElement(dae) ); 329 cm->appendChild( mea ); 330 331 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 332 mea->setName( "clear_color" ); 333 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemClear_color) ); 334 mea->setElementType( domGl_pipeline_settings::domClear_color::registerElement(dae) ); 335 cm->appendChild( mea ); 336 337 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 338 mea->setName( "clear_stencil" ); 339 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemClear_stencil) ); 340 mea->setElementType( domGl_pipeline_settings::domClear_stencil::registerElement(dae) ); 341 cm->appendChild( mea ); 342 343 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 344 mea->setName( "clear_depth" ); 345 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemClear_depth) ); 346 mea->setElementType( domGl_pipeline_settings::domClear_depth::registerElement(dae) ); 347 cm->appendChild( mea ); 348 349 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 350 mea->setName( "color_mask" ); 351 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemColor_mask) ); 352 mea->setElementType( domGl_pipeline_settings::domColor_mask::registerElement(dae) ); 353 cm->appendChild( mea ); 354 355 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 356 mea->setName( "depth_bounds" ); 357 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemDepth_bounds) ); 358 mea->setElementType( domGl_pipeline_settings::domDepth_bounds::registerElement(dae) ); 359 cm->appendChild( mea ); 360 361 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 362 mea->setName( "depth_mask" ); 363 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemDepth_mask) ); 364 mea->setElementType( domGl_pipeline_settings::domDepth_mask::registerElement(dae) ); 365 cm->appendChild( mea ); 366 367 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 368 mea->setName( "depth_range" ); 369 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemDepth_range) ); 370 mea->setElementType( domGl_pipeline_settings::domDepth_range::registerElement(dae) ); 371 cm->appendChild( mea ); 372 373 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 374 mea->setName( "fog_density" ); 375 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemFog_density) ); 376 mea->setElementType( domGl_pipeline_settings::domFog_density::registerElement(dae) ); 377 cm->appendChild( mea ); 378 379 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 380 mea->setName( "fog_start" ); 381 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemFog_start) ); 382 mea->setElementType( domGl_pipeline_settings::domFog_start::registerElement(dae) ); 383 cm->appendChild( mea ); 384 385 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 386 mea->setName( "fog_end" ); 387 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemFog_end) ); 388 mea->setElementType( domGl_pipeline_settings::domFog_end::registerElement(dae) ); 389 cm->appendChild( mea ); 390 391 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 392 mea->setName( "fog_color" ); 393 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemFog_color) ); 394 mea->setElementType( domGl_pipeline_settings::domFog_color::registerElement(dae) ); 395 cm->appendChild( mea ); 396 397 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 398 mea->setName( "light_model_ambient" ); 399 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLight_model_ambient) ); 400 mea->setElementType( domGl_pipeline_settings::domLight_model_ambient::registerElement(dae) ); 401 cm->appendChild( mea ); 402 403 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 404 mea->setName( "lighting_enable" ); 405 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLighting_enable) ); 406 mea->setElementType( domGl_pipeline_settings::domLighting_enable::registerElement(dae) ); 407 cm->appendChild( mea ); 408 409 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 410 mea->setName( "line_stipple" ); 411 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLine_stipple) ); 412 mea->setElementType( domGl_pipeline_settings::domLine_stipple::registerElement(dae) ); 413 cm->appendChild( mea ); 414 415 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 416 mea->setName( "line_width" ); 417 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLine_width) ); 418 mea->setElementType( domGl_pipeline_settings::domLine_width::registerElement(dae) ); 419 cm->appendChild( mea ); 420 421 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 422 mea->setName( "material_ambient" ); 423 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemMaterial_ambient) ); 424 mea->setElementType( domGl_pipeline_settings::domMaterial_ambient::registerElement(dae) ); 425 cm->appendChild( mea ); 426 427 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 428 mea->setName( "material_diffuse" ); 429 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemMaterial_diffuse) ); 430 mea->setElementType( domGl_pipeline_settings::domMaterial_diffuse::registerElement(dae) ); 431 cm->appendChild( mea ); 432 433 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 434 mea->setName( "material_emission" ); 435 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemMaterial_emission) ); 436 mea->setElementType( domGl_pipeline_settings::domMaterial_emission::registerElement(dae) ); 437 cm->appendChild( mea ); 438 439 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 440 mea->setName( "material_shininess" ); 441 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemMaterial_shininess) ); 442 mea->setElementType( domGl_pipeline_settings::domMaterial_shininess::registerElement(dae) ); 443 cm->appendChild( mea ); 444 445 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 446 mea->setName( "material_specular" ); 447 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemMaterial_specular) ); 448 mea->setElementType( domGl_pipeline_settings::domMaterial_specular::registerElement(dae) ); 449 cm->appendChild( mea ); 450 451 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 452 mea->setName( "model_view_matrix" ); 453 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemModel_view_matrix) ); 454 mea->setElementType( domGl_pipeline_settings::domModel_view_matrix::registerElement(dae) ); 455 cm->appendChild( mea ); 456 457 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 458 mea->setName( "point_distance_attenuation" ); 459 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemPoint_distance_attenuation) ); 460 mea->setElementType( domGl_pipeline_settings::domPoint_distance_attenuation::registerElement(dae) ); 461 cm->appendChild( mea ); 462 463 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 464 mea->setName( "point_fade_threshold_size" ); 465 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemPoint_fade_threshold_size) ); 466 mea->setElementType( domGl_pipeline_settings::domPoint_fade_threshold_size::registerElement(dae) ); 467 cm->appendChild( mea ); 468 469 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 470 mea->setName( "point_size" ); 471 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemPoint_size) ); 472 mea->setElementType( domGl_pipeline_settings::domPoint_size::registerElement(dae) ); 473 cm->appendChild( mea ); 474 475 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 476 mea->setName( "point_size_min" ); 477 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemPoint_size_min) ); 478 mea->setElementType( domGl_pipeline_settings::domPoint_size_min::registerElement(dae) ); 479 cm->appendChild( mea ); 480 481 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 482 mea->setName( "point_size_max" ); 483 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemPoint_size_max) ); 484 mea->setElementType( domGl_pipeline_settings::domPoint_size_max::registerElement(dae) ); 485 cm->appendChild( mea ); 486 487 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 488 mea->setName( "polygon_offset" ); 489 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemPolygon_offset) ); 490 mea->setElementType( domGl_pipeline_settings::domPolygon_offset::registerElement(dae) ); 491 cm->appendChild( mea ); 492 493 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 494 mea->setName( "projection_matrix" ); 495 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemProjection_matrix) ); 496 mea->setElementType( domGl_pipeline_settings::domProjection_matrix::registerElement(dae) ); 497 cm->appendChild( mea ); 498 499 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 500 mea->setName( "scissor" ); 501 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemScissor) ); 502 mea->setElementType( domGl_pipeline_settings::domScissor::registerElement(dae) ); 503 cm->appendChild( mea ); 504 505 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 506 mea->setName( "stencil_mask" ); 507 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemStencil_mask) ); 508 mea->setElementType( domGl_pipeline_settings::domStencil_mask::registerElement(dae) ); 509 cm->appendChild( mea ); 510 511 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 512 mea->setName( "alpha_test_enable" ); 513 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemAlpha_test_enable) ); 514 mea->setElementType( domGl_pipeline_settings::domAlpha_test_enable::registerElement(dae) ); 515 cm->appendChild( mea ); 516 517 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 518 mea->setName( "auto_normal_enable" ); 519 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemAuto_normal_enable) ); 520 mea->setElementType( domGl_pipeline_settings::domAuto_normal_enable::registerElement(dae) ); 521 cm->appendChild( mea ); 522 523 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 524 mea->setName( "blend_enable" ); 525 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemBlend_enable) ); 526 mea->setElementType( domGl_pipeline_settings::domBlend_enable::registerElement(dae) ); 527 cm->appendChild( mea ); 528 529 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 530 mea->setName( "color_logic_op_enable" ); 531 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemColor_logic_op_enable) ); 532 mea->setElementType( domGl_pipeline_settings::domColor_logic_op_enable::registerElement(dae) ); 533 cm->appendChild( mea ); 534 535 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 536 mea->setName( "color_material_enable" ); 537 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemColor_material_enable) ); 538 mea->setElementType( domGl_pipeline_settings::domColor_material_enable::registerElement(dae) ); 539 cm->appendChild( mea ); 540 541 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 542 mea->setName( "cull_face_enable" ); 543 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemCull_face_enable) ); 544 mea->setElementType( domGl_pipeline_settings::domCull_face_enable::registerElement(dae) ); 545 cm->appendChild( mea ); 546 547 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 548 mea->setName( "depth_bounds_enable" ); 549 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemDepth_bounds_enable) ); 550 mea->setElementType( domGl_pipeline_settings::domDepth_bounds_enable::registerElement(dae) ); 551 cm->appendChild( mea ); 552 553 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 554 mea->setName( "depth_clamp_enable" ); 555 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemDepth_clamp_enable) ); 556 mea->setElementType( domGl_pipeline_settings::domDepth_clamp_enable::registerElement(dae) ); 557 cm->appendChild( mea ); 558 559 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 560 mea->setName( "depth_test_enable" ); 561 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemDepth_test_enable) ); 562 mea->setElementType( domGl_pipeline_settings::domDepth_test_enable::registerElement(dae) ); 563 cm->appendChild( mea ); 564 565 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 566 mea->setName( "dither_enable" ); 567 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemDither_enable) ); 568 mea->setElementType( domGl_pipeline_settings::domDither_enable::registerElement(dae) ); 569 cm->appendChild( mea ); 570 571 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 572 mea->setName( "fog_enable" ); 573 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemFog_enable) ); 574 mea->setElementType( domGl_pipeline_settings::domFog_enable::registerElement(dae) ); 575 cm->appendChild( mea ); 576 577 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 578 mea->setName( "light_model_local_viewer_enable" ); 579 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLight_model_local_viewer_enable) ); 580 mea->setElementType( domGl_pipeline_settings::domLight_model_local_viewer_enable::registerElement(dae) ); 581 cm->appendChild( mea ); 582 583 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 584 mea->setName( "light_model_two_side_enable" ); 585 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLight_model_two_side_enable) ); 586 mea->setElementType( domGl_pipeline_settings::domLight_model_two_side_enable::registerElement(dae) ); 587 cm->appendChild( mea ); 588 589 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 590 mea->setName( "line_smooth_enable" ); 591 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLine_smooth_enable) ); 592 mea->setElementType( domGl_pipeline_settings::domLine_smooth_enable::registerElement(dae) ); 593 cm->appendChild( mea ); 594 595 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 596 mea->setName( "line_stipple_enable" ); 597 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLine_stipple_enable) ); 598 mea->setElementType( domGl_pipeline_settings::domLine_stipple_enable::registerElement(dae) ); 599 cm->appendChild( mea ); 600 601 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 602 mea->setName( "logic_op_enable" ); 603 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemLogic_op_enable) ); 604 mea->setElementType( domGl_pipeline_settings::domLogic_op_enable::registerElement(dae) ); 605 cm->appendChild( mea ); 606 607 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 608 mea->setName( "multisample_enable" ); 609 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemMultisample_enable) ); 610 mea->setElementType( domGl_pipeline_settings::domMultisample_enable::registerElement(dae) ); 611 cm->appendChild( mea ); 612 613 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 614 mea->setName( "normalize_enable" ); 615 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemNormalize_enable) ); 616 mea->setElementType( domGl_pipeline_settings::domNormalize_enable::registerElement(dae) ); 617 cm->appendChild( mea ); 618 619 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 620 mea->setName( "point_smooth_enable" ); 621 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemPoint_smooth_enable) ); 622 mea->setElementType( domGl_pipeline_settings::domPoint_smooth_enable::registerElement(dae) ); 623 cm->appendChild( mea ); 624 625 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 626 mea->setName( "polygon_offset_fill_enable" ); 627 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemPolygon_offset_fill_enable) ); 628 mea->setElementType( domGl_pipeline_settings::domPolygon_offset_fill_enable::registerElement(dae) ); 629 cm->appendChild( mea ); 630 631 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 632 mea->setName( "polygon_offset_line_enable" ); 633 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemPolygon_offset_line_enable) ); 634 mea->setElementType( domGl_pipeline_settings::domPolygon_offset_line_enable::registerElement(dae) ); 635 cm->appendChild( mea ); 636 637 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 638 mea->setName( "polygon_offset_point_enable" ); 639 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemPolygon_offset_point_enable) ); 640 mea->setElementType( domGl_pipeline_settings::domPolygon_offset_point_enable::registerElement(dae) ); 641 cm->appendChild( mea ); 642 643 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 644 mea->setName( "polygon_smooth_enable" ); 645 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemPolygon_smooth_enable) ); 646 mea->setElementType( domGl_pipeline_settings::domPolygon_smooth_enable::registerElement(dae) ); 647 cm->appendChild( mea ); 648 649 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 650 mea->setName( "polygon_stipple_enable" ); 651 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemPolygon_stipple_enable) ); 652 mea->setElementType( domGl_pipeline_settings::domPolygon_stipple_enable::registerElement(dae) ); 653 cm->appendChild( mea ); 654 655 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 656 mea->setName( "rescale_normal_enable" ); 657 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemRescale_normal_enable) ); 658 mea->setElementType( domGl_pipeline_settings::domRescale_normal_enable::registerElement(dae) ); 659 cm->appendChild( mea ); 660 661 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 662 mea->setName( "sample_alpha_to_coverage_enable" ); 663 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemSample_alpha_to_coverage_enable) ); 664 mea->setElementType( domGl_pipeline_settings::domSample_alpha_to_coverage_enable::registerElement(dae) ); 665 cm->appendChild( mea ); 666 667 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 668 mea->setName( "sample_alpha_to_one_enable" ); 669 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemSample_alpha_to_one_enable) ); 670 mea->setElementType( domGl_pipeline_settings::domSample_alpha_to_one_enable::registerElement(dae) ); 671 cm->appendChild( mea ); 672 673 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 674 mea->setName( "sample_coverage_enable" ); 675 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemSample_coverage_enable) ); 676 mea->setElementType( domGl_pipeline_settings::domSample_coverage_enable::registerElement(dae) ); 677 cm->appendChild( mea ); 678 679 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 680 mea->setName( "scissor_test_enable" ); 681 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemScissor_test_enable) ); 682 mea->setElementType( domGl_pipeline_settings::domScissor_test_enable::registerElement(dae) ); 683 cm->appendChild( mea ); 684 685 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 686 mea->setName( "stencil_test_enable" ); 687 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemStencil_test_enable) ); 688 mea->setElementType( domGl_pipeline_settings::domStencil_test_enable::registerElement(dae) ); 689 cm->appendChild( mea ); 690 691 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 692 mea->setName( "gl_hook_abstract" ); 693 mea->setOffset( daeOffsetOf(domGl_pipeline_settings,elemGl_hook_abstract) ); 694 mea->setElementType( domGl_hook_abstract::registerElement(dae) ); 695 cm->appendChild( mea ); 696 697 cm->setMaxOrdinal( 0 ); 698 meta->setCMRoot( cm ); 699 // Ordered list of sub-elements 700 meta->addContents(daeOffsetOf(domGl_pipeline_settings,_contents)); 701 meta->addContentsOrder(daeOffsetOf(domGl_pipeline_settings,_contentsOrder)); 702 703 meta->addCMDataArray(daeOffsetOf(domGl_pipeline_settings,_CMData), 1); 704 meta->setElementSize(sizeof(domGl_pipeline_settings)); 705 meta->validate(); 706 707 return meta; 708 } 709 710 daeElementRef 711 domGl_pipeline_settings::domAlpha_func::create(DAE& dae) 712 { 713 domGl_pipeline_settings::domAlpha_funcRef ref = new domGl_pipeline_settings::domAlpha_func(dae); 714 return ref; 715 } 716 717 718 daeMetaElement * 719 domGl_pipeline_settings::domAlpha_func::registerElement(DAE& dae) 720 { 721 daeMetaElement* meta = dae.getMeta(ID()); 722 if ( meta != NULL ) return meta; 723 724 meta = new daeMetaElement(dae); 725 dae.setMeta(ID(), *meta); 726 meta->setName( "alpha_func" ); 727 meta->registerClass(domGl_pipeline_settings::domAlpha_func::create); 728 729 meta->setIsInnerClass( true ); 730 daeMetaCMPolicy *cm = NULL; 731 daeMetaElementAttribute *mea = NULL; 732 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 733 734 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 735 mea->setName( "func" ); 736 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domAlpha_func,elemFunc) ); 737 mea->setElementType( domGl_pipeline_settings::domAlpha_func::domFunc::registerElement(dae) ); 738 cm->appendChild( mea ); 739 740 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 ); 741 mea->setName( "value" ); 742 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domAlpha_func,elemValue) ); 743 mea->setElementType( domGl_pipeline_settings::domAlpha_func::domValue::registerElement(dae) ); 744 cm->appendChild( mea ); 745 746 cm->setMaxOrdinal( 1 ); 747 meta->setCMRoot( cm ); 748 749 meta->setElementSize(sizeof(domGl_pipeline_settings::domAlpha_func)); 750 meta->validate(); 751 752 return meta; 753 } 754 755 daeElementRef 756 domGl_pipeline_settings::domAlpha_func::domFunc::create(DAE& dae) 757 { 758 domGl_pipeline_settings::domAlpha_func::domFuncRef ref = new domGl_pipeline_settings::domAlpha_func::domFunc(dae); 759 return ref; 760 } 761 762 763 daeMetaElement * 764 domGl_pipeline_settings::domAlpha_func::domFunc::registerElement(DAE& dae) 765 { 766 daeMetaElement* meta = dae.getMeta(ID()); 767 if ( meta != NULL ) return meta; 768 769 meta = new daeMetaElement(dae); 770 dae.setMeta(ID(), *meta); 771 meta->setName( "func" ); 772 meta->registerClass(domGl_pipeline_settings::domAlpha_func::domFunc::create); 773 774 meta->setIsInnerClass( true ); 775 776 // Add attribute: value 777 { 778 daeMetaAttribute *ma = new daeMetaAttribute; 779 ma->setName( "value" ); 780 ma->setType( dae.getAtomicTypes().get("Gl_func_type")); 781 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domAlpha_func::domFunc , attrValue )); 782 ma->setContainer( meta ); 783 ma->setDefaultString( "ALWAYS"); 784 ma->setIsRequired( false ); 785 786 meta->appendAttribute(ma); 787 } 788 789 // Add attribute: param 790 { 791 daeMetaAttribute *ma = new daeMetaAttribute; 792 ma->setName( "param" ); 793 ma->setType( dae.getAtomicTypes().get("xsNCName")); 794 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domAlpha_func::domFunc , attrParam )); 795 ma->setContainer( meta ); 796 ma->setIsRequired( false ); 797 798 meta->appendAttribute(ma); 799 } 800 801 meta->setElementSize(sizeof(domGl_pipeline_settings::domAlpha_func::domFunc)); 802 meta->validate(); 803 804 return meta; 805 } 806 807 daeElementRef 808 domGl_pipeline_settings::domAlpha_func::domValue::create(DAE& dae) 809 { 810 domGl_pipeline_settings::domAlpha_func::domValueRef ref = new domGl_pipeline_settings::domAlpha_func::domValue(dae); 811 return ref; 812 } 813 814 815 daeMetaElement * 816 domGl_pipeline_settings::domAlpha_func::domValue::registerElement(DAE& dae) 817 { 818 daeMetaElement* meta = dae.getMeta(ID()); 819 if ( meta != NULL ) return meta; 820 821 meta = new daeMetaElement(dae); 822 dae.setMeta(ID(), *meta); 823 meta->setName( "value" ); 824 meta->registerClass(domGl_pipeline_settings::domAlpha_func::domValue::create); 825 826 meta->setIsInnerClass( true ); 827 828 // Add attribute: value 829 { 830 daeMetaAttribute *ma = new daeMetaAttribute; 831 ma->setName( "value" ); 832 ma->setType( dae.getAtomicTypes().get("Gl_alpha_value_type")); 833 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domAlpha_func::domValue , attrValue )); 834 ma->setContainer( meta ); 835 ma->setDefaultString( "0.0"); 836 ma->setIsRequired( false ); 837 838 meta->appendAttribute(ma); 839 } 840 841 // Add attribute: param 842 { 843 daeMetaAttribute *ma = new daeMetaAttribute; 844 ma->setName( "param" ); 845 ma->setType( dae.getAtomicTypes().get("xsNCName")); 846 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domAlpha_func::domValue , attrParam )); 847 ma->setContainer( meta ); 848 ma->setIsRequired( false ); 849 850 meta->appendAttribute(ma); 851 } 852 853 meta->setElementSize(sizeof(domGl_pipeline_settings::domAlpha_func::domValue)); 854 meta->validate(); 855 856 return meta; 857 } 858 859 daeElementRef 860 domGl_pipeline_settings::domBlend_func::create(DAE& dae) 861 { 862 domGl_pipeline_settings::domBlend_funcRef ref = new domGl_pipeline_settings::domBlend_func(dae); 863 return ref; 864 } 865 866 867 daeMetaElement * 868 domGl_pipeline_settings::domBlend_func::registerElement(DAE& dae) 869 { 870 daeMetaElement* meta = dae.getMeta(ID()); 871 if ( meta != NULL ) return meta; 872 873 meta = new daeMetaElement(dae); 874 dae.setMeta(ID(), *meta); 875 meta->setName( "blend_func" ); 876 meta->registerClass(domGl_pipeline_settings::domBlend_func::create); 877 878 meta->setIsInnerClass( true ); 879 daeMetaCMPolicy *cm = NULL; 880 daeMetaElementAttribute *mea = NULL; 881 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 882 883 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 884 mea->setName( "src" ); 885 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domBlend_func,elemSrc) ); 886 mea->setElementType( domGl_pipeline_settings::domBlend_func::domSrc::registerElement(dae) ); 887 cm->appendChild( mea ); 888 889 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 ); 890 mea->setName( "dest" ); 891 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domBlend_func,elemDest) ); 892 mea->setElementType( domGl_pipeline_settings::domBlend_func::domDest::registerElement(dae) ); 893 cm->appendChild( mea ); 894 895 cm->setMaxOrdinal( 1 ); 896 meta->setCMRoot( cm ); 897 898 meta->setElementSize(sizeof(domGl_pipeline_settings::domBlend_func)); 899 meta->validate(); 900 901 return meta; 902 } 903 904 daeElementRef 905 domGl_pipeline_settings::domBlend_func::domSrc::create(DAE& dae) 906 { 907 domGl_pipeline_settings::domBlend_func::domSrcRef ref = new domGl_pipeline_settings::domBlend_func::domSrc(dae); 908 return ref; 909 } 910 911 912 daeMetaElement * 913 domGl_pipeline_settings::domBlend_func::domSrc::registerElement(DAE& dae) 914 { 915 daeMetaElement* meta = dae.getMeta(ID()); 916 if ( meta != NULL ) return meta; 917 918 meta = new daeMetaElement(dae); 919 dae.setMeta(ID(), *meta); 920 meta->setName( "src" ); 921 meta->registerClass(domGl_pipeline_settings::domBlend_func::domSrc::create); 922 923 meta->setIsInnerClass( true ); 924 925 // Add attribute: value 926 { 927 daeMetaAttribute *ma = new daeMetaAttribute; 928 ma->setName( "value" ); 929 ma->setType( dae.getAtomicTypes().get("Gl_blend_type")); 930 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_func::domSrc , attrValue )); 931 ma->setContainer( meta ); 932 ma->setDefaultString( "ONE"); 933 ma->setIsRequired( false ); 934 935 meta->appendAttribute(ma); 936 } 937 938 // Add attribute: param 939 { 940 daeMetaAttribute *ma = new daeMetaAttribute; 941 ma->setName( "param" ); 942 ma->setType( dae.getAtomicTypes().get("xsNCName")); 943 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_func::domSrc , attrParam )); 944 ma->setContainer( meta ); 945 ma->setIsRequired( false ); 946 947 meta->appendAttribute(ma); 948 } 949 950 meta->setElementSize(sizeof(domGl_pipeline_settings::domBlend_func::domSrc)); 951 meta->validate(); 952 953 return meta; 954 } 955 956 daeElementRef 957 domGl_pipeline_settings::domBlend_func::domDest::create(DAE& dae) 958 { 959 domGl_pipeline_settings::domBlend_func::domDestRef ref = new domGl_pipeline_settings::domBlend_func::domDest(dae); 960 return ref; 961 } 962 963 964 daeMetaElement * 965 domGl_pipeline_settings::domBlend_func::domDest::registerElement(DAE& dae) 966 { 967 daeMetaElement* meta = dae.getMeta(ID()); 968 if ( meta != NULL ) return meta; 969 970 meta = new daeMetaElement(dae); 971 dae.setMeta(ID(), *meta); 972 meta->setName( "dest" ); 973 meta->registerClass(domGl_pipeline_settings::domBlend_func::domDest::create); 974 975 meta->setIsInnerClass( true ); 976 977 // Add attribute: value 978 { 979 daeMetaAttribute *ma = new daeMetaAttribute; 980 ma->setName( "value" ); 981 ma->setType( dae.getAtomicTypes().get("Gl_blend_type")); 982 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_func::domDest , attrValue )); 983 ma->setContainer( meta ); 984 ma->setDefaultString( "ZERO"); 985 ma->setIsRequired( false ); 986 987 meta->appendAttribute(ma); 988 } 989 990 // Add attribute: param 991 { 992 daeMetaAttribute *ma = new daeMetaAttribute; 993 ma->setName( "param" ); 994 ma->setType( dae.getAtomicTypes().get("xsNCName")); 995 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_func::domDest , attrParam )); 996 ma->setContainer( meta ); 997 ma->setIsRequired( false ); 998 999 meta->appendAttribute(ma); 1000 } 1001 1002 meta->setElementSize(sizeof(domGl_pipeline_settings::domBlend_func::domDest)); 1003 meta->validate(); 1004 1005 return meta; 1006 } 1007 1008 daeElementRef 1009 domGl_pipeline_settings::domBlend_func_separate::create(DAE& dae) 1010 { 1011 domGl_pipeline_settings::domBlend_func_separateRef ref = new domGl_pipeline_settings::domBlend_func_separate(dae); 1012 return ref; 1013 } 1014 1015 1016 daeMetaElement * 1017 domGl_pipeline_settings::domBlend_func_separate::registerElement(DAE& dae) 1018 { 1019 daeMetaElement* meta = dae.getMeta(ID()); 1020 if ( meta != NULL ) return meta; 1021 1022 meta = new daeMetaElement(dae); 1023 dae.setMeta(ID(), *meta); 1024 meta->setName( "blend_func_separate" ); 1025 meta->registerClass(domGl_pipeline_settings::domBlend_func_separate::create); 1026 1027 meta->setIsInnerClass( true ); 1028 daeMetaCMPolicy *cm = NULL; 1029 daeMetaElementAttribute *mea = NULL; 1030 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 1031 1032 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 1033 mea->setName( "src_rgb" ); 1034 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domBlend_func_separate,elemSrc_rgb) ); 1035 mea->setElementType( domGl_pipeline_settings::domBlend_func_separate::domSrc_rgb::registerElement(dae) ); 1036 cm->appendChild( mea ); 1037 1038 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 ); 1039 mea->setName( "dest_rgb" ); 1040 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domBlend_func_separate,elemDest_rgb) ); 1041 mea->setElementType( domGl_pipeline_settings::domBlend_func_separate::domDest_rgb::registerElement(dae) ); 1042 cm->appendChild( mea ); 1043 1044 mea = new daeMetaElementAttribute( meta, cm, 2, 1, 1 ); 1045 mea->setName( "src_alpha" ); 1046 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domBlend_func_separate,elemSrc_alpha) ); 1047 mea->setElementType( domGl_pipeline_settings::domBlend_func_separate::domSrc_alpha::registerElement(dae) ); 1048 cm->appendChild( mea ); 1049 1050 mea = new daeMetaElementAttribute( meta, cm, 3, 1, 1 ); 1051 mea->setName( "dest_alpha" ); 1052 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domBlend_func_separate,elemDest_alpha) ); 1053 mea->setElementType( domGl_pipeline_settings::domBlend_func_separate::domDest_alpha::registerElement(dae) ); 1054 cm->appendChild( mea ); 1055 1056 cm->setMaxOrdinal( 3 ); 1057 meta->setCMRoot( cm ); 1058 1059 meta->setElementSize(sizeof(domGl_pipeline_settings::domBlend_func_separate)); 1060 meta->validate(); 1061 1062 return meta; 1063 } 1064 1065 daeElementRef 1066 domGl_pipeline_settings::domBlend_func_separate::domSrc_rgb::create(DAE& dae) 1067 { 1068 domGl_pipeline_settings::domBlend_func_separate::domSrc_rgbRef ref = new domGl_pipeline_settings::domBlend_func_separate::domSrc_rgb(dae); 1069 return ref; 1070 } 1071 1072 1073 daeMetaElement * 1074 domGl_pipeline_settings::domBlend_func_separate::domSrc_rgb::registerElement(DAE& dae) 1075 { 1076 daeMetaElement* meta = dae.getMeta(ID()); 1077 if ( meta != NULL ) return meta; 1078 1079 meta = new daeMetaElement(dae); 1080 dae.setMeta(ID(), *meta); 1081 meta->setName( "src_rgb" ); 1082 meta->registerClass(domGl_pipeline_settings::domBlend_func_separate::domSrc_rgb::create); 1083 1084 meta->setIsInnerClass( true ); 1085 1086 // Add attribute: value 1087 { 1088 daeMetaAttribute *ma = new daeMetaAttribute; 1089 ma->setName( "value" ); 1090 ma->setType( dae.getAtomicTypes().get("Gl_blend_type")); 1091 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_func_separate::domSrc_rgb , attrValue )); 1092 ma->setContainer( meta ); 1093 ma->setDefaultString( "ONE"); 1094 ma->setIsRequired( false ); 1095 1096 meta->appendAttribute(ma); 1097 } 1098 1099 // Add attribute: param 1100 { 1101 daeMetaAttribute *ma = new daeMetaAttribute; 1102 ma->setName( "param" ); 1103 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1104 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_func_separate::domSrc_rgb , attrParam )); 1105 ma->setContainer( meta ); 1106 ma->setIsRequired( false ); 1107 1108 meta->appendAttribute(ma); 1109 } 1110 1111 meta->setElementSize(sizeof(domGl_pipeline_settings::domBlend_func_separate::domSrc_rgb)); 1112 meta->validate(); 1113 1114 return meta; 1115 } 1116 1117 daeElementRef 1118 domGl_pipeline_settings::domBlend_func_separate::domDest_rgb::create(DAE& dae) 1119 { 1120 domGl_pipeline_settings::domBlend_func_separate::domDest_rgbRef ref = new domGl_pipeline_settings::domBlend_func_separate::domDest_rgb(dae); 1121 return ref; 1122 } 1123 1124 1125 daeMetaElement * 1126 domGl_pipeline_settings::domBlend_func_separate::domDest_rgb::registerElement(DAE& dae) 1127 { 1128 daeMetaElement* meta = dae.getMeta(ID()); 1129 if ( meta != NULL ) return meta; 1130 1131 meta = new daeMetaElement(dae); 1132 dae.setMeta(ID(), *meta); 1133 meta->setName( "dest_rgb" ); 1134 meta->registerClass(domGl_pipeline_settings::domBlend_func_separate::domDest_rgb::create); 1135 1136 meta->setIsInnerClass( true ); 1137 1138 // Add attribute: value 1139 { 1140 daeMetaAttribute *ma = new daeMetaAttribute; 1141 ma->setName( "value" ); 1142 ma->setType( dae.getAtomicTypes().get("Gl_blend_type")); 1143 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_func_separate::domDest_rgb , attrValue )); 1144 ma->setContainer( meta ); 1145 ma->setDefaultString( "ZERO"); 1146 ma->setIsRequired( false ); 1147 1148 meta->appendAttribute(ma); 1149 } 1150 1151 // Add attribute: param 1152 { 1153 daeMetaAttribute *ma = new daeMetaAttribute; 1154 ma->setName( "param" ); 1155 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1156 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_func_separate::domDest_rgb , attrParam )); 1157 ma->setContainer( meta ); 1158 ma->setIsRequired( false ); 1159 1160 meta->appendAttribute(ma); 1161 } 1162 1163 meta->setElementSize(sizeof(domGl_pipeline_settings::domBlend_func_separate::domDest_rgb)); 1164 meta->validate(); 1165 1166 return meta; 1167 } 1168 1169 daeElementRef 1170 domGl_pipeline_settings::domBlend_func_separate::domSrc_alpha::create(DAE& dae) 1171 { 1172 domGl_pipeline_settings::domBlend_func_separate::domSrc_alphaRef ref = new domGl_pipeline_settings::domBlend_func_separate::domSrc_alpha(dae); 1173 return ref; 1174 } 1175 1176 1177 daeMetaElement * 1178 domGl_pipeline_settings::domBlend_func_separate::domSrc_alpha::registerElement(DAE& dae) 1179 { 1180 daeMetaElement* meta = dae.getMeta(ID()); 1181 if ( meta != NULL ) return meta; 1182 1183 meta = new daeMetaElement(dae); 1184 dae.setMeta(ID(), *meta); 1185 meta->setName( "src_alpha" ); 1186 meta->registerClass(domGl_pipeline_settings::domBlend_func_separate::domSrc_alpha::create); 1187 1188 meta->setIsInnerClass( true ); 1189 1190 // Add attribute: value 1191 { 1192 daeMetaAttribute *ma = new daeMetaAttribute; 1193 ma->setName( "value" ); 1194 ma->setType( dae.getAtomicTypes().get("Gl_blend_type")); 1195 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_func_separate::domSrc_alpha , attrValue )); 1196 ma->setContainer( meta ); 1197 ma->setDefaultString( "ONE"); 1198 ma->setIsRequired( false ); 1199 1200 meta->appendAttribute(ma); 1201 } 1202 1203 // Add attribute: param 1204 { 1205 daeMetaAttribute *ma = new daeMetaAttribute; 1206 ma->setName( "param" ); 1207 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1208 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_func_separate::domSrc_alpha , attrParam )); 1209 ma->setContainer( meta ); 1210 ma->setIsRequired( false ); 1211 1212 meta->appendAttribute(ma); 1213 } 1214 1215 meta->setElementSize(sizeof(domGl_pipeline_settings::domBlend_func_separate::domSrc_alpha)); 1216 meta->validate(); 1217 1218 return meta; 1219 } 1220 1221 daeElementRef 1222 domGl_pipeline_settings::domBlend_func_separate::domDest_alpha::create(DAE& dae) 1223 { 1224 domGl_pipeline_settings::domBlend_func_separate::domDest_alphaRef ref = new domGl_pipeline_settings::domBlend_func_separate::domDest_alpha(dae); 1225 return ref; 1226 } 1227 1228 1229 daeMetaElement * 1230 domGl_pipeline_settings::domBlend_func_separate::domDest_alpha::registerElement(DAE& dae) 1231 { 1232 daeMetaElement* meta = dae.getMeta(ID()); 1233 if ( meta != NULL ) return meta; 1234 1235 meta = new daeMetaElement(dae); 1236 dae.setMeta(ID(), *meta); 1237 meta->setName( "dest_alpha" ); 1238 meta->registerClass(domGl_pipeline_settings::domBlend_func_separate::domDest_alpha::create); 1239 1240 meta->setIsInnerClass( true ); 1241 1242 // Add attribute: value 1243 { 1244 daeMetaAttribute *ma = new daeMetaAttribute; 1245 ma->setName( "value" ); 1246 ma->setType( dae.getAtomicTypes().get("Gl_blend_type")); 1247 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_func_separate::domDest_alpha , attrValue )); 1248 ma->setContainer( meta ); 1249 ma->setDefaultString( "ZERO"); 1250 ma->setIsRequired( false ); 1251 1252 meta->appendAttribute(ma); 1253 } 1254 1255 // Add attribute: param 1256 { 1257 daeMetaAttribute *ma = new daeMetaAttribute; 1258 ma->setName( "param" ); 1259 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1260 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_func_separate::domDest_alpha , attrParam )); 1261 ma->setContainer( meta ); 1262 ma->setIsRequired( false ); 1263 1264 meta->appendAttribute(ma); 1265 } 1266 1267 meta->setElementSize(sizeof(domGl_pipeline_settings::domBlend_func_separate::domDest_alpha)); 1268 meta->validate(); 1269 1270 return meta; 1271 } 1272 1273 daeElementRef 1274 domGl_pipeline_settings::domBlend_equation::create(DAE& dae) 1275 { 1276 domGl_pipeline_settings::domBlend_equationRef ref = new domGl_pipeline_settings::domBlend_equation(dae); 1277 return ref; 1278 } 1279 1280 1281 daeMetaElement * 1282 domGl_pipeline_settings::domBlend_equation::registerElement(DAE& dae) 1283 { 1284 daeMetaElement* meta = dae.getMeta(ID()); 1285 if ( meta != NULL ) return meta; 1286 1287 meta = new daeMetaElement(dae); 1288 dae.setMeta(ID(), *meta); 1289 meta->setName( "blend_equation" ); 1290 meta->registerClass(domGl_pipeline_settings::domBlend_equation::create); 1291 1292 meta->setIsInnerClass( true ); 1293 1294 // Add attribute: value 1295 { 1296 daeMetaAttribute *ma = new daeMetaAttribute; 1297 ma->setName( "value" ); 1298 ma->setType( dae.getAtomicTypes().get("Gl_blend_equation_type")); 1299 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_equation , attrValue )); 1300 ma->setContainer( meta ); 1301 ma->setDefaultString( "FUNC_ADD"); 1302 ma->setIsRequired( false ); 1303 1304 meta->appendAttribute(ma); 1305 } 1306 1307 // Add attribute: param 1308 { 1309 daeMetaAttribute *ma = new daeMetaAttribute; 1310 ma->setName( "param" ); 1311 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1312 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_equation , attrParam )); 1313 ma->setContainer( meta ); 1314 ma->setIsRequired( false ); 1315 1316 meta->appendAttribute(ma); 1317 } 1318 1319 meta->setElementSize(sizeof(domGl_pipeline_settings::domBlend_equation)); 1320 meta->validate(); 1321 1322 return meta; 1323 } 1324 1325 daeElementRef 1326 domGl_pipeline_settings::domBlend_equation_separate::create(DAE& dae) 1327 { 1328 domGl_pipeline_settings::domBlend_equation_separateRef ref = new domGl_pipeline_settings::domBlend_equation_separate(dae); 1329 return ref; 1330 } 1331 1332 1333 daeMetaElement * 1334 domGl_pipeline_settings::domBlend_equation_separate::registerElement(DAE& dae) 1335 { 1336 daeMetaElement* meta = dae.getMeta(ID()); 1337 if ( meta != NULL ) return meta; 1338 1339 meta = new daeMetaElement(dae); 1340 dae.setMeta(ID(), *meta); 1341 meta->setName( "blend_equation_separate" ); 1342 meta->registerClass(domGl_pipeline_settings::domBlend_equation_separate::create); 1343 1344 meta->setIsInnerClass( true ); 1345 daeMetaCMPolicy *cm = NULL; 1346 daeMetaElementAttribute *mea = NULL; 1347 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 1348 1349 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 1350 mea->setName( "rgb" ); 1351 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domBlend_equation_separate,elemRgb) ); 1352 mea->setElementType( domGl_pipeline_settings::domBlend_equation_separate::domRgb::registerElement(dae) ); 1353 cm->appendChild( mea ); 1354 1355 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 ); 1356 mea->setName( "alpha" ); 1357 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domBlend_equation_separate,elemAlpha) ); 1358 mea->setElementType( domGl_pipeline_settings::domBlend_equation_separate::domAlpha::registerElement(dae) ); 1359 cm->appendChild( mea ); 1360 1361 cm->setMaxOrdinal( 1 ); 1362 meta->setCMRoot( cm ); 1363 1364 meta->setElementSize(sizeof(domGl_pipeline_settings::domBlend_equation_separate)); 1365 meta->validate(); 1366 1367 return meta; 1368 } 1369 1370 daeElementRef 1371 domGl_pipeline_settings::domBlend_equation_separate::domRgb::create(DAE& dae) 1372 { 1373 domGl_pipeline_settings::domBlend_equation_separate::domRgbRef ref = new domGl_pipeline_settings::domBlend_equation_separate::domRgb(dae); 1374 return ref; 1375 } 1376 1377 1378 daeMetaElement * 1379 domGl_pipeline_settings::domBlend_equation_separate::domRgb::registerElement(DAE& dae) 1380 { 1381 daeMetaElement* meta = dae.getMeta(ID()); 1382 if ( meta != NULL ) return meta; 1383 1384 meta = new daeMetaElement(dae); 1385 dae.setMeta(ID(), *meta); 1386 meta->setName( "rgb" ); 1387 meta->registerClass(domGl_pipeline_settings::domBlend_equation_separate::domRgb::create); 1388 1389 meta->setIsInnerClass( true ); 1390 1391 // Add attribute: value 1392 { 1393 daeMetaAttribute *ma = new daeMetaAttribute; 1394 ma->setName( "value" ); 1395 ma->setType( dae.getAtomicTypes().get("Gl_blend_equation_type")); 1396 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_equation_separate::domRgb , attrValue )); 1397 ma->setContainer( meta ); 1398 ma->setDefaultString( "FUNC_ADD"); 1399 ma->setIsRequired( false ); 1400 1401 meta->appendAttribute(ma); 1402 } 1403 1404 // Add attribute: param 1405 { 1406 daeMetaAttribute *ma = new daeMetaAttribute; 1407 ma->setName( "param" ); 1408 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1409 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_equation_separate::domRgb , attrParam )); 1410 ma->setContainer( meta ); 1411 ma->setIsRequired( false ); 1412 1413 meta->appendAttribute(ma); 1414 } 1415 1416 meta->setElementSize(sizeof(domGl_pipeline_settings::domBlend_equation_separate::domRgb)); 1417 meta->validate(); 1418 1419 return meta; 1420 } 1421 1422 daeElementRef 1423 domGl_pipeline_settings::domBlend_equation_separate::domAlpha::create(DAE& dae) 1424 { 1425 domGl_pipeline_settings::domBlend_equation_separate::domAlphaRef ref = new domGl_pipeline_settings::domBlend_equation_separate::domAlpha(dae); 1426 return ref; 1427 } 1428 1429 1430 daeMetaElement * 1431 domGl_pipeline_settings::domBlend_equation_separate::domAlpha::registerElement(DAE& dae) 1432 { 1433 daeMetaElement* meta = dae.getMeta(ID()); 1434 if ( meta != NULL ) return meta; 1435 1436 meta = new daeMetaElement(dae); 1437 dae.setMeta(ID(), *meta); 1438 meta->setName( "alpha" ); 1439 meta->registerClass(domGl_pipeline_settings::domBlend_equation_separate::domAlpha::create); 1440 1441 meta->setIsInnerClass( true ); 1442 1443 // Add attribute: value 1444 { 1445 daeMetaAttribute *ma = new daeMetaAttribute; 1446 ma->setName( "value" ); 1447 ma->setType( dae.getAtomicTypes().get("Gl_blend_equation_type")); 1448 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_equation_separate::domAlpha , attrValue )); 1449 ma->setContainer( meta ); 1450 ma->setDefaultString( "FUNC_ADD"); 1451 ma->setIsRequired( false ); 1452 1453 meta->appendAttribute(ma); 1454 } 1455 1456 // Add attribute: param 1457 { 1458 daeMetaAttribute *ma = new daeMetaAttribute; 1459 ma->setName( "param" ); 1460 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1461 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_equation_separate::domAlpha , attrParam )); 1462 ma->setContainer( meta ); 1463 ma->setIsRequired( false ); 1464 1465 meta->appendAttribute(ma); 1466 } 1467 1468 meta->setElementSize(sizeof(domGl_pipeline_settings::domBlend_equation_separate::domAlpha)); 1469 meta->validate(); 1470 1471 return meta; 1472 } 1473 1474 daeElementRef 1475 domGl_pipeline_settings::domColor_material::create(DAE& dae) 1476 { 1477 domGl_pipeline_settings::domColor_materialRef ref = new domGl_pipeline_settings::domColor_material(dae); 1478 return ref; 1479 } 1480 1481 1482 daeMetaElement * 1483 domGl_pipeline_settings::domColor_material::registerElement(DAE& dae) 1484 { 1485 daeMetaElement* meta = dae.getMeta(ID()); 1486 if ( meta != NULL ) return meta; 1487 1488 meta = new daeMetaElement(dae); 1489 dae.setMeta(ID(), *meta); 1490 meta->setName( "color_material" ); 1491 meta->registerClass(domGl_pipeline_settings::domColor_material::create); 1492 1493 meta->setIsInnerClass( true ); 1494 daeMetaCMPolicy *cm = NULL; 1495 daeMetaElementAttribute *mea = NULL; 1496 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 1497 1498 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 1499 mea->setName( "face" ); 1500 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domColor_material,elemFace) ); 1501 mea->setElementType( domGl_pipeline_settings::domColor_material::domFace::registerElement(dae) ); 1502 cm->appendChild( mea ); 1503 1504 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 ); 1505 mea->setName( "mode" ); 1506 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domColor_material,elemMode) ); 1507 mea->setElementType( domGl_pipeline_settings::domColor_material::domMode::registerElement(dae) ); 1508 cm->appendChild( mea ); 1509 1510 cm->setMaxOrdinal( 1 ); 1511 meta->setCMRoot( cm ); 1512 1513 meta->setElementSize(sizeof(domGl_pipeline_settings::domColor_material)); 1514 meta->validate(); 1515 1516 return meta; 1517 } 1518 1519 daeElementRef 1520 domGl_pipeline_settings::domColor_material::domFace::create(DAE& dae) 1521 { 1522 domGl_pipeline_settings::domColor_material::domFaceRef ref = new domGl_pipeline_settings::domColor_material::domFace(dae); 1523 return ref; 1524 } 1525 1526 1527 daeMetaElement * 1528 domGl_pipeline_settings::domColor_material::domFace::registerElement(DAE& dae) 1529 { 1530 daeMetaElement* meta = dae.getMeta(ID()); 1531 if ( meta != NULL ) return meta; 1532 1533 meta = new daeMetaElement(dae); 1534 dae.setMeta(ID(), *meta); 1535 meta->setName( "face" ); 1536 meta->registerClass(domGl_pipeline_settings::domColor_material::domFace::create); 1537 1538 meta->setIsInnerClass( true ); 1539 1540 // Add attribute: value 1541 { 1542 daeMetaAttribute *ma = new daeMetaAttribute; 1543 ma->setName( "value" ); 1544 ma->setType( dae.getAtomicTypes().get("Gl_face_type")); 1545 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domColor_material::domFace , attrValue )); 1546 ma->setContainer( meta ); 1547 ma->setDefaultString( "FRONT_AND_BACK"); 1548 ma->setIsRequired( false ); 1549 1550 meta->appendAttribute(ma); 1551 } 1552 1553 // Add attribute: param 1554 { 1555 daeMetaAttribute *ma = new daeMetaAttribute; 1556 ma->setName( "param" ); 1557 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1558 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domColor_material::domFace , attrParam )); 1559 ma->setContainer( meta ); 1560 ma->setIsRequired( false ); 1561 1562 meta->appendAttribute(ma); 1563 } 1564 1565 meta->setElementSize(sizeof(domGl_pipeline_settings::domColor_material::domFace)); 1566 meta->validate(); 1567 1568 return meta; 1569 } 1570 1571 daeElementRef 1572 domGl_pipeline_settings::domColor_material::domMode::create(DAE& dae) 1573 { 1574 domGl_pipeline_settings::domColor_material::domModeRef ref = new domGl_pipeline_settings::domColor_material::domMode(dae); 1575 return ref; 1576 } 1577 1578 1579 daeMetaElement * 1580 domGl_pipeline_settings::domColor_material::domMode::registerElement(DAE& dae) 1581 { 1582 daeMetaElement* meta = dae.getMeta(ID()); 1583 if ( meta != NULL ) return meta; 1584 1585 meta = new daeMetaElement(dae); 1586 dae.setMeta(ID(), *meta); 1587 meta->setName( "mode" ); 1588 meta->registerClass(domGl_pipeline_settings::domColor_material::domMode::create); 1589 1590 meta->setIsInnerClass( true ); 1591 1592 // Add attribute: value 1593 { 1594 daeMetaAttribute *ma = new daeMetaAttribute; 1595 ma->setName( "value" ); 1596 ma->setType( dae.getAtomicTypes().get("Gl_material_type")); 1597 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domColor_material::domMode , attrValue )); 1598 ma->setContainer( meta ); 1599 ma->setDefaultString( "AMBIENT_AND_DIFFUSE"); 1600 ma->setIsRequired( false ); 1601 1602 meta->appendAttribute(ma); 1603 } 1604 1605 // Add attribute: param 1606 { 1607 daeMetaAttribute *ma = new daeMetaAttribute; 1608 ma->setName( "param" ); 1609 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1610 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domColor_material::domMode , attrParam )); 1611 ma->setContainer( meta ); 1612 ma->setIsRequired( false ); 1613 1614 meta->appendAttribute(ma); 1615 } 1616 1617 meta->setElementSize(sizeof(domGl_pipeline_settings::domColor_material::domMode)); 1618 meta->validate(); 1619 1620 return meta; 1621 } 1622 1623 daeElementRef 1624 domGl_pipeline_settings::domCull_face::create(DAE& dae) 1625 { 1626 domGl_pipeline_settings::domCull_faceRef ref = new domGl_pipeline_settings::domCull_face(dae); 1627 return ref; 1628 } 1629 1630 1631 daeMetaElement * 1632 domGl_pipeline_settings::domCull_face::registerElement(DAE& dae) 1633 { 1634 daeMetaElement* meta = dae.getMeta(ID()); 1635 if ( meta != NULL ) return meta; 1636 1637 meta = new daeMetaElement(dae); 1638 dae.setMeta(ID(), *meta); 1639 meta->setName( "cull_face" ); 1640 meta->registerClass(domGl_pipeline_settings::domCull_face::create); 1641 1642 meta->setIsInnerClass( true ); 1643 1644 // Add attribute: value 1645 { 1646 daeMetaAttribute *ma = new daeMetaAttribute; 1647 ma->setName( "value" ); 1648 ma->setType( dae.getAtomicTypes().get("Gl_face_type")); 1649 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domCull_face , attrValue )); 1650 ma->setContainer( meta ); 1651 ma->setDefaultString( "BACK"); 1652 ma->setIsRequired( false ); 1653 1654 meta->appendAttribute(ma); 1655 } 1656 1657 // Add attribute: param 1658 { 1659 daeMetaAttribute *ma = new daeMetaAttribute; 1660 ma->setName( "param" ); 1661 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1662 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domCull_face , attrParam )); 1663 ma->setContainer( meta ); 1664 ma->setIsRequired( false ); 1665 1666 meta->appendAttribute(ma); 1667 } 1668 1669 meta->setElementSize(sizeof(domGl_pipeline_settings::domCull_face)); 1670 meta->validate(); 1671 1672 return meta; 1673 } 1674 1675 daeElementRef 1676 domGl_pipeline_settings::domDepth_func::create(DAE& dae) 1677 { 1678 domGl_pipeline_settings::domDepth_funcRef ref = new domGl_pipeline_settings::domDepth_func(dae); 1679 return ref; 1680 } 1681 1682 1683 daeMetaElement * 1684 domGl_pipeline_settings::domDepth_func::registerElement(DAE& dae) 1685 { 1686 daeMetaElement* meta = dae.getMeta(ID()); 1687 if ( meta != NULL ) return meta; 1688 1689 meta = new daeMetaElement(dae); 1690 dae.setMeta(ID(), *meta); 1691 meta->setName( "depth_func" ); 1692 meta->registerClass(domGl_pipeline_settings::domDepth_func::create); 1693 1694 meta->setIsInnerClass( true ); 1695 1696 // Add attribute: value 1697 { 1698 daeMetaAttribute *ma = new daeMetaAttribute; 1699 ma->setName( "value" ); 1700 ma->setType( dae.getAtomicTypes().get("Gl_func_type")); 1701 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDepth_func , attrValue )); 1702 ma->setContainer( meta ); 1703 ma->setDefaultString( "ALWAYS"); 1704 ma->setIsRequired( false ); 1705 1706 meta->appendAttribute(ma); 1707 } 1708 1709 // Add attribute: param 1710 { 1711 daeMetaAttribute *ma = new daeMetaAttribute; 1712 ma->setName( "param" ); 1713 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1714 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDepth_func , attrParam )); 1715 ma->setContainer( meta ); 1716 ma->setIsRequired( false ); 1717 1718 meta->appendAttribute(ma); 1719 } 1720 1721 meta->setElementSize(sizeof(domGl_pipeline_settings::domDepth_func)); 1722 meta->validate(); 1723 1724 return meta; 1725 } 1726 1727 daeElementRef 1728 domGl_pipeline_settings::domFog_mode::create(DAE& dae) 1729 { 1730 domGl_pipeline_settings::domFog_modeRef ref = new domGl_pipeline_settings::domFog_mode(dae); 1731 return ref; 1732 } 1733 1734 1735 daeMetaElement * 1736 domGl_pipeline_settings::domFog_mode::registerElement(DAE& dae) 1737 { 1738 daeMetaElement* meta = dae.getMeta(ID()); 1739 if ( meta != NULL ) return meta; 1740 1741 meta = new daeMetaElement(dae); 1742 dae.setMeta(ID(), *meta); 1743 meta->setName( "fog_mode" ); 1744 meta->registerClass(domGl_pipeline_settings::domFog_mode::create); 1745 1746 meta->setIsInnerClass( true ); 1747 1748 // Add attribute: value 1749 { 1750 daeMetaAttribute *ma = new daeMetaAttribute; 1751 ma->setName( "value" ); 1752 ma->setType( dae.getAtomicTypes().get("Gl_fog_type")); 1753 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFog_mode , attrValue )); 1754 ma->setContainer( meta ); 1755 ma->setDefaultString( "EXP"); 1756 ma->setIsRequired( false ); 1757 1758 meta->appendAttribute(ma); 1759 } 1760 1761 // Add attribute: param 1762 { 1763 daeMetaAttribute *ma = new daeMetaAttribute; 1764 ma->setName( "param" ); 1765 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1766 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFog_mode , attrParam )); 1767 ma->setContainer( meta ); 1768 ma->setIsRequired( false ); 1769 1770 meta->appendAttribute(ma); 1771 } 1772 1773 meta->setElementSize(sizeof(domGl_pipeline_settings::domFog_mode)); 1774 meta->validate(); 1775 1776 return meta; 1777 } 1778 1779 daeElementRef 1780 domGl_pipeline_settings::domFog_coord_src::create(DAE& dae) 1781 { 1782 domGl_pipeline_settings::domFog_coord_srcRef ref = new domGl_pipeline_settings::domFog_coord_src(dae); 1783 return ref; 1784 } 1785 1786 1787 daeMetaElement * 1788 domGl_pipeline_settings::domFog_coord_src::registerElement(DAE& dae) 1789 { 1790 daeMetaElement* meta = dae.getMeta(ID()); 1791 if ( meta != NULL ) return meta; 1792 1793 meta = new daeMetaElement(dae); 1794 dae.setMeta(ID(), *meta); 1795 meta->setName( "fog_coord_src" ); 1796 meta->registerClass(domGl_pipeline_settings::domFog_coord_src::create); 1797 1798 meta->setIsInnerClass( true ); 1799 1800 // Add attribute: value 1801 { 1802 daeMetaAttribute *ma = new daeMetaAttribute; 1803 ma->setName( "value" ); 1804 ma->setType( dae.getAtomicTypes().get("Gl_fog_coord_src_type")); 1805 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFog_coord_src , attrValue )); 1806 ma->setContainer( meta ); 1807 ma->setDefaultString( "FOG_COORDINATE"); 1808 ma->setIsRequired( false ); 1809 1810 meta->appendAttribute(ma); 1811 } 1812 1813 // Add attribute: param 1814 { 1815 daeMetaAttribute *ma = new daeMetaAttribute; 1816 ma->setName( "param" ); 1817 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1818 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFog_coord_src , attrParam )); 1819 ma->setContainer( meta ); 1820 ma->setIsRequired( false ); 1821 1822 meta->appendAttribute(ma); 1823 } 1824 1825 meta->setElementSize(sizeof(domGl_pipeline_settings::domFog_coord_src)); 1826 meta->validate(); 1827 1828 return meta; 1829 } 1830 1831 daeElementRef 1832 domGl_pipeline_settings::domFront_face::create(DAE& dae) 1833 { 1834 domGl_pipeline_settings::domFront_faceRef ref = new domGl_pipeline_settings::domFront_face(dae); 1835 return ref; 1836 } 1837 1838 1839 daeMetaElement * 1840 domGl_pipeline_settings::domFront_face::registerElement(DAE& dae) 1841 { 1842 daeMetaElement* meta = dae.getMeta(ID()); 1843 if ( meta != NULL ) return meta; 1844 1845 meta = new daeMetaElement(dae); 1846 dae.setMeta(ID(), *meta); 1847 meta->setName( "front_face" ); 1848 meta->registerClass(domGl_pipeline_settings::domFront_face::create); 1849 1850 meta->setIsInnerClass( true ); 1851 1852 // Add attribute: value 1853 { 1854 daeMetaAttribute *ma = new daeMetaAttribute; 1855 ma->setName( "value" ); 1856 ma->setType( dae.getAtomicTypes().get("Gl_front_face_type")); 1857 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFront_face , attrValue )); 1858 ma->setContainer( meta ); 1859 ma->setDefaultString( "CCW"); 1860 ma->setIsRequired( false ); 1861 1862 meta->appendAttribute(ma); 1863 } 1864 1865 // Add attribute: param 1866 { 1867 daeMetaAttribute *ma = new daeMetaAttribute; 1868 ma->setName( "param" ); 1869 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1870 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFront_face , attrParam )); 1871 ma->setContainer( meta ); 1872 ma->setIsRequired( false ); 1873 1874 meta->appendAttribute(ma); 1875 } 1876 1877 meta->setElementSize(sizeof(domGl_pipeline_settings::domFront_face)); 1878 meta->validate(); 1879 1880 return meta; 1881 } 1882 1883 daeElementRef 1884 domGl_pipeline_settings::domLight_model_color_control::create(DAE& dae) 1885 { 1886 domGl_pipeline_settings::domLight_model_color_controlRef ref = new domGl_pipeline_settings::domLight_model_color_control(dae); 1887 return ref; 1888 } 1889 1890 1891 daeMetaElement * 1892 domGl_pipeline_settings::domLight_model_color_control::registerElement(DAE& dae) 1893 { 1894 daeMetaElement* meta = dae.getMeta(ID()); 1895 if ( meta != NULL ) return meta; 1896 1897 meta = new daeMetaElement(dae); 1898 dae.setMeta(ID(), *meta); 1899 meta->setName( "light_model_color_control" ); 1900 meta->registerClass(domGl_pipeline_settings::domLight_model_color_control::create); 1901 1902 meta->setIsInnerClass( true ); 1903 1904 // Add attribute: value 1905 { 1906 daeMetaAttribute *ma = new daeMetaAttribute; 1907 ma->setName( "value" ); 1908 ma->setType( dae.getAtomicTypes().get("Gl_light_model_color_control_type")); 1909 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_model_color_control , attrValue )); 1910 ma->setContainer( meta ); 1911 ma->setDefaultString( "SINGLE_COLOR"); 1912 ma->setIsRequired( false ); 1913 1914 meta->appendAttribute(ma); 1915 } 1916 1917 // Add attribute: param 1918 { 1919 daeMetaAttribute *ma = new daeMetaAttribute; 1920 ma->setName( "param" ); 1921 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1922 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_model_color_control , attrParam )); 1923 ma->setContainer( meta ); 1924 ma->setIsRequired( false ); 1925 1926 meta->appendAttribute(ma); 1927 } 1928 1929 meta->setElementSize(sizeof(domGl_pipeline_settings::domLight_model_color_control)); 1930 meta->validate(); 1931 1932 return meta; 1933 } 1934 1935 daeElementRef 1936 domGl_pipeline_settings::domLogic_op::create(DAE& dae) 1937 { 1938 domGl_pipeline_settings::domLogic_opRef ref = new domGl_pipeline_settings::domLogic_op(dae); 1939 return ref; 1940 } 1941 1942 1943 daeMetaElement * 1944 domGl_pipeline_settings::domLogic_op::registerElement(DAE& dae) 1945 { 1946 daeMetaElement* meta = dae.getMeta(ID()); 1947 if ( meta != NULL ) return meta; 1948 1949 meta = new daeMetaElement(dae); 1950 dae.setMeta(ID(), *meta); 1951 meta->setName( "logic_op" ); 1952 meta->registerClass(domGl_pipeline_settings::domLogic_op::create); 1953 1954 meta->setIsInnerClass( true ); 1955 1956 // Add attribute: value 1957 { 1958 daeMetaAttribute *ma = new daeMetaAttribute; 1959 ma->setName( "value" ); 1960 ma->setType( dae.getAtomicTypes().get("Gl_logic_op_type")); 1961 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLogic_op , attrValue )); 1962 ma->setContainer( meta ); 1963 ma->setDefaultString( "COPY"); 1964 ma->setIsRequired( false ); 1965 1966 meta->appendAttribute(ma); 1967 } 1968 1969 // Add attribute: param 1970 { 1971 daeMetaAttribute *ma = new daeMetaAttribute; 1972 ma->setName( "param" ); 1973 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1974 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLogic_op , attrParam )); 1975 ma->setContainer( meta ); 1976 ma->setIsRequired( false ); 1977 1978 meta->appendAttribute(ma); 1979 } 1980 1981 meta->setElementSize(sizeof(domGl_pipeline_settings::domLogic_op)); 1982 meta->validate(); 1983 1984 return meta; 1985 } 1986 1987 daeElementRef 1988 domGl_pipeline_settings::domPolygon_mode::create(DAE& dae) 1989 { 1990 domGl_pipeline_settings::domPolygon_modeRef ref = new domGl_pipeline_settings::domPolygon_mode(dae); 1991 return ref; 1992 } 1993 1994 1995 daeMetaElement * 1996 domGl_pipeline_settings::domPolygon_mode::registerElement(DAE& dae) 1997 { 1998 daeMetaElement* meta = dae.getMeta(ID()); 1999 if ( meta != NULL ) return meta; 2000 2001 meta = new daeMetaElement(dae); 2002 dae.setMeta(ID(), *meta); 2003 meta->setName( "polygon_mode" ); 2004 meta->registerClass(domGl_pipeline_settings::domPolygon_mode::create); 2005 2006 meta->setIsInnerClass( true ); 2007 daeMetaCMPolicy *cm = NULL; 2008 daeMetaElementAttribute *mea = NULL; 2009 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 2010 2011 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 2012 mea->setName( "face" ); 2013 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domPolygon_mode,elemFace) ); 2014 mea->setElementType( domGl_pipeline_settings::domPolygon_mode::domFace::registerElement(dae) ); 2015 cm->appendChild( mea ); 2016 2017 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 ); 2018 mea->setName( "mode" ); 2019 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domPolygon_mode,elemMode) ); 2020 mea->setElementType( domGl_pipeline_settings::domPolygon_mode::domMode::registerElement(dae) ); 2021 cm->appendChild( mea ); 2022 2023 cm->setMaxOrdinal( 1 ); 2024 meta->setCMRoot( cm ); 2025 2026 meta->setElementSize(sizeof(domGl_pipeline_settings::domPolygon_mode)); 2027 meta->validate(); 2028 2029 return meta; 2030 } 2031 2032 daeElementRef 2033 domGl_pipeline_settings::domPolygon_mode::domFace::create(DAE& dae) 2034 { 2035 domGl_pipeline_settings::domPolygon_mode::domFaceRef ref = new domGl_pipeline_settings::domPolygon_mode::domFace(dae); 2036 return ref; 2037 } 2038 2039 2040 daeMetaElement * 2041 domGl_pipeline_settings::domPolygon_mode::domFace::registerElement(DAE& dae) 2042 { 2043 daeMetaElement* meta = dae.getMeta(ID()); 2044 if ( meta != NULL ) return meta; 2045 2046 meta = new daeMetaElement(dae); 2047 dae.setMeta(ID(), *meta); 2048 meta->setName( "face" ); 2049 meta->registerClass(domGl_pipeline_settings::domPolygon_mode::domFace::create); 2050 2051 meta->setIsInnerClass( true ); 2052 2053 // Add attribute: value 2054 { 2055 daeMetaAttribute *ma = new daeMetaAttribute; 2056 ma->setName( "value" ); 2057 ma->setType( dae.getAtomicTypes().get("Gl_face_type")); 2058 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_mode::domFace , attrValue )); 2059 ma->setContainer( meta ); 2060 ma->setDefaultString( "FRONT_AND_BACK"); 2061 ma->setIsRequired( false ); 2062 2063 meta->appendAttribute(ma); 2064 } 2065 2066 // Add attribute: param 2067 { 2068 daeMetaAttribute *ma = new daeMetaAttribute; 2069 ma->setName( "param" ); 2070 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2071 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_mode::domFace , attrParam )); 2072 ma->setContainer( meta ); 2073 ma->setIsRequired( false ); 2074 2075 meta->appendAttribute(ma); 2076 } 2077 2078 meta->setElementSize(sizeof(domGl_pipeline_settings::domPolygon_mode::domFace)); 2079 meta->validate(); 2080 2081 return meta; 2082 } 2083 2084 daeElementRef 2085 domGl_pipeline_settings::domPolygon_mode::domMode::create(DAE& dae) 2086 { 2087 domGl_pipeline_settings::domPolygon_mode::domModeRef ref = new domGl_pipeline_settings::domPolygon_mode::domMode(dae); 2088 return ref; 2089 } 2090 2091 2092 daeMetaElement * 2093 domGl_pipeline_settings::domPolygon_mode::domMode::registerElement(DAE& dae) 2094 { 2095 daeMetaElement* meta = dae.getMeta(ID()); 2096 if ( meta != NULL ) return meta; 2097 2098 meta = new daeMetaElement(dae); 2099 dae.setMeta(ID(), *meta); 2100 meta->setName( "mode" ); 2101 meta->registerClass(domGl_pipeline_settings::domPolygon_mode::domMode::create); 2102 2103 meta->setIsInnerClass( true ); 2104 2105 // Add attribute: value 2106 { 2107 daeMetaAttribute *ma = new daeMetaAttribute; 2108 ma->setName( "value" ); 2109 ma->setType( dae.getAtomicTypes().get("Gl_polygon_mode_type")); 2110 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_mode::domMode , attrValue )); 2111 ma->setContainer( meta ); 2112 ma->setDefaultString( "FILL"); 2113 ma->setIsRequired( false ); 2114 2115 meta->appendAttribute(ma); 2116 } 2117 2118 // Add attribute: param 2119 { 2120 daeMetaAttribute *ma = new daeMetaAttribute; 2121 ma->setName( "param" ); 2122 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2123 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_mode::domMode , attrParam )); 2124 ma->setContainer( meta ); 2125 ma->setIsRequired( false ); 2126 2127 meta->appendAttribute(ma); 2128 } 2129 2130 meta->setElementSize(sizeof(domGl_pipeline_settings::domPolygon_mode::domMode)); 2131 meta->validate(); 2132 2133 return meta; 2134 } 2135 2136 daeElementRef 2137 domGl_pipeline_settings::domShade_model::create(DAE& dae) 2138 { 2139 domGl_pipeline_settings::domShade_modelRef ref = new domGl_pipeline_settings::domShade_model(dae); 2140 return ref; 2141 } 2142 2143 2144 daeMetaElement * 2145 domGl_pipeline_settings::domShade_model::registerElement(DAE& dae) 2146 { 2147 daeMetaElement* meta = dae.getMeta(ID()); 2148 if ( meta != NULL ) return meta; 2149 2150 meta = new daeMetaElement(dae); 2151 dae.setMeta(ID(), *meta); 2152 meta->setName( "shade_model" ); 2153 meta->registerClass(domGl_pipeline_settings::domShade_model::create); 2154 2155 meta->setIsInnerClass( true ); 2156 2157 // Add attribute: value 2158 { 2159 daeMetaAttribute *ma = new daeMetaAttribute; 2160 ma->setName( "value" ); 2161 ma->setType( dae.getAtomicTypes().get("Gl_shade_model_type")); 2162 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domShade_model , attrValue )); 2163 ma->setContainer( meta ); 2164 ma->setDefaultString( "SMOOTH"); 2165 ma->setIsRequired( false ); 2166 2167 meta->appendAttribute(ma); 2168 } 2169 2170 // Add attribute: param 2171 { 2172 daeMetaAttribute *ma = new daeMetaAttribute; 2173 ma->setName( "param" ); 2174 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2175 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domShade_model , attrParam )); 2176 ma->setContainer( meta ); 2177 ma->setIsRequired( false ); 2178 2179 meta->appendAttribute(ma); 2180 } 2181 2182 meta->setElementSize(sizeof(domGl_pipeline_settings::domShade_model)); 2183 meta->validate(); 2184 2185 return meta; 2186 } 2187 2188 daeElementRef 2189 domGl_pipeline_settings::domStencil_func::create(DAE& dae) 2190 { 2191 domGl_pipeline_settings::domStencil_funcRef ref = new domGl_pipeline_settings::domStencil_func(dae); 2192 return ref; 2193 } 2194 2195 2196 daeMetaElement * 2197 domGl_pipeline_settings::domStencil_func::registerElement(DAE& dae) 2198 { 2199 daeMetaElement* meta = dae.getMeta(ID()); 2200 if ( meta != NULL ) return meta; 2201 2202 meta = new daeMetaElement(dae); 2203 dae.setMeta(ID(), *meta); 2204 meta->setName( "stencil_func" ); 2205 meta->registerClass(domGl_pipeline_settings::domStencil_func::create); 2206 2207 meta->setIsInnerClass( true ); 2208 daeMetaCMPolicy *cm = NULL; 2209 daeMetaElementAttribute *mea = NULL; 2210 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 2211 2212 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 2213 mea->setName( "func" ); 2214 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_func,elemFunc) ); 2215 mea->setElementType( domGl_pipeline_settings::domStencil_func::domFunc::registerElement(dae) ); 2216 cm->appendChild( mea ); 2217 2218 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 ); 2219 mea->setName( "ref" ); 2220 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_func,elemRef) ); 2221 mea->setElementType( domGl_pipeline_settings::domStencil_func::domRef::registerElement(dae) ); 2222 cm->appendChild( mea ); 2223 2224 mea = new daeMetaElementAttribute( meta, cm, 2, 1, 1 ); 2225 mea->setName( "mask" ); 2226 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_func,elemMask) ); 2227 mea->setElementType( domGl_pipeline_settings::domStencil_func::domMask::registerElement(dae) ); 2228 cm->appendChild( mea ); 2229 2230 cm->setMaxOrdinal( 2 ); 2231 meta->setCMRoot( cm ); 2232 2233 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_func)); 2234 meta->validate(); 2235 2236 return meta; 2237 } 2238 2239 daeElementRef 2240 domGl_pipeline_settings::domStencil_func::domFunc::create(DAE& dae) 2241 { 2242 domGl_pipeline_settings::domStencil_func::domFuncRef ref = new domGl_pipeline_settings::domStencil_func::domFunc(dae); 2243 return ref; 2244 } 2245 2246 2247 daeMetaElement * 2248 domGl_pipeline_settings::domStencil_func::domFunc::registerElement(DAE& dae) 2249 { 2250 daeMetaElement* meta = dae.getMeta(ID()); 2251 if ( meta != NULL ) return meta; 2252 2253 meta = new daeMetaElement(dae); 2254 dae.setMeta(ID(), *meta); 2255 meta->setName( "func" ); 2256 meta->registerClass(domGl_pipeline_settings::domStencil_func::domFunc::create); 2257 2258 meta->setIsInnerClass( true ); 2259 2260 // Add attribute: value 2261 { 2262 daeMetaAttribute *ma = new daeMetaAttribute; 2263 ma->setName( "value" ); 2264 ma->setType( dae.getAtomicTypes().get("Gl_func_type")); 2265 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_func::domFunc , attrValue )); 2266 ma->setContainer( meta ); 2267 ma->setDefaultString( "ALWAYS"); 2268 ma->setIsRequired( false ); 2269 2270 meta->appendAttribute(ma); 2271 } 2272 2273 // Add attribute: param 2274 { 2275 daeMetaAttribute *ma = new daeMetaAttribute; 2276 ma->setName( "param" ); 2277 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2278 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_func::domFunc , attrParam )); 2279 ma->setContainer( meta ); 2280 ma->setIsRequired( false ); 2281 2282 meta->appendAttribute(ma); 2283 } 2284 2285 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_func::domFunc)); 2286 meta->validate(); 2287 2288 return meta; 2289 } 2290 2291 daeElementRef 2292 domGl_pipeline_settings::domStencil_func::domRef::create(DAE& dae) 2293 { 2294 domGl_pipeline_settings::domStencil_func::domRefRef ref = new domGl_pipeline_settings::domStencil_func::domRef(dae); 2295 return ref; 2296 } 2297 2298 2299 daeMetaElement * 2300 domGl_pipeline_settings::domStencil_func::domRef::registerElement(DAE& dae) 2301 { 2302 daeMetaElement* meta = dae.getMeta(ID()); 2303 if ( meta != NULL ) return meta; 2304 2305 meta = new daeMetaElement(dae); 2306 dae.setMeta(ID(), *meta); 2307 meta->setName( "ref" ); 2308 meta->registerClass(domGl_pipeline_settings::domStencil_func::domRef::create); 2309 2310 meta->setIsInnerClass( true ); 2311 2312 // Add attribute: value 2313 { 2314 daeMetaAttribute *ma = new daeMetaAttribute; 2315 ma->setName( "value" ); 2316 ma->setType( dae.getAtomicTypes().get("xsUnsignedByte")); 2317 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_func::domRef , attrValue )); 2318 ma->setContainer( meta ); 2319 ma->setDefaultString( "0"); 2320 ma->setIsRequired( false ); 2321 2322 meta->appendAttribute(ma); 2323 } 2324 2325 // Add attribute: param 2326 { 2327 daeMetaAttribute *ma = new daeMetaAttribute; 2328 ma->setName( "param" ); 2329 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2330 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_func::domRef , attrParam )); 2331 ma->setContainer( meta ); 2332 ma->setIsRequired( false ); 2333 2334 meta->appendAttribute(ma); 2335 } 2336 2337 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_func::domRef)); 2338 meta->validate(); 2339 2340 return meta; 2341 } 2342 2343 daeElementRef 2344 domGl_pipeline_settings::domStencil_func::domMask::create(DAE& dae) 2345 { 2346 domGl_pipeline_settings::domStencil_func::domMaskRef ref = new domGl_pipeline_settings::domStencil_func::domMask(dae); 2347 return ref; 2348 } 2349 2350 2351 daeMetaElement * 2352 domGl_pipeline_settings::domStencil_func::domMask::registerElement(DAE& dae) 2353 { 2354 daeMetaElement* meta = dae.getMeta(ID()); 2355 if ( meta != NULL ) return meta; 2356 2357 meta = new daeMetaElement(dae); 2358 dae.setMeta(ID(), *meta); 2359 meta->setName( "mask" ); 2360 meta->registerClass(domGl_pipeline_settings::domStencil_func::domMask::create); 2361 2362 meta->setIsInnerClass( true ); 2363 2364 // Add attribute: value 2365 { 2366 daeMetaAttribute *ma = new daeMetaAttribute; 2367 ma->setName( "value" ); 2368 ma->setType( dae.getAtomicTypes().get("xsUnsignedByte")); 2369 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_func::domMask , attrValue )); 2370 ma->setContainer( meta ); 2371 ma->setDefaultString( "255"); 2372 ma->setIsRequired( false ); 2373 2374 meta->appendAttribute(ma); 2375 } 2376 2377 // Add attribute: param 2378 { 2379 daeMetaAttribute *ma = new daeMetaAttribute; 2380 ma->setName( "param" ); 2381 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2382 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_func::domMask , attrParam )); 2383 ma->setContainer( meta ); 2384 ma->setIsRequired( false ); 2385 2386 meta->appendAttribute(ma); 2387 } 2388 2389 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_func::domMask)); 2390 meta->validate(); 2391 2392 return meta; 2393 } 2394 2395 daeElementRef 2396 domGl_pipeline_settings::domStencil_op::create(DAE& dae) 2397 { 2398 domGl_pipeline_settings::domStencil_opRef ref = new domGl_pipeline_settings::domStencil_op(dae); 2399 return ref; 2400 } 2401 2402 2403 daeMetaElement * 2404 domGl_pipeline_settings::domStencil_op::registerElement(DAE& dae) 2405 { 2406 daeMetaElement* meta = dae.getMeta(ID()); 2407 if ( meta != NULL ) return meta; 2408 2409 meta = new daeMetaElement(dae); 2410 dae.setMeta(ID(), *meta); 2411 meta->setName( "stencil_op" ); 2412 meta->registerClass(domGl_pipeline_settings::domStencil_op::create); 2413 2414 meta->setIsInnerClass( true ); 2415 daeMetaCMPolicy *cm = NULL; 2416 daeMetaElementAttribute *mea = NULL; 2417 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 2418 2419 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 2420 mea->setName( "fail" ); 2421 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_op,elemFail) ); 2422 mea->setElementType( domGl_pipeline_settings::domStencil_op::domFail::registerElement(dae) ); 2423 cm->appendChild( mea ); 2424 2425 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 ); 2426 mea->setName( "zfail" ); 2427 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_op,elemZfail) ); 2428 mea->setElementType( domGl_pipeline_settings::domStencil_op::domZfail::registerElement(dae) ); 2429 cm->appendChild( mea ); 2430 2431 mea = new daeMetaElementAttribute( meta, cm, 2, 1, 1 ); 2432 mea->setName( "zpass" ); 2433 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_op,elemZpass) ); 2434 mea->setElementType( domGl_pipeline_settings::domStencil_op::domZpass::registerElement(dae) ); 2435 cm->appendChild( mea ); 2436 2437 cm->setMaxOrdinal( 2 ); 2438 meta->setCMRoot( cm ); 2439 2440 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_op)); 2441 meta->validate(); 2442 2443 return meta; 2444 } 2445 2446 daeElementRef 2447 domGl_pipeline_settings::domStencil_op::domFail::create(DAE& dae) 2448 { 2449 domGl_pipeline_settings::domStencil_op::domFailRef ref = new domGl_pipeline_settings::domStencil_op::domFail(dae); 2450 return ref; 2451 } 2452 2453 2454 daeMetaElement * 2455 domGl_pipeline_settings::domStencil_op::domFail::registerElement(DAE& dae) 2456 { 2457 daeMetaElement* meta = dae.getMeta(ID()); 2458 if ( meta != NULL ) return meta; 2459 2460 meta = new daeMetaElement(dae); 2461 dae.setMeta(ID(), *meta); 2462 meta->setName( "fail" ); 2463 meta->registerClass(domGl_pipeline_settings::domStencil_op::domFail::create); 2464 2465 meta->setIsInnerClass( true ); 2466 2467 // Add attribute: value 2468 { 2469 daeMetaAttribute *ma = new daeMetaAttribute; 2470 ma->setName( "value" ); 2471 ma->setType( dae.getAtomicTypes().get("Gl_stencil_op_type")); 2472 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_op::domFail , attrValue )); 2473 ma->setContainer( meta ); 2474 ma->setDefaultString( "KEEP"); 2475 ma->setIsRequired( false ); 2476 2477 meta->appendAttribute(ma); 2478 } 2479 2480 // Add attribute: param 2481 { 2482 daeMetaAttribute *ma = new daeMetaAttribute; 2483 ma->setName( "param" ); 2484 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2485 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_op::domFail , attrParam )); 2486 ma->setContainer( meta ); 2487 ma->setIsRequired( false ); 2488 2489 meta->appendAttribute(ma); 2490 } 2491 2492 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_op::domFail)); 2493 meta->validate(); 2494 2495 return meta; 2496 } 2497 2498 daeElementRef 2499 domGl_pipeline_settings::domStencil_op::domZfail::create(DAE& dae) 2500 { 2501 domGl_pipeline_settings::domStencil_op::domZfailRef ref = new domGl_pipeline_settings::domStencil_op::domZfail(dae); 2502 return ref; 2503 } 2504 2505 2506 daeMetaElement * 2507 domGl_pipeline_settings::domStencil_op::domZfail::registerElement(DAE& dae) 2508 { 2509 daeMetaElement* meta = dae.getMeta(ID()); 2510 if ( meta != NULL ) return meta; 2511 2512 meta = new daeMetaElement(dae); 2513 dae.setMeta(ID(), *meta); 2514 meta->setName( "zfail" ); 2515 meta->registerClass(domGl_pipeline_settings::domStencil_op::domZfail::create); 2516 2517 meta->setIsInnerClass( true ); 2518 2519 // Add attribute: value 2520 { 2521 daeMetaAttribute *ma = new daeMetaAttribute; 2522 ma->setName( "value" ); 2523 ma->setType( dae.getAtomicTypes().get("Gl_stencil_op_type")); 2524 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_op::domZfail , attrValue )); 2525 ma->setContainer( meta ); 2526 ma->setDefaultString( "KEEP"); 2527 ma->setIsRequired( false ); 2528 2529 meta->appendAttribute(ma); 2530 } 2531 2532 // Add attribute: param 2533 { 2534 daeMetaAttribute *ma = new daeMetaAttribute; 2535 ma->setName( "param" ); 2536 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2537 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_op::domZfail , attrParam )); 2538 ma->setContainer( meta ); 2539 ma->setIsRequired( false ); 2540 2541 meta->appendAttribute(ma); 2542 } 2543 2544 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_op::domZfail)); 2545 meta->validate(); 2546 2547 return meta; 2548 } 2549 2550 daeElementRef 2551 domGl_pipeline_settings::domStencil_op::domZpass::create(DAE& dae) 2552 { 2553 domGl_pipeline_settings::domStencil_op::domZpassRef ref = new domGl_pipeline_settings::domStencil_op::domZpass(dae); 2554 return ref; 2555 } 2556 2557 2558 daeMetaElement * 2559 domGl_pipeline_settings::domStencil_op::domZpass::registerElement(DAE& dae) 2560 { 2561 daeMetaElement* meta = dae.getMeta(ID()); 2562 if ( meta != NULL ) return meta; 2563 2564 meta = new daeMetaElement(dae); 2565 dae.setMeta(ID(), *meta); 2566 meta->setName( "zpass" ); 2567 meta->registerClass(domGl_pipeline_settings::domStencil_op::domZpass::create); 2568 2569 meta->setIsInnerClass( true ); 2570 2571 // Add attribute: value 2572 { 2573 daeMetaAttribute *ma = new daeMetaAttribute; 2574 ma->setName( "value" ); 2575 ma->setType( dae.getAtomicTypes().get("Gl_stencil_op_type")); 2576 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_op::domZpass , attrValue )); 2577 ma->setContainer( meta ); 2578 ma->setDefaultString( "KEEP"); 2579 ma->setIsRequired( false ); 2580 2581 meta->appendAttribute(ma); 2582 } 2583 2584 // Add attribute: param 2585 { 2586 daeMetaAttribute *ma = new daeMetaAttribute; 2587 ma->setName( "param" ); 2588 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2589 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_op::domZpass , attrParam )); 2590 ma->setContainer( meta ); 2591 ma->setIsRequired( false ); 2592 2593 meta->appendAttribute(ma); 2594 } 2595 2596 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_op::domZpass)); 2597 meta->validate(); 2598 2599 return meta; 2600 } 2601 2602 daeElementRef 2603 domGl_pipeline_settings::domStencil_func_separate::create(DAE& dae) 2604 { 2605 domGl_pipeline_settings::domStencil_func_separateRef ref = new domGl_pipeline_settings::domStencil_func_separate(dae); 2606 return ref; 2607 } 2608 2609 2610 daeMetaElement * 2611 domGl_pipeline_settings::domStencil_func_separate::registerElement(DAE& dae) 2612 { 2613 daeMetaElement* meta = dae.getMeta(ID()); 2614 if ( meta != NULL ) return meta; 2615 2616 meta = new daeMetaElement(dae); 2617 dae.setMeta(ID(), *meta); 2618 meta->setName( "stencil_func_separate" ); 2619 meta->registerClass(domGl_pipeline_settings::domStencil_func_separate::create); 2620 2621 meta->setIsInnerClass( true ); 2622 daeMetaCMPolicy *cm = NULL; 2623 daeMetaElementAttribute *mea = NULL; 2624 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 2625 2626 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 2627 mea->setName( "front" ); 2628 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_func_separate,elemFront) ); 2629 mea->setElementType( domGl_pipeline_settings::domStencil_func_separate::domFront::registerElement(dae) ); 2630 cm->appendChild( mea ); 2631 2632 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 ); 2633 mea->setName( "back" ); 2634 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_func_separate,elemBack) ); 2635 mea->setElementType( domGl_pipeline_settings::domStencil_func_separate::domBack::registerElement(dae) ); 2636 cm->appendChild( mea ); 2637 2638 mea = new daeMetaElementAttribute( meta, cm, 2, 1, 1 ); 2639 mea->setName( "ref" ); 2640 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_func_separate,elemRef) ); 2641 mea->setElementType( domGl_pipeline_settings::domStencil_func_separate::domRef::registerElement(dae) ); 2642 cm->appendChild( mea ); 2643 2644 mea = new daeMetaElementAttribute( meta, cm, 3, 1, 1 ); 2645 mea->setName( "mask" ); 2646 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_func_separate,elemMask) ); 2647 mea->setElementType( domGl_pipeline_settings::domStencil_func_separate::domMask::registerElement(dae) ); 2648 cm->appendChild( mea ); 2649 2650 cm->setMaxOrdinal( 3 ); 2651 meta->setCMRoot( cm ); 2652 2653 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_func_separate)); 2654 meta->validate(); 2655 2656 return meta; 2657 } 2658 2659 daeElementRef 2660 domGl_pipeline_settings::domStencil_func_separate::domFront::create(DAE& dae) 2661 { 2662 domGl_pipeline_settings::domStencil_func_separate::domFrontRef ref = new domGl_pipeline_settings::domStencil_func_separate::domFront(dae); 2663 return ref; 2664 } 2665 2666 2667 daeMetaElement * 2668 domGl_pipeline_settings::domStencil_func_separate::domFront::registerElement(DAE& dae) 2669 { 2670 daeMetaElement* meta = dae.getMeta(ID()); 2671 if ( meta != NULL ) return meta; 2672 2673 meta = new daeMetaElement(dae); 2674 dae.setMeta(ID(), *meta); 2675 meta->setName( "front" ); 2676 meta->registerClass(domGl_pipeline_settings::domStencil_func_separate::domFront::create); 2677 2678 meta->setIsInnerClass( true ); 2679 2680 // Add attribute: value 2681 { 2682 daeMetaAttribute *ma = new daeMetaAttribute; 2683 ma->setName( "value" ); 2684 ma->setType( dae.getAtomicTypes().get("Gl_func_type")); 2685 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_func_separate::domFront , attrValue )); 2686 ma->setContainer( meta ); 2687 ma->setDefaultString( "ALWAYS"); 2688 ma->setIsRequired( false ); 2689 2690 meta->appendAttribute(ma); 2691 } 2692 2693 // Add attribute: param 2694 { 2695 daeMetaAttribute *ma = new daeMetaAttribute; 2696 ma->setName( "param" ); 2697 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2698 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_func_separate::domFront , attrParam )); 2699 ma->setContainer( meta ); 2700 ma->setIsRequired( false ); 2701 2702 meta->appendAttribute(ma); 2703 } 2704 2705 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_func_separate::domFront)); 2706 meta->validate(); 2707 2708 return meta; 2709 } 2710 2711 daeElementRef 2712 domGl_pipeline_settings::domStencil_func_separate::domBack::create(DAE& dae) 2713 { 2714 domGl_pipeline_settings::domStencil_func_separate::domBackRef ref = new domGl_pipeline_settings::domStencil_func_separate::domBack(dae); 2715 return ref; 2716 } 2717 2718 2719 daeMetaElement * 2720 domGl_pipeline_settings::domStencil_func_separate::domBack::registerElement(DAE& dae) 2721 { 2722 daeMetaElement* meta = dae.getMeta(ID()); 2723 if ( meta != NULL ) return meta; 2724 2725 meta = new daeMetaElement(dae); 2726 dae.setMeta(ID(), *meta); 2727 meta->setName( "back" ); 2728 meta->registerClass(domGl_pipeline_settings::domStencil_func_separate::domBack::create); 2729 2730 meta->setIsInnerClass( true ); 2731 2732 // Add attribute: value 2733 { 2734 daeMetaAttribute *ma = new daeMetaAttribute; 2735 ma->setName( "value" ); 2736 ma->setType( dae.getAtomicTypes().get("Gl_func_type")); 2737 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_func_separate::domBack , attrValue )); 2738 ma->setContainer( meta ); 2739 ma->setDefaultString( "ALWAYS"); 2740 ma->setIsRequired( false ); 2741 2742 meta->appendAttribute(ma); 2743 } 2744 2745 // Add attribute: param 2746 { 2747 daeMetaAttribute *ma = new daeMetaAttribute; 2748 ma->setName( "param" ); 2749 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2750 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_func_separate::domBack , attrParam )); 2751 ma->setContainer( meta ); 2752 ma->setIsRequired( false ); 2753 2754 meta->appendAttribute(ma); 2755 } 2756 2757 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_func_separate::domBack)); 2758 meta->validate(); 2759 2760 return meta; 2761 } 2762 2763 daeElementRef 2764 domGl_pipeline_settings::domStencil_func_separate::domRef::create(DAE& dae) 2765 { 2766 domGl_pipeline_settings::domStencil_func_separate::domRefRef ref = new domGl_pipeline_settings::domStencil_func_separate::domRef(dae); 2767 return ref; 2768 } 2769 2770 2771 daeMetaElement * 2772 domGl_pipeline_settings::domStencil_func_separate::domRef::registerElement(DAE& dae) 2773 { 2774 daeMetaElement* meta = dae.getMeta(ID()); 2775 if ( meta != NULL ) return meta; 2776 2777 meta = new daeMetaElement(dae); 2778 dae.setMeta(ID(), *meta); 2779 meta->setName( "ref" ); 2780 meta->registerClass(domGl_pipeline_settings::domStencil_func_separate::domRef::create); 2781 2782 meta->setIsInnerClass( true ); 2783 2784 // Add attribute: value 2785 { 2786 daeMetaAttribute *ma = new daeMetaAttribute; 2787 ma->setName( "value" ); 2788 ma->setType( dae.getAtomicTypes().get("xsUnsignedByte")); 2789 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_func_separate::domRef , attrValue )); 2790 ma->setContainer( meta ); 2791 ma->setDefaultString( "0"); 2792 ma->setIsRequired( false ); 2793 2794 meta->appendAttribute(ma); 2795 } 2796 2797 // Add attribute: param 2798 { 2799 daeMetaAttribute *ma = new daeMetaAttribute; 2800 ma->setName( "param" ); 2801 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2802 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_func_separate::domRef , attrParam )); 2803 ma->setContainer( meta ); 2804 ma->setIsRequired( false ); 2805 2806 meta->appendAttribute(ma); 2807 } 2808 2809 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_func_separate::domRef)); 2810 meta->validate(); 2811 2812 return meta; 2813 } 2814 2815 daeElementRef 2816 domGl_pipeline_settings::domStencil_func_separate::domMask::create(DAE& dae) 2817 { 2818 domGl_pipeline_settings::domStencil_func_separate::domMaskRef ref = new domGl_pipeline_settings::domStencil_func_separate::domMask(dae); 2819 return ref; 2820 } 2821 2822 2823 daeMetaElement * 2824 domGl_pipeline_settings::domStencil_func_separate::domMask::registerElement(DAE& dae) 2825 { 2826 daeMetaElement* meta = dae.getMeta(ID()); 2827 if ( meta != NULL ) return meta; 2828 2829 meta = new daeMetaElement(dae); 2830 dae.setMeta(ID(), *meta); 2831 meta->setName( "mask" ); 2832 meta->registerClass(domGl_pipeline_settings::domStencil_func_separate::domMask::create); 2833 2834 meta->setIsInnerClass( true ); 2835 2836 // Add attribute: value 2837 { 2838 daeMetaAttribute *ma = new daeMetaAttribute; 2839 ma->setName( "value" ); 2840 ma->setType( dae.getAtomicTypes().get("xsUnsignedByte")); 2841 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_func_separate::domMask , attrValue )); 2842 ma->setContainer( meta ); 2843 ma->setDefaultString( "255"); 2844 ma->setIsRequired( false ); 2845 2846 meta->appendAttribute(ma); 2847 } 2848 2849 // Add attribute: param 2850 { 2851 daeMetaAttribute *ma = new daeMetaAttribute; 2852 ma->setName( "param" ); 2853 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2854 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_func_separate::domMask , attrParam )); 2855 ma->setContainer( meta ); 2856 ma->setIsRequired( false ); 2857 2858 meta->appendAttribute(ma); 2859 } 2860 2861 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_func_separate::domMask)); 2862 meta->validate(); 2863 2864 return meta; 2865 } 2866 2867 daeElementRef 2868 domGl_pipeline_settings::domStencil_op_separate::create(DAE& dae) 2869 { 2870 domGl_pipeline_settings::domStencil_op_separateRef ref = new domGl_pipeline_settings::domStencil_op_separate(dae); 2871 return ref; 2872 } 2873 2874 2875 daeMetaElement * 2876 domGl_pipeline_settings::domStencil_op_separate::registerElement(DAE& dae) 2877 { 2878 daeMetaElement* meta = dae.getMeta(ID()); 2879 if ( meta != NULL ) return meta; 2880 2881 meta = new daeMetaElement(dae); 2882 dae.setMeta(ID(), *meta); 2883 meta->setName( "stencil_op_separate" ); 2884 meta->registerClass(domGl_pipeline_settings::domStencil_op_separate::create); 2885 2886 meta->setIsInnerClass( true ); 2887 daeMetaCMPolicy *cm = NULL; 2888 daeMetaElementAttribute *mea = NULL; 2889 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 2890 2891 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 2892 mea->setName( "face" ); 2893 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_op_separate,elemFace) ); 2894 mea->setElementType( domGl_pipeline_settings::domStencil_op_separate::domFace::registerElement(dae) ); 2895 cm->appendChild( mea ); 2896 2897 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 ); 2898 mea->setName( "fail" ); 2899 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_op_separate,elemFail) ); 2900 mea->setElementType( domGl_pipeline_settings::domStencil_op_separate::domFail::registerElement(dae) ); 2901 cm->appendChild( mea ); 2902 2903 mea = new daeMetaElementAttribute( meta, cm, 2, 1, 1 ); 2904 mea->setName( "zfail" ); 2905 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_op_separate,elemZfail) ); 2906 mea->setElementType( domGl_pipeline_settings::domStencil_op_separate::domZfail::registerElement(dae) ); 2907 cm->appendChild( mea ); 2908 2909 mea = new daeMetaElementAttribute( meta, cm, 3, 1, 1 ); 2910 mea->setName( "zpass" ); 2911 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_op_separate,elemZpass) ); 2912 mea->setElementType( domGl_pipeline_settings::domStencil_op_separate::domZpass::registerElement(dae) ); 2913 cm->appendChild( mea ); 2914 2915 cm->setMaxOrdinal( 3 ); 2916 meta->setCMRoot( cm ); 2917 2918 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_op_separate)); 2919 meta->validate(); 2920 2921 return meta; 2922 } 2923 2924 daeElementRef 2925 domGl_pipeline_settings::domStencil_op_separate::domFace::create(DAE& dae) 2926 { 2927 domGl_pipeline_settings::domStencil_op_separate::domFaceRef ref = new domGl_pipeline_settings::domStencil_op_separate::domFace(dae); 2928 return ref; 2929 } 2930 2931 2932 daeMetaElement * 2933 domGl_pipeline_settings::domStencil_op_separate::domFace::registerElement(DAE& dae) 2934 { 2935 daeMetaElement* meta = dae.getMeta(ID()); 2936 if ( meta != NULL ) return meta; 2937 2938 meta = new daeMetaElement(dae); 2939 dae.setMeta(ID(), *meta); 2940 meta->setName( "face" ); 2941 meta->registerClass(domGl_pipeline_settings::domStencil_op_separate::domFace::create); 2942 2943 meta->setIsInnerClass( true ); 2944 2945 // Add attribute: value 2946 { 2947 daeMetaAttribute *ma = new daeMetaAttribute; 2948 ma->setName( "value" ); 2949 ma->setType( dae.getAtomicTypes().get("Gl_face_type")); 2950 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_op_separate::domFace , attrValue )); 2951 ma->setContainer( meta ); 2952 ma->setDefaultString( "FRONT_AND_BACK"); 2953 ma->setIsRequired( false ); 2954 2955 meta->appendAttribute(ma); 2956 } 2957 2958 // Add attribute: param 2959 { 2960 daeMetaAttribute *ma = new daeMetaAttribute; 2961 ma->setName( "param" ); 2962 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2963 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_op_separate::domFace , attrParam )); 2964 ma->setContainer( meta ); 2965 ma->setIsRequired( false ); 2966 2967 meta->appendAttribute(ma); 2968 } 2969 2970 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_op_separate::domFace)); 2971 meta->validate(); 2972 2973 return meta; 2974 } 2975 2976 daeElementRef 2977 domGl_pipeline_settings::domStencil_op_separate::domFail::create(DAE& dae) 2978 { 2979 domGl_pipeline_settings::domStencil_op_separate::domFailRef ref = new domGl_pipeline_settings::domStencil_op_separate::domFail(dae); 2980 return ref; 2981 } 2982 2983 2984 daeMetaElement * 2985 domGl_pipeline_settings::domStencil_op_separate::domFail::registerElement(DAE& dae) 2986 { 2987 daeMetaElement* meta = dae.getMeta(ID()); 2988 if ( meta != NULL ) return meta; 2989 2990 meta = new daeMetaElement(dae); 2991 dae.setMeta(ID(), *meta); 2992 meta->setName( "fail" ); 2993 meta->registerClass(domGl_pipeline_settings::domStencil_op_separate::domFail::create); 2994 2995 meta->setIsInnerClass( true ); 2996 2997 // Add attribute: value 2998 { 2999 daeMetaAttribute *ma = new daeMetaAttribute; 3000 ma->setName( "value" ); 3001 ma->setType( dae.getAtomicTypes().get("Gl_stencil_op_type")); 3002 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_op_separate::domFail , attrValue )); 3003 ma->setContainer( meta ); 3004 ma->setDefaultString( "KEEP"); 3005 ma->setIsRequired( false ); 3006 3007 meta->appendAttribute(ma); 3008 } 3009 3010 // Add attribute: param 3011 { 3012 daeMetaAttribute *ma = new daeMetaAttribute; 3013 ma->setName( "param" ); 3014 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3015 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_op_separate::domFail , attrParam )); 3016 ma->setContainer( meta ); 3017 ma->setIsRequired( false ); 3018 3019 meta->appendAttribute(ma); 3020 } 3021 3022 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_op_separate::domFail)); 3023 meta->validate(); 3024 3025 return meta; 3026 } 3027 3028 daeElementRef 3029 domGl_pipeline_settings::domStencil_op_separate::domZfail::create(DAE& dae) 3030 { 3031 domGl_pipeline_settings::domStencil_op_separate::domZfailRef ref = new domGl_pipeline_settings::domStencil_op_separate::domZfail(dae); 3032 return ref; 3033 } 3034 3035 3036 daeMetaElement * 3037 domGl_pipeline_settings::domStencil_op_separate::domZfail::registerElement(DAE& dae) 3038 { 3039 daeMetaElement* meta = dae.getMeta(ID()); 3040 if ( meta != NULL ) return meta; 3041 3042 meta = new daeMetaElement(dae); 3043 dae.setMeta(ID(), *meta); 3044 meta->setName( "zfail" ); 3045 meta->registerClass(domGl_pipeline_settings::domStencil_op_separate::domZfail::create); 3046 3047 meta->setIsInnerClass( true ); 3048 3049 // Add attribute: value 3050 { 3051 daeMetaAttribute *ma = new daeMetaAttribute; 3052 ma->setName( "value" ); 3053 ma->setType( dae.getAtomicTypes().get("Gl_stencil_op_type")); 3054 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_op_separate::domZfail , attrValue )); 3055 ma->setContainer( meta ); 3056 ma->setDefaultString( "KEEP"); 3057 ma->setIsRequired( false ); 3058 3059 meta->appendAttribute(ma); 3060 } 3061 3062 // Add attribute: param 3063 { 3064 daeMetaAttribute *ma = new daeMetaAttribute; 3065 ma->setName( "param" ); 3066 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3067 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_op_separate::domZfail , attrParam )); 3068 ma->setContainer( meta ); 3069 ma->setIsRequired( false ); 3070 3071 meta->appendAttribute(ma); 3072 } 3073 3074 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_op_separate::domZfail)); 3075 meta->validate(); 3076 3077 return meta; 3078 } 3079 3080 daeElementRef 3081 domGl_pipeline_settings::domStencil_op_separate::domZpass::create(DAE& dae) 3082 { 3083 domGl_pipeline_settings::domStencil_op_separate::domZpassRef ref = new domGl_pipeline_settings::domStencil_op_separate::domZpass(dae); 3084 return ref; 3085 } 3086 3087 3088 daeMetaElement * 3089 domGl_pipeline_settings::domStencil_op_separate::domZpass::registerElement(DAE& dae) 3090 { 3091 daeMetaElement* meta = dae.getMeta(ID()); 3092 if ( meta != NULL ) return meta; 3093 3094 meta = new daeMetaElement(dae); 3095 dae.setMeta(ID(), *meta); 3096 meta->setName( "zpass" ); 3097 meta->registerClass(domGl_pipeline_settings::domStencil_op_separate::domZpass::create); 3098 3099 meta->setIsInnerClass( true ); 3100 3101 // Add attribute: value 3102 { 3103 daeMetaAttribute *ma = new daeMetaAttribute; 3104 ma->setName( "value" ); 3105 ma->setType( dae.getAtomicTypes().get("Gl_stencil_op_type")); 3106 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_op_separate::domZpass , attrValue )); 3107 ma->setContainer( meta ); 3108 ma->setDefaultString( "KEEP"); 3109 ma->setIsRequired( false ); 3110 3111 meta->appendAttribute(ma); 3112 } 3113 3114 // Add attribute: param 3115 { 3116 daeMetaAttribute *ma = new daeMetaAttribute; 3117 ma->setName( "param" ); 3118 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3119 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_op_separate::domZpass , attrParam )); 3120 ma->setContainer( meta ); 3121 ma->setIsRequired( false ); 3122 3123 meta->appendAttribute(ma); 3124 } 3125 3126 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_op_separate::domZpass)); 3127 meta->validate(); 3128 3129 return meta; 3130 } 3131 3132 daeElementRef 3133 domGl_pipeline_settings::domStencil_mask_separate::create(DAE& dae) 3134 { 3135 domGl_pipeline_settings::domStencil_mask_separateRef ref = new domGl_pipeline_settings::domStencil_mask_separate(dae); 3136 return ref; 3137 } 3138 3139 3140 daeMetaElement * 3141 domGl_pipeline_settings::domStencil_mask_separate::registerElement(DAE& dae) 3142 { 3143 daeMetaElement* meta = dae.getMeta(ID()); 3144 if ( meta != NULL ) return meta; 3145 3146 meta = new daeMetaElement(dae); 3147 dae.setMeta(ID(), *meta); 3148 meta->setName( "stencil_mask_separate" ); 3149 meta->registerClass(domGl_pipeline_settings::domStencil_mask_separate::create); 3150 3151 meta->setIsInnerClass( true ); 3152 daeMetaCMPolicy *cm = NULL; 3153 daeMetaElementAttribute *mea = NULL; 3154 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 3155 3156 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 3157 mea->setName( "face" ); 3158 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_mask_separate,elemFace) ); 3159 mea->setElementType( domGl_pipeline_settings::domStencil_mask_separate::domFace::registerElement(dae) ); 3160 cm->appendChild( mea ); 3161 3162 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 ); 3163 mea->setName( "mask" ); 3164 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domStencil_mask_separate,elemMask) ); 3165 mea->setElementType( domGl_pipeline_settings::domStencil_mask_separate::domMask::registerElement(dae) ); 3166 cm->appendChild( mea ); 3167 3168 cm->setMaxOrdinal( 1 ); 3169 meta->setCMRoot( cm ); 3170 3171 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_mask_separate)); 3172 meta->validate(); 3173 3174 return meta; 3175 } 3176 3177 daeElementRef 3178 domGl_pipeline_settings::domStencil_mask_separate::domFace::create(DAE& dae) 3179 { 3180 domGl_pipeline_settings::domStencil_mask_separate::domFaceRef ref = new domGl_pipeline_settings::domStencil_mask_separate::domFace(dae); 3181 return ref; 3182 } 3183 3184 3185 daeMetaElement * 3186 domGl_pipeline_settings::domStencil_mask_separate::domFace::registerElement(DAE& dae) 3187 { 3188 daeMetaElement* meta = dae.getMeta(ID()); 3189 if ( meta != NULL ) return meta; 3190 3191 meta = new daeMetaElement(dae); 3192 dae.setMeta(ID(), *meta); 3193 meta->setName( "face" ); 3194 meta->registerClass(domGl_pipeline_settings::domStencil_mask_separate::domFace::create); 3195 3196 meta->setIsInnerClass( true ); 3197 3198 // Add attribute: value 3199 { 3200 daeMetaAttribute *ma = new daeMetaAttribute; 3201 ma->setName( "value" ); 3202 ma->setType( dae.getAtomicTypes().get("Gl_face_type")); 3203 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_mask_separate::domFace , attrValue )); 3204 ma->setContainer( meta ); 3205 ma->setDefaultString( "FRONT_AND_BACK"); 3206 ma->setIsRequired( false ); 3207 3208 meta->appendAttribute(ma); 3209 } 3210 3211 // Add attribute: param 3212 { 3213 daeMetaAttribute *ma = new daeMetaAttribute; 3214 ma->setName( "param" ); 3215 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3216 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_mask_separate::domFace , attrParam )); 3217 ma->setContainer( meta ); 3218 ma->setIsRequired( false ); 3219 3220 meta->appendAttribute(ma); 3221 } 3222 3223 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_mask_separate::domFace)); 3224 meta->validate(); 3225 3226 return meta; 3227 } 3228 3229 daeElementRef 3230 domGl_pipeline_settings::domStencil_mask_separate::domMask::create(DAE& dae) 3231 { 3232 domGl_pipeline_settings::domStencil_mask_separate::domMaskRef ref = new domGl_pipeline_settings::domStencil_mask_separate::domMask(dae); 3233 return ref; 3234 } 3235 3236 3237 daeMetaElement * 3238 domGl_pipeline_settings::domStencil_mask_separate::domMask::registerElement(DAE& dae) 3239 { 3240 daeMetaElement* meta = dae.getMeta(ID()); 3241 if ( meta != NULL ) return meta; 3242 3243 meta = new daeMetaElement(dae); 3244 dae.setMeta(ID(), *meta); 3245 meta->setName( "mask" ); 3246 meta->registerClass(domGl_pipeline_settings::domStencil_mask_separate::domMask::create); 3247 3248 meta->setIsInnerClass( true ); 3249 3250 // Add attribute: value 3251 { 3252 daeMetaAttribute *ma = new daeMetaAttribute; 3253 ma->setName( "value" ); 3254 ma->setType( dae.getAtomicTypes().get("xsUnsignedByte")); 3255 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_mask_separate::domMask , attrValue )); 3256 ma->setContainer( meta ); 3257 ma->setDefaultString( "255"); 3258 ma->setIsRequired( false ); 3259 3260 meta->appendAttribute(ma); 3261 } 3262 3263 // Add attribute: param 3264 { 3265 daeMetaAttribute *ma = new daeMetaAttribute; 3266 ma->setName( "param" ); 3267 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3268 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_mask_separate::domMask , attrParam )); 3269 ma->setContainer( meta ); 3270 ma->setIsRequired( false ); 3271 3272 meta->appendAttribute(ma); 3273 } 3274 3275 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_mask_separate::domMask)); 3276 meta->validate(); 3277 3278 return meta; 3279 } 3280 3281 daeElementRef 3282 domGl_pipeline_settings::domLight_enable::create(DAE& dae) 3283 { 3284 domGl_pipeline_settings::domLight_enableRef ref = new domGl_pipeline_settings::domLight_enable(dae); 3285 return ref; 3286 } 3287 3288 3289 daeMetaElement * 3290 domGl_pipeline_settings::domLight_enable::registerElement(DAE& dae) 3291 { 3292 daeMetaElement* meta = dae.getMeta(ID()); 3293 if ( meta != NULL ) return meta; 3294 3295 meta = new daeMetaElement(dae); 3296 dae.setMeta(ID(), *meta); 3297 meta->setName( "light_enable" ); 3298 meta->registerClass(domGl_pipeline_settings::domLight_enable::create); 3299 3300 meta->setIsInnerClass( true ); 3301 3302 // Add attribute: value 3303 { 3304 daeMetaAttribute *ma = new daeMetaAttribute; 3305 ma->setName( "value" ); 3306 ma->setType( dae.getAtomicTypes().get("Bool")); 3307 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_enable , attrValue )); 3308 ma->setContainer( meta ); 3309 ma->setDefaultString( "false"); 3310 ma->setIsRequired( false ); 3311 3312 meta->appendAttribute(ma); 3313 } 3314 3315 // Add attribute: param 3316 { 3317 daeMetaAttribute *ma = new daeMetaAttribute; 3318 ma->setName( "param" ); 3319 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3320 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_enable , attrParam )); 3321 ma->setContainer( meta ); 3322 ma->setIsRequired( false ); 3323 3324 meta->appendAttribute(ma); 3325 } 3326 3327 // Add attribute: index 3328 { 3329 daeMetaAttribute *ma = new daeMetaAttribute; 3330 ma->setName( "index" ); 3331 ma->setType( dae.getAtomicTypes().get("GL_MAX_LIGHTS_index")); 3332 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_enable , attrIndex )); 3333 ma->setContainer( meta ); 3334 ma->setIsRequired( true ); 3335 3336 meta->appendAttribute(ma); 3337 } 3338 3339 meta->setElementSize(sizeof(domGl_pipeline_settings::domLight_enable)); 3340 meta->validate(); 3341 3342 return meta; 3343 } 3344 3345 daeElementRef 3346 domGl_pipeline_settings::domLight_ambient::create(DAE& dae) 3347 { 3348 domGl_pipeline_settings::domLight_ambientRef ref = new domGl_pipeline_settings::domLight_ambient(dae); 3349 return ref; 3350 } 3351 3352 3353 daeMetaElement * 3354 domGl_pipeline_settings::domLight_ambient::registerElement(DAE& dae) 3355 { 3356 daeMetaElement* meta = dae.getMeta(ID()); 3357 if ( meta != NULL ) return meta; 3358 3359 meta = new daeMetaElement(dae); 3360 dae.setMeta(ID(), *meta); 3361 meta->setName( "light_ambient" ); 3362 meta->registerClass(domGl_pipeline_settings::domLight_ambient::create); 3363 3364 meta->setIsInnerClass( true ); 3365 3366 // Add attribute: value 3367 { 3368 daeMetaAttribute *ma = new daeMetaArrayAttribute; 3369 ma->setName( "value" ); 3370 ma->setType( dae.getAtomicTypes().get("Float4")); 3371 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_ambient , attrValue )); 3372 ma->setContainer( meta ); 3373 ma->setDefaultString( "0 0 0 1"); 3374 ma->setIsRequired( false ); 3375 3376 meta->appendAttribute(ma); 3377 } 3378 3379 // Add attribute: param 3380 { 3381 daeMetaAttribute *ma = new daeMetaAttribute; 3382 ma->setName( "param" ); 3383 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3384 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_ambient , attrParam )); 3385 ma->setContainer( meta ); 3386 ma->setIsRequired( false ); 3387 3388 meta->appendAttribute(ma); 3389 } 3390 3391 // Add attribute: index 3392 { 3393 daeMetaAttribute *ma = new daeMetaAttribute; 3394 ma->setName( "index" ); 3395 ma->setType( dae.getAtomicTypes().get("GL_MAX_LIGHTS_index")); 3396 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_ambient , attrIndex )); 3397 ma->setContainer( meta ); 3398 ma->setIsRequired( true ); 3399 3400 meta->appendAttribute(ma); 3401 } 3402 3403 meta->setElementSize(sizeof(domGl_pipeline_settings::domLight_ambient)); 3404 meta->validate(); 3405 3406 return meta; 3407 } 3408 3409 daeElementRef 3410 domGl_pipeline_settings::domLight_diffuse::create(DAE& dae) 3411 { 3412 domGl_pipeline_settings::domLight_diffuseRef ref = new domGl_pipeline_settings::domLight_diffuse(dae); 3413 return ref; 3414 } 3415 3416 3417 daeMetaElement * 3418 domGl_pipeline_settings::domLight_diffuse::registerElement(DAE& dae) 3419 { 3420 daeMetaElement* meta = dae.getMeta(ID()); 3421 if ( meta != NULL ) return meta; 3422 3423 meta = new daeMetaElement(dae); 3424 dae.setMeta(ID(), *meta); 3425 meta->setName( "light_diffuse" ); 3426 meta->registerClass(domGl_pipeline_settings::domLight_diffuse::create); 3427 3428 meta->setIsInnerClass( true ); 3429 3430 // Add attribute: value 3431 { 3432 daeMetaAttribute *ma = new daeMetaArrayAttribute; 3433 ma->setName( "value" ); 3434 ma->setType( dae.getAtomicTypes().get("Float4")); 3435 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_diffuse , attrValue )); 3436 ma->setContainer( meta ); 3437 ma->setDefaultString( "0 0 0 0"); 3438 ma->setIsRequired( false ); 3439 3440 meta->appendAttribute(ma); 3441 } 3442 3443 // Add attribute: param 3444 { 3445 daeMetaAttribute *ma = new daeMetaAttribute; 3446 ma->setName( "param" ); 3447 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3448 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_diffuse , attrParam )); 3449 ma->setContainer( meta ); 3450 ma->setIsRequired( false ); 3451 3452 meta->appendAttribute(ma); 3453 } 3454 3455 // Add attribute: index 3456 { 3457 daeMetaAttribute *ma = new daeMetaAttribute; 3458 ma->setName( "index" ); 3459 ma->setType( dae.getAtomicTypes().get("GL_MAX_LIGHTS_index")); 3460 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_diffuse , attrIndex )); 3461 ma->setContainer( meta ); 3462 ma->setIsRequired( true ); 3463 3464 meta->appendAttribute(ma); 3465 } 3466 3467 meta->setElementSize(sizeof(domGl_pipeline_settings::domLight_diffuse)); 3468 meta->validate(); 3469 3470 return meta; 3471 } 3472 3473 daeElementRef 3474 domGl_pipeline_settings::domLight_specular::create(DAE& dae) 3475 { 3476 domGl_pipeline_settings::domLight_specularRef ref = new domGl_pipeline_settings::domLight_specular(dae); 3477 return ref; 3478 } 3479 3480 3481 daeMetaElement * 3482 domGl_pipeline_settings::domLight_specular::registerElement(DAE& dae) 3483 { 3484 daeMetaElement* meta = dae.getMeta(ID()); 3485 if ( meta != NULL ) return meta; 3486 3487 meta = new daeMetaElement(dae); 3488 dae.setMeta(ID(), *meta); 3489 meta->setName( "light_specular" ); 3490 meta->registerClass(domGl_pipeline_settings::domLight_specular::create); 3491 3492 meta->setIsInnerClass( true ); 3493 3494 // Add attribute: value 3495 { 3496 daeMetaAttribute *ma = new daeMetaArrayAttribute; 3497 ma->setName( "value" ); 3498 ma->setType( dae.getAtomicTypes().get("Float4")); 3499 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_specular , attrValue )); 3500 ma->setContainer( meta ); 3501 ma->setDefaultString( "0 0 0 0"); 3502 ma->setIsRequired( false ); 3503 3504 meta->appendAttribute(ma); 3505 } 3506 3507 // Add attribute: param 3508 { 3509 daeMetaAttribute *ma = new daeMetaAttribute; 3510 ma->setName( "param" ); 3511 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3512 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_specular , attrParam )); 3513 ma->setContainer( meta ); 3514 ma->setIsRequired( false ); 3515 3516 meta->appendAttribute(ma); 3517 } 3518 3519 // Add attribute: index 3520 { 3521 daeMetaAttribute *ma = new daeMetaAttribute; 3522 ma->setName( "index" ); 3523 ma->setType( dae.getAtomicTypes().get("GL_MAX_LIGHTS_index")); 3524 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_specular , attrIndex )); 3525 ma->setContainer( meta ); 3526 ma->setIsRequired( true ); 3527 3528 meta->appendAttribute(ma); 3529 } 3530 3531 meta->setElementSize(sizeof(domGl_pipeline_settings::domLight_specular)); 3532 meta->validate(); 3533 3534 return meta; 3535 } 3536 3537 daeElementRef 3538 domGl_pipeline_settings::domLight_position::create(DAE& dae) 3539 { 3540 domGl_pipeline_settings::domLight_positionRef ref = new domGl_pipeline_settings::domLight_position(dae); 3541 return ref; 3542 } 3543 3544 3545 daeMetaElement * 3546 domGl_pipeline_settings::domLight_position::registerElement(DAE& dae) 3547 { 3548 daeMetaElement* meta = dae.getMeta(ID()); 3549 if ( meta != NULL ) return meta; 3550 3551 meta = new daeMetaElement(dae); 3552 dae.setMeta(ID(), *meta); 3553 meta->setName( "light_position" ); 3554 meta->registerClass(domGl_pipeline_settings::domLight_position::create); 3555 3556 meta->setIsInnerClass( true ); 3557 3558 // Add attribute: value 3559 { 3560 daeMetaAttribute *ma = new daeMetaArrayAttribute; 3561 ma->setName( "value" ); 3562 ma->setType( dae.getAtomicTypes().get("Float4")); 3563 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_position , attrValue )); 3564 ma->setContainer( meta ); 3565 ma->setDefaultString( "0 0 1 0"); 3566 ma->setIsRequired( false ); 3567 3568 meta->appendAttribute(ma); 3569 } 3570 3571 // Add attribute: param 3572 { 3573 daeMetaAttribute *ma = new daeMetaAttribute; 3574 ma->setName( "param" ); 3575 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3576 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_position , attrParam )); 3577 ma->setContainer( meta ); 3578 ma->setIsRequired( false ); 3579 3580 meta->appendAttribute(ma); 3581 } 3582 3583 // Add attribute: index 3584 { 3585 daeMetaAttribute *ma = new daeMetaAttribute; 3586 ma->setName( "index" ); 3587 ma->setType( dae.getAtomicTypes().get("GL_MAX_LIGHTS_index")); 3588 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_position , attrIndex )); 3589 ma->setContainer( meta ); 3590 ma->setIsRequired( true ); 3591 3592 meta->appendAttribute(ma); 3593 } 3594 3595 meta->setElementSize(sizeof(domGl_pipeline_settings::domLight_position)); 3596 meta->validate(); 3597 3598 return meta; 3599 } 3600 3601 daeElementRef 3602 domGl_pipeline_settings::domLight_constant_attenuation::create(DAE& dae) 3603 { 3604 domGl_pipeline_settings::domLight_constant_attenuationRef ref = new domGl_pipeline_settings::domLight_constant_attenuation(dae); 3605 return ref; 3606 } 3607 3608 3609 daeMetaElement * 3610 domGl_pipeline_settings::domLight_constant_attenuation::registerElement(DAE& dae) 3611 { 3612 daeMetaElement* meta = dae.getMeta(ID()); 3613 if ( meta != NULL ) return meta; 3614 3615 meta = new daeMetaElement(dae); 3616 dae.setMeta(ID(), *meta); 3617 meta->setName( "light_constant_attenuation" ); 3618 meta->registerClass(domGl_pipeline_settings::domLight_constant_attenuation::create); 3619 3620 meta->setIsInnerClass( true ); 3621 3622 // Add attribute: value 3623 { 3624 daeMetaAttribute *ma = new daeMetaAttribute; 3625 ma->setName( "value" ); 3626 ma->setType( dae.getAtomicTypes().get("Float")); 3627 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_constant_attenuation , attrValue )); 3628 ma->setContainer( meta ); 3629 ma->setDefaultString( "1"); 3630 ma->setIsRequired( false ); 3631 3632 meta->appendAttribute(ma); 3633 } 3634 3635 // Add attribute: param 3636 { 3637 daeMetaAttribute *ma = new daeMetaAttribute; 3638 ma->setName( "param" ); 3639 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3640 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_constant_attenuation , attrParam )); 3641 ma->setContainer( meta ); 3642 ma->setIsRequired( false ); 3643 3644 meta->appendAttribute(ma); 3645 } 3646 3647 // Add attribute: index 3648 { 3649 daeMetaAttribute *ma = new daeMetaAttribute; 3650 ma->setName( "index" ); 3651 ma->setType( dae.getAtomicTypes().get("GL_MAX_LIGHTS_index")); 3652 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_constant_attenuation , attrIndex )); 3653 ma->setContainer( meta ); 3654 ma->setIsRequired( true ); 3655 3656 meta->appendAttribute(ma); 3657 } 3658 3659 meta->setElementSize(sizeof(domGl_pipeline_settings::domLight_constant_attenuation)); 3660 meta->validate(); 3661 3662 return meta; 3663 } 3664 3665 daeElementRef 3666 domGl_pipeline_settings::domLight_linear_attenuation::create(DAE& dae) 3667 { 3668 domGl_pipeline_settings::domLight_linear_attenuationRef ref = new domGl_pipeline_settings::domLight_linear_attenuation(dae); 3669 return ref; 3670 } 3671 3672 3673 daeMetaElement * 3674 domGl_pipeline_settings::domLight_linear_attenuation::registerElement(DAE& dae) 3675 { 3676 daeMetaElement* meta = dae.getMeta(ID()); 3677 if ( meta != NULL ) return meta; 3678 3679 meta = new daeMetaElement(dae); 3680 dae.setMeta(ID(), *meta); 3681 meta->setName( "light_linear_attenuation" ); 3682 meta->registerClass(domGl_pipeline_settings::domLight_linear_attenuation::create); 3683 3684 meta->setIsInnerClass( true ); 3685 3686 // Add attribute: value 3687 { 3688 daeMetaAttribute *ma = new daeMetaAttribute; 3689 ma->setName( "value" ); 3690 ma->setType( dae.getAtomicTypes().get("Float")); 3691 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_linear_attenuation , attrValue )); 3692 ma->setContainer( meta ); 3693 ma->setDefaultString( "0"); 3694 ma->setIsRequired( false ); 3695 3696 meta->appendAttribute(ma); 3697 } 3698 3699 // Add attribute: param 3700 { 3701 daeMetaAttribute *ma = new daeMetaAttribute; 3702 ma->setName( "param" ); 3703 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3704 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_linear_attenuation , attrParam )); 3705 ma->setContainer( meta ); 3706 ma->setIsRequired( false ); 3707 3708 meta->appendAttribute(ma); 3709 } 3710 3711 // Add attribute: index 3712 { 3713 daeMetaAttribute *ma = new daeMetaAttribute; 3714 ma->setName( "index" ); 3715 ma->setType( dae.getAtomicTypes().get("GL_MAX_LIGHTS_index")); 3716 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_linear_attenuation , attrIndex )); 3717 ma->setContainer( meta ); 3718 ma->setIsRequired( true ); 3719 3720 meta->appendAttribute(ma); 3721 } 3722 3723 meta->setElementSize(sizeof(domGl_pipeline_settings::domLight_linear_attenuation)); 3724 meta->validate(); 3725 3726 return meta; 3727 } 3728 3729 daeElementRef 3730 domGl_pipeline_settings::domLight_quadratic_attenuation::create(DAE& dae) 3731 { 3732 domGl_pipeline_settings::domLight_quadratic_attenuationRef ref = new domGl_pipeline_settings::domLight_quadratic_attenuation(dae); 3733 return ref; 3734 } 3735 3736 3737 daeMetaElement * 3738 domGl_pipeline_settings::domLight_quadratic_attenuation::registerElement(DAE& dae) 3739 { 3740 daeMetaElement* meta = dae.getMeta(ID()); 3741 if ( meta != NULL ) return meta; 3742 3743 meta = new daeMetaElement(dae); 3744 dae.setMeta(ID(), *meta); 3745 meta->setName( "light_quadratic_attenuation" ); 3746 meta->registerClass(domGl_pipeline_settings::domLight_quadratic_attenuation::create); 3747 3748 meta->setIsInnerClass( true ); 3749 3750 // Add attribute: value 3751 { 3752 daeMetaAttribute *ma = new daeMetaAttribute; 3753 ma->setName( "value" ); 3754 ma->setType( dae.getAtomicTypes().get("Float")); 3755 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_quadratic_attenuation , attrValue )); 3756 ma->setContainer( meta ); 3757 ma->setDefaultString( "0"); 3758 ma->setIsRequired( false ); 3759 3760 meta->appendAttribute(ma); 3761 } 3762 3763 // Add attribute: param 3764 { 3765 daeMetaAttribute *ma = new daeMetaAttribute; 3766 ma->setName( "param" ); 3767 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3768 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_quadratic_attenuation , attrParam )); 3769 ma->setContainer( meta ); 3770 ma->setIsRequired( false ); 3771 3772 meta->appendAttribute(ma); 3773 } 3774 3775 // Add attribute: index 3776 { 3777 daeMetaAttribute *ma = new daeMetaAttribute; 3778 ma->setName( "index" ); 3779 ma->setType( dae.getAtomicTypes().get("GL_MAX_LIGHTS_index")); 3780 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_quadratic_attenuation , attrIndex )); 3781 ma->setContainer( meta ); 3782 ma->setIsRequired( true ); 3783 3784 meta->appendAttribute(ma); 3785 } 3786 3787 meta->setElementSize(sizeof(domGl_pipeline_settings::domLight_quadratic_attenuation)); 3788 meta->validate(); 3789 3790 return meta; 3791 } 3792 3793 daeElementRef 3794 domGl_pipeline_settings::domLight_spot_cutoff::create(DAE& dae) 3795 { 3796 domGl_pipeline_settings::domLight_spot_cutoffRef ref = new domGl_pipeline_settings::domLight_spot_cutoff(dae); 3797 return ref; 3798 } 3799 3800 3801 daeMetaElement * 3802 domGl_pipeline_settings::domLight_spot_cutoff::registerElement(DAE& dae) 3803 { 3804 daeMetaElement* meta = dae.getMeta(ID()); 3805 if ( meta != NULL ) return meta; 3806 3807 meta = new daeMetaElement(dae); 3808 dae.setMeta(ID(), *meta); 3809 meta->setName( "light_spot_cutoff" ); 3810 meta->registerClass(domGl_pipeline_settings::domLight_spot_cutoff::create); 3811 3812 meta->setIsInnerClass( true ); 3813 3814 // Add attribute: value 3815 { 3816 daeMetaAttribute *ma = new daeMetaAttribute; 3817 ma->setName( "value" ); 3818 ma->setType( dae.getAtomicTypes().get("Float")); 3819 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_spot_cutoff , attrValue )); 3820 ma->setContainer( meta ); 3821 ma->setDefaultString( "180"); 3822 ma->setIsRequired( false ); 3823 3824 meta->appendAttribute(ma); 3825 } 3826 3827 // Add attribute: param 3828 { 3829 daeMetaAttribute *ma = new daeMetaAttribute; 3830 ma->setName( "param" ); 3831 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3832 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_spot_cutoff , attrParam )); 3833 ma->setContainer( meta ); 3834 ma->setIsRequired( false ); 3835 3836 meta->appendAttribute(ma); 3837 } 3838 3839 // Add attribute: index 3840 { 3841 daeMetaAttribute *ma = new daeMetaAttribute; 3842 ma->setName( "index" ); 3843 ma->setType( dae.getAtomicTypes().get("GL_MAX_LIGHTS_index")); 3844 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_spot_cutoff , attrIndex )); 3845 ma->setContainer( meta ); 3846 ma->setIsRequired( true ); 3847 3848 meta->appendAttribute(ma); 3849 } 3850 3851 meta->setElementSize(sizeof(domGl_pipeline_settings::domLight_spot_cutoff)); 3852 meta->validate(); 3853 3854 return meta; 3855 } 3856 3857 daeElementRef 3858 domGl_pipeline_settings::domLight_spot_direction::create(DAE& dae) 3859 { 3860 domGl_pipeline_settings::domLight_spot_directionRef ref = new domGl_pipeline_settings::domLight_spot_direction(dae); 3861 return ref; 3862 } 3863 3864 3865 daeMetaElement * 3866 domGl_pipeline_settings::domLight_spot_direction::registerElement(DAE& dae) 3867 { 3868 daeMetaElement* meta = dae.getMeta(ID()); 3869 if ( meta != NULL ) return meta; 3870 3871 meta = new daeMetaElement(dae); 3872 dae.setMeta(ID(), *meta); 3873 meta->setName( "light_spot_direction" ); 3874 meta->registerClass(domGl_pipeline_settings::domLight_spot_direction::create); 3875 3876 meta->setIsInnerClass( true ); 3877 3878 // Add attribute: value 3879 { 3880 daeMetaAttribute *ma = new daeMetaArrayAttribute; 3881 ma->setName( "value" ); 3882 ma->setType( dae.getAtomicTypes().get("Float3")); 3883 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_spot_direction , attrValue )); 3884 ma->setContainer( meta ); 3885 ma->setDefaultString( "0 0 -1"); 3886 ma->setIsRequired( false ); 3887 3888 meta->appendAttribute(ma); 3889 } 3890 3891 // Add attribute: param 3892 { 3893 daeMetaAttribute *ma = new daeMetaAttribute; 3894 ma->setName( "param" ); 3895 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3896 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_spot_direction , attrParam )); 3897 ma->setContainer( meta ); 3898 ma->setIsRequired( false ); 3899 3900 meta->appendAttribute(ma); 3901 } 3902 3903 // Add attribute: index 3904 { 3905 daeMetaAttribute *ma = new daeMetaAttribute; 3906 ma->setName( "index" ); 3907 ma->setType( dae.getAtomicTypes().get("GL_MAX_LIGHTS_index")); 3908 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_spot_direction , attrIndex )); 3909 ma->setContainer( meta ); 3910 ma->setIsRequired( true ); 3911 3912 meta->appendAttribute(ma); 3913 } 3914 3915 meta->setElementSize(sizeof(domGl_pipeline_settings::domLight_spot_direction)); 3916 meta->validate(); 3917 3918 return meta; 3919 } 3920 3921 daeElementRef 3922 domGl_pipeline_settings::domLight_spot_exponent::create(DAE& dae) 3923 { 3924 domGl_pipeline_settings::domLight_spot_exponentRef ref = new domGl_pipeline_settings::domLight_spot_exponent(dae); 3925 return ref; 3926 } 3927 3928 3929 daeMetaElement * 3930 domGl_pipeline_settings::domLight_spot_exponent::registerElement(DAE& dae) 3931 { 3932 daeMetaElement* meta = dae.getMeta(ID()); 3933 if ( meta != NULL ) return meta; 3934 3935 meta = new daeMetaElement(dae); 3936 dae.setMeta(ID(), *meta); 3937 meta->setName( "light_spot_exponent" ); 3938 meta->registerClass(domGl_pipeline_settings::domLight_spot_exponent::create); 3939 3940 meta->setIsInnerClass( true ); 3941 3942 // Add attribute: value 3943 { 3944 daeMetaAttribute *ma = new daeMetaAttribute; 3945 ma->setName( "value" ); 3946 ma->setType( dae.getAtomicTypes().get("Float")); 3947 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_spot_exponent , attrValue )); 3948 ma->setContainer( meta ); 3949 ma->setDefaultString( "0"); 3950 ma->setIsRequired( false ); 3951 3952 meta->appendAttribute(ma); 3953 } 3954 3955 // Add attribute: param 3956 { 3957 daeMetaAttribute *ma = new daeMetaAttribute; 3958 ma->setName( "param" ); 3959 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3960 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_spot_exponent , attrParam )); 3961 ma->setContainer( meta ); 3962 ma->setIsRequired( false ); 3963 3964 meta->appendAttribute(ma); 3965 } 3966 3967 // Add attribute: index 3968 { 3969 daeMetaAttribute *ma = new daeMetaAttribute; 3970 ma->setName( "index" ); 3971 ma->setType( dae.getAtomicTypes().get("GL_MAX_LIGHTS_index")); 3972 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_spot_exponent , attrIndex )); 3973 ma->setContainer( meta ); 3974 ma->setIsRequired( true ); 3975 3976 meta->appendAttribute(ma); 3977 } 3978 3979 meta->setElementSize(sizeof(domGl_pipeline_settings::domLight_spot_exponent)); 3980 meta->validate(); 3981 3982 return meta; 3983 } 3984 3985 daeElementRef 3986 domGl_pipeline_settings::domTexture1D::create(DAE& dae) 3987 { 3988 domGl_pipeline_settings::domTexture1DRef ref = new domGl_pipeline_settings::domTexture1D(dae); 3989 return ref; 3990 } 3991 3992 3993 daeMetaElement * 3994 domGl_pipeline_settings::domTexture1D::registerElement(DAE& dae) 3995 { 3996 daeMetaElement* meta = dae.getMeta(ID()); 3997 if ( meta != NULL ) return meta; 3998 3999 meta = new daeMetaElement(dae); 4000 dae.setMeta(ID(), *meta); 4001 meta->setName( "texture1D" ); 4002 meta->registerClass(domGl_pipeline_settings::domTexture1D::create); 4003 4004 meta->setIsInnerClass( true ); 4005 daeMetaCMPolicy *cm = NULL; 4006 daeMetaElementAttribute *mea = NULL; 4007 cm = new daeMetaChoice( meta, cm, 0, 0, 1, 1 ); 4008 4009 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 4010 mea->setName( "value" ); 4011 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domTexture1D,elemValue) ); 4012 mea->setElementType( domGl_sampler1D::registerElement(dae) ); 4013 cm->appendChild( mea ); 4014 4015 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 4016 mea->setName( "param" ); 4017 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domTexture1D,elemParam) ); 4018 mea->setElementType( domGl_pipeline_settings::domTexture1D::domParam::registerElement(dae) ); 4019 cm->appendChild( mea ); 4020 4021 cm->setMaxOrdinal( 0 ); 4022 meta->setCMRoot( cm ); 4023 // Ordered list of sub-elements 4024 meta->addContents(daeOffsetOf(domGl_pipeline_settings::domTexture1D,_contents)); 4025 meta->addContentsOrder(daeOffsetOf(domGl_pipeline_settings::domTexture1D,_contentsOrder)); 4026 4027 meta->addCMDataArray(daeOffsetOf(domGl_pipeline_settings::domTexture1D,_CMData), 1); 4028 // Add attribute: index 4029 { 4030 daeMetaAttribute *ma = new daeMetaAttribute; 4031 ma->setName( "index" ); 4032 ma->setType( dae.getAtomicTypes().get("GL_MAX_TEXTURE_IMAGE_UNITS_index")); 4033 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture1D , attrIndex )); 4034 ma->setContainer( meta ); 4035 ma->setIsRequired( true ); 4036 4037 meta->appendAttribute(ma); 4038 } 4039 4040 meta->setElementSize(sizeof(domGl_pipeline_settings::domTexture1D)); 4041 meta->validate(); 4042 4043 return meta; 4044 } 4045 4046 daeElementRef 4047 domGl_pipeline_settings::domTexture1D::domParam::create(DAE& dae) 4048 { 4049 domGl_pipeline_settings::domTexture1D::domParamRef ref = new domGl_pipeline_settings::domTexture1D::domParam(dae); 4050 return ref; 4051 } 4052 4053 4054 daeMetaElement * 4055 domGl_pipeline_settings::domTexture1D::domParam::registerElement(DAE& dae) 4056 { 4057 daeMetaElement* meta = dae.getMeta(ID()); 4058 if ( meta != NULL ) return meta; 4059 4060 meta = new daeMetaElement(dae); 4061 dae.setMeta(ID(), *meta); 4062 meta->setName( "param" ); 4063 meta->registerClass(domGl_pipeline_settings::domTexture1D::domParam::create); 4064 4065 meta->setIsInnerClass( true ); 4066 // Add attribute: _value 4067 { 4068 daeMetaAttribute *ma = new daeMetaAttribute; 4069 ma->setName( "_value" ); 4070 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4071 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture1D::domParam , _value )); 4072 ma->setContainer( meta ); 4073 meta->appendAttribute(ma); 4074 } 4075 4076 meta->setElementSize(sizeof(domGl_pipeline_settings::domTexture1D::domParam)); 4077 meta->validate(); 4078 4079 return meta; 4080 } 4081 4082 daeElementRef 4083 domGl_pipeline_settings::domTexture2D::create(DAE& dae) 4084 { 4085 domGl_pipeline_settings::domTexture2DRef ref = new domGl_pipeline_settings::domTexture2D(dae); 4086 return ref; 4087 } 4088 4089 4090 daeMetaElement * 4091 domGl_pipeline_settings::domTexture2D::registerElement(DAE& dae) 4092 { 4093 daeMetaElement* meta = dae.getMeta(ID()); 4094 if ( meta != NULL ) return meta; 4095 4096 meta = new daeMetaElement(dae); 4097 dae.setMeta(ID(), *meta); 4098 meta->setName( "texture2D" ); 4099 meta->registerClass(domGl_pipeline_settings::domTexture2D::create); 4100 4101 meta->setIsInnerClass( true ); 4102 daeMetaCMPolicy *cm = NULL; 4103 daeMetaElementAttribute *mea = NULL; 4104 cm = new daeMetaChoice( meta, cm, 0, 0, 1, 1 ); 4105 4106 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 4107 mea->setName( "value" ); 4108 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domTexture2D,elemValue) ); 4109 mea->setElementType( domGl_sampler2D::registerElement(dae) ); 4110 cm->appendChild( mea ); 4111 4112 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 4113 mea->setName( "param" ); 4114 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domTexture2D,elemParam) ); 4115 mea->setElementType( domGl_pipeline_settings::domTexture2D::domParam::registerElement(dae) ); 4116 cm->appendChild( mea ); 4117 4118 cm->setMaxOrdinal( 0 ); 4119 meta->setCMRoot( cm ); 4120 // Ordered list of sub-elements 4121 meta->addContents(daeOffsetOf(domGl_pipeline_settings::domTexture2D,_contents)); 4122 meta->addContentsOrder(daeOffsetOf(domGl_pipeline_settings::domTexture2D,_contentsOrder)); 4123 4124 meta->addCMDataArray(daeOffsetOf(domGl_pipeline_settings::domTexture2D,_CMData), 1); 4125 // Add attribute: index 4126 { 4127 daeMetaAttribute *ma = new daeMetaAttribute; 4128 ma->setName( "index" ); 4129 ma->setType( dae.getAtomicTypes().get("GL_MAX_TEXTURE_IMAGE_UNITS_index")); 4130 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture2D , attrIndex )); 4131 ma->setContainer( meta ); 4132 ma->setIsRequired( true ); 4133 4134 meta->appendAttribute(ma); 4135 } 4136 4137 meta->setElementSize(sizeof(domGl_pipeline_settings::domTexture2D)); 4138 meta->validate(); 4139 4140 return meta; 4141 } 4142 4143 daeElementRef 4144 domGl_pipeline_settings::domTexture2D::domParam::create(DAE& dae) 4145 { 4146 domGl_pipeline_settings::domTexture2D::domParamRef ref = new domGl_pipeline_settings::domTexture2D::domParam(dae); 4147 return ref; 4148 } 4149 4150 4151 daeMetaElement * 4152 domGl_pipeline_settings::domTexture2D::domParam::registerElement(DAE& dae) 4153 { 4154 daeMetaElement* meta = dae.getMeta(ID()); 4155 if ( meta != NULL ) return meta; 4156 4157 meta = new daeMetaElement(dae); 4158 dae.setMeta(ID(), *meta); 4159 meta->setName( "param" ); 4160 meta->registerClass(domGl_pipeline_settings::domTexture2D::domParam::create); 4161 4162 meta->setIsInnerClass( true ); 4163 // Add attribute: _value 4164 { 4165 daeMetaAttribute *ma = new daeMetaAttribute; 4166 ma->setName( "_value" ); 4167 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4168 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture2D::domParam , _value )); 4169 ma->setContainer( meta ); 4170 meta->appendAttribute(ma); 4171 } 4172 4173 meta->setElementSize(sizeof(domGl_pipeline_settings::domTexture2D::domParam)); 4174 meta->validate(); 4175 4176 return meta; 4177 } 4178 4179 daeElementRef 4180 domGl_pipeline_settings::domTexture3D::create(DAE& dae) 4181 { 4182 domGl_pipeline_settings::domTexture3DRef ref = new domGl_pipeline_settings::domTexture3D(dae); 4183 return ref; 4184 } 4185 4186 4187 daeMetaElement * 4188 domGl_pipeline_settings::domTexture3D::registerElement(DAE& dae) 4189 { 4190 daeMetaElement* meta = dae.getMeta(ID()); 4191 if ( meta != NULL ) return meta; 4192 4193 meta = new daeMetaElement(dae); 4194 dae.setMeta(ID(), *meta); 4195 meta->setName( "texture3D" ); 4196 meta->registerClass(domGl_pipeline_settings::domTexture3D::create); 4197 4198 meta->setIsInnerClass( true ); 4199 daeMetaCMPolicy *cm = NULL; 4200 daeMetaElementAttribute *mea = NULL; 4201 cm = new daeMetaChoice( meta, cm, 0, 0, 1, 1 ); 4202 4203 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 4204 mea->setName( "value" ); 4205 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domTexture3D,elemValue) ); 4206 mea->setElementType( domGl_sampler3D::registerElement(dae) ); 4207 cm->appendChild( mea ); 4208 4209 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 4210 mea->setName( "param" ); 4211 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domTexture3D,elemParam) ); 4212 mea->setElementType( domGl_pipeline_settings::domTexture3D::domParam::registerElement(dae) ); 4213 cm->appendChild( mea ); 4214 4215 cm->setMaxOrdinal( 0 ); 4216 meta->setCMRoot( cm ); 4217 // Ordered list of sub-elements 4218 meta->addContents(daeOffsetOf(domGl_pipeline_settings::domTexture3D,_contents)); 4219 meta->addContentsOrder(daeOffsetOf(domGl_pipeline_settings::domTexture3D,_contentsOrder)); 4220 4221 meta->addCMDataArray(daeOffsetOf(domGl_pipeline_settings::domTexture3D,_CMData), 1); 4222 // Add attribute: index 4223 { 4224 daeMetaAttribute *ma = new daeMetaAttribute; 4225 ma->setName( "index" ); 4226 ma->setType( dae.getAtomicTypes().get("GL_MAX_TEXTURE_IMAGE_UNITS_index")); 4227 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture3D , attrIndex )); 4228 ma->setContainer( meta ); 4229 ma->setIsRequired( true ); 4230 4231 meta->appendAttribute(ma); 4232 } 4233 4234 meta->setElementSize(sizeof(domGl_pipeline_settings::domTexture3D)); 4235 meta->validate(); 4236 4237 return meta; 4238 } 4239 4240 daeElementRef 4241 domGl_pipeline_settings::domTexture3D::domParam::create(DAE& dae) 4242 { 4243 domGl_pipeline_settings::domTexture3D::domParamRef ref = new domGl_pipeline_settings::domTexture3D::domParam(dae); 4244 return ref; 4245 } 4246 4247 4248 daeMetaElement * 4249 domGl_pipeline_settings::domTexture3D::domParam::registerElement(DAE& dae) 4250 { 4251 daeMetaElement* meta = dae.getMeta(ID()); 4252 if ( meta != NULL ) return meta; 4253 4254 meta = new daeMetaElement(dae); 4255 dae.setMeta(ID(), *meta); 4256 meta->setName( "param" ); 4257 meta->registerClass(domGl_pipeline_settings::domTexture3D::domParam::create); 4258 4259 meta->setIsInnerClass( true ); 4260 // Add attribute: _value 4261 { 4262 daeMetaAttribute *ma = new daeMetaAttribute; 4263 ma->setName( "_value" ); 4264 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4265 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture3D::domParam , _value )); 4266 ma->setContainer( meta ); 4267 meta->appendAttribute(ma); 4268 } 4269 4270 meta->setElementSize(sizeof(domGl_pipeline_settings::domTexture3D::domParam)); 4271 meta->validate(); 4272 4273 return meta; 4274 } 4275 4276 daeElementRef 4277 domGl_pipeline_settings::domTextureCUBE::create(DAE& dae) 4278 { 4279 domGl_pipeline_settings::domTextureCUBERef ref = new domGl_pipeline_settings::domTextureCUBE(dae); 4280 return ref; 4281 } 4282 4283 4284 daeMetaElement * 4285 domGl_pipeline_settings::domTextureCUBE::registerElement(DAE& dae) 4286 { 4287 daeMetaElement* meta = dae.getMeta(ID()); 4288 if ( meta != NULL ) return meta; 4289 4290 meta = new daeMetaElement(dae); 4291 dae.setMeta(ID(), *meta); 4292 meta->setName( "textureCUBE" ); 4293 meta->registerClass(domGl_pipeline_settings::domTextureCUBE::create); 4294 4295 meta->setIsInnerClass( true ); 4296 daeMetaCMPolicy *cm = NULL; 4297 daeMetaElementAttribute *mea = NULL; 4298 cm = new daeMetaChoice( meta, cm, 0, 0, 1, 1 ); 4299 4300 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 4301 mea->setName( "value" ); 4302 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domTextureCUBE,elemValue) ); 4303 mea->setElementType( domGl_samplerCUBE::registerElement(dae) ); 4304 cm->appendChild( mea ); 4305 4306 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 4307 mea->setName( "param" ); 4308 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domTextureCUBE,elemParam) ); 4309 mea->setElementType( domGl_pipeline_settings::domTextureCUBE::domParam::registerElement(dae) ); 4310 cm->appendChild( mea ); 4311 4312 cm->setMaxOrdinal( 0 ); 4313 meta->setCMRoot( cm ); 4314 // Ordered list of sub-elements 4315 meta->addContents(daeOffsetOf(domGl_pipeline_settings::domTextureCUBE,_contents)); 4316 meta->addContentsOrder(daeOffsetOf(domGl_pipeline_settings::domTextureCUBE,_contentsOrder)); 4317 4318 meta->addCMDataArray(daeOffsetOf(domGl_pipeline_settings::domTextureCUBE,_CMData), 1); 4319 // Add attribute: index 4320 { 4321 daeMetaAttribute *ma = new daeMetaAttribute; 4322 ma->setName( "index" ); 4323 ma->setType( dae.getAtomicTypes().get("GL_MAX_TEXTURE_IMAGE_UNITS_index")); 4324 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTextureCUBE , attrIndex )); 4325 ma->setContainer( meta ); 4326 ma->setIsRequired( true ); 4327 4328 meta->appendAttribute(ma); 4329 } 4330 4331 meta->setElementSize(sizeof(domGl_pipeline_settings::domTextureCUBE)); 4332 meta->validate(); 4333 4334 return meta; 4335 } 4336 4337 daeElementRef 4338 domGl_pipeline_settings::domTextureCUBE::domParam::create(DAE& dae) 4339 { 4340 domGl_pipeline_settings::domTextureCUBE::domParamRef ref = new domGl_pipeline_settings::domTextureCUBE::domParam(dae); 4341 return ref; 4342 } 4343 4344 4345 daeMetaElement * 4346 domGl_pipeline_settings::domTextureCUBE::domParam::registerElement(DAE& dae) 4347 { 4348 daeMetaElement* meta = dae.getMeta(ID()); 4349 if ( meta != NULL ) return meta; 4350 4351 meta = new daeMetaElement(dae); 4352 dae.setMeta(ID(), *meta); 4353 meta->setName( "param" ); 4354 meta->registerClass(domGl_pipeline_settings::domTextureCUBE::domParam::create); 4355 4356 meta->setIsInnerClass( true ); 4357 // Add attribute: _value 4358 { 4359 daeMetaAttribute *ma = new daeMetaAttribute; 4360 ma->setName( "_value" ); 4361 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4362 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTextureCUBE::domParam , _value )); 4363 ma->setContainer( meta ); 4364 meta->appendAttribute(ma); 4365 } 4366 4367 meta->setElementSize(sizeof(domGl_pipeline_settings::domTextureCUBE::domParam)); 4368 meta->validate(); 4369 4370 return meta; 4371 } 4372 4373 daeElementRef 4374 domGl_pipeline_settings::domTextureRECT::create(DAE& dae) 4375 { 4376 domGl_pipeline_settings::domTextureRECTRef ref = new domGl_pipeline_settings::domTextureRECT(dae); 4377 return ref; 4378 } 4379 4380 4381 daeMetaElement * 4382 domGl_pipeline_settings::domTextureRECT::registerElement(DAE& dae) 4383 { 4384 daeMetaElement* meta = dae.getMeta(ID()); 4385 if ( meta != NULL ) return meta; 4386 4387 meta = new daeMetaElement(dae); 4388 dae.setMeta(ID(), *meta); 4389 meta->setName( "textureRECT" ); 4390 meta->registerClass(domGl_pipeline_settings::domTextureRECT::create); 4391 4392 meta->setIsInnerClass( true ); 4393 daeMetaCMPolicy *cm = NULL; 4394 daeMetaElementAttribute *mea = NULL; 4395 cm = new daeMetaChoice( meta, cm, 0, 0, 1, 1 ); 4396 4397 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 4398 mea->setName( "value" ); 4399 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domTextureRECT,elemValue) ); 4400 mea->setElementType( domGl_samplerRECT::registerElement(dae) ); 4401 cm->appendChild( mea ); 4402 4403 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 4404 mea->setName( "param" ); 4405 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domTextureRECT,elemParam) ); 4406 mea->setElementType( domGl_pipeline_settings::domTextureRECT::domParam::registerElement(dae) ); 4407 cm->appendChild( mea ); 4408 4409 cm->setMaxOrdinal( 0 ); 4410 meta->setCMRoot( cm ); 4411 // Ordered list of sub-elements 4412 meta->addContents(daeOffsetOf(domGl_pipeline_settings::domTextureRECT,_contents)); 4413 meta->addContentsOrder(daeOffsetOf(domGl_pipeline_settings::domTextureRECT,_contentsOrder)); 4414 4415 meta->addCMDataArray(daeOffsetOf(domGl_pipeline_settings::domTextureRECT,_CMData), 1); 4416 // Add attribute: index 4417 { 4418 daeMetaAttribute *ma = new daeMetaAttribute; 4419 ma->setName( "index" ); 4420 ma->setType( dae.getAtomicTypes().get("GL_MAX_TEXTURE_IMAGE_UNITS_index")); 4421 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTextureRECT , attrIndex )); 4422 ma->setContainer( meta ); 4423 ma->setIsRequired( true ); 4424 4425 meta->appendAttribute(ma); 4426 } 4427 4428 meta->setElementSize(sizeof(domGl_pipeline_settings::domTextureRECT)); 4429 meta->validate(); 4430 4431 return meta; 4432 } 4433 4434 daeElementRef 4435 domGl_pipeline_settings::domTextureRECT::domParam::create(DAE& dae) 4436 { 4437 domGl_pipeline_settings::domTextureRECT::domParamRef ref = new domGl_pipeline_settings::domTextureRECT::domParam(dae); 4438 return ref; 4439 } 4440 4441 4442 daeMetaElement * 4443 domGl_pipeline_settings::domTextureRECT::domParam::registerElement(DAE& dae) 4444 { 4445 daeMetaElement* meta = dae.getMeta(ID()); 4446 if ( meta != NULL ) return meta; 4447 4448 meta = new daeMetaElement(dae); 4449 dae.setMeta(ID(), *meta); 4450 meta->setName( "param" ); 4451 meta->registerClass(domGl_pipeline_settings::domTextureRECT::domParam::create); 4452 4453 meta->setIsInnerClass( true ); 4454 // Add attribute: _value 4455 { 4456 daeMetaAttribute *ma = new daeMetaAttribute; 4457 ma->setName( "_value" ); 4458 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4459 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTextureRECT::domParam , _value )); 4460 ma->setContainer( meta ); 4461 meta->appendAttribute(ma); 4462 } 4463 4464 meta->setElementSize(sizeof(domGl_pipeline_settings::domTextureRECT::domParam)); 4465 meta->validate(); 4466 4467 return meta; 4468 } 4469 4470 daeElementRef 4471 domGl_pipeline_settings::domTextureDEPTH::create(DAE& dae) 4472 { 4473 domGl_pipeline_settings::domTextureDEPTHRef ref = new domGl_pipeline_settings::domTextureDEPTH(dae); 4474 return ref; 4475 } 4476 4477 4478 daeMetaElement * 4479 domGl_pipeline_settings::domTextureDEPTH::registerElement(DAE& dae) 4480 { 4481 daeMetaElement* meta = dae.getMeta(ID()); 4482 if ( meta != NULL ) return meta; 4483 4484 meta = new daeMetaElement(dae); 4485 dae.setMeta(ID(), *meta); 4486 meta->setName( "textureDEPTH" ); 4487 meta->registerClass(domGl_pipeline_settings::domTextureDEPTH::create); 4488 4489 meta->setIsInnerClass( true ); 4490 daeMetaCMPolicy *cm = NULL; 4491 daeMetaElementAttribute *mea = NULL; 4492 cm = new daeMetaChoice( meta, cm, 0, 0, 1, 1 ); 4493 4494 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 4495 mea->setName( "value" ); 4496 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domTextureDEPTH,elemValue) ); 4497 mea->setElementType( domGl_samplerDEPTH::registerElement(dae) ); 4498 cm->appendChild( mea ); 4499 4500 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 4501 mea->setName( "param" ); 4502 mea->setOffset( daeOffsetOf(domGl_pipeline_settings::domTextureDEPTH,elemParam) ); 4503 mea->setElementType( domGl_pipeline_settings::domTextureDEPTH::domParam::registerElement(dae) ); 4504 cm->appendChild( mea ); 4505 4506 cm->setMaxOrdinal( 0 ); 4507 meta->setCMRoot( cm ); 4508 // Ordered list of sub-elements 4509 meta->addContents(daeOffsetOf(domGl_pipeline_settings::domTextureDEPTH,_contents)); 4510 meta->addContentsOrder(daeOffsetOf(domGl_pipeline_settings::domTextureDEPTH,_contentsOrder)); 4511 4512 meta->addCMDataArray(daeOffsetOf(domGl_pipeline_settings::domTextureDEPTH,_CMData), 1); 4513 // Add attribute: index 4514 { 4515 daeMetaAttribute *ma = new daeMetaAttribute; 4516 ma->setName( "index" ); 4517 ma->setType( dae.getAtomicTypes().get("GL_MAX_TEXTURE_IMAGE_UNITS_index")); 4518 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTextureDEPTH , attrIndex )); 4519 ma->setContainer( meta ); 4520 ma->setIsRequired( true ); 4521 4522 meta->appendAttribute(ma); 4523 } 4524 4525 meta->setElementSize(sizeof(domGl_pipeline_settings::domTextureDEPTH)); 4526 meta->validate(); 4527 4528 return meta; 4529 } 4530 4531 daeElementRef 4532 domGl_pipeline_settings::domTextureDEPTH::domParam::create(DAE& dae) 4533 { 4534 domGl_pipeline_settings::domTextureDEPTH::domParamRef ref = new domGl_pipeline_settings::domTextureDEPTH::domParam(dae); 4535 return ref; 4536 } 4537 4538 4539 daeMetaElement * 4540 domGl_pipeline_settings::domTextureDEPTH::domParam::registerElement(DAE& dae) 4541 { 4542 daeMetaElement* meta = dae.getMeta(ID()); 4543 if ( meta != NULL ) return meta; 4544 4545 meta = new daeMetaElement(dae); 4546 dae.setMeta(ID(), *meta); 4547 meta->setName( "param" ); 4548 meta->registerClass(domGl_pipeline_settings::domTextureDEPTH::domParam::create); 4549 4550 meta->setIsInnerClass( true ); 4551 // Add attribute: _value 4552 { 4553 daeMetaAttribute *ma = new daeMetaAttribute; 4554 ma->setName( "_value" ); 4555 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4556 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTextureDEPTH::domParam , _value )); 4557 ma->setContainer( meta ); 4558 meta->appendAttribute(ma); 4559 } 4560 4561 meta->setElementSize(sizeof(domGl_pipeline_settings::domTextureDEPTH::domParam)); 4562 meta->validate(); 4563 4564 return meta; 4565 } 4566 4567 daeElementRef 4568 domGl_pipeline_settings::domTexture1D_enable::create(DAE& dae) 4569 { 4570 domGl_pipeline_settings::domTexture1D_enableRef ref = new domGl_pipeline_settings::domTexture1D_enable(dae); 4571 return ref; 4572 } 4573 4574 4575 daeMetaElement * 4576 domGl_pipeline_settings::domTexture1D_enable::registerElement(DAE& dae) 4577 { 4578 daeMetaElement* meta = dae.getMeta(ID()); 4579 if ( meta != NULL ) return meta; 4580 4581 meta = new daeMetaElement(dae); 4582 dae.setMeta(ID(), *meta); 4583 meta->setName( "texture1D_enable" ); 4584 meta->registerClass(domGl_pipeline_settings::domTexture1D_enable::create); 4585 4586 meta->setIsInnerClass( true ); 4587 4588 // Add attribute: value 4589 { 4590 daeMetaAttribute *ma = new daeMetaAttribute; 4591 ma->setName( "value" ); 4592 ma->setType( dae.getAtomicTypes().get("Bool")); 4593 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture1D_enable , attrValue )); 4594 ma->setContainer( meta ); 4595 ma->setDefaultString( "false"); 4596 ma->setIsRequired( false ); 4597 4598 meta->appendAttribute(ma); 4599 } 4600 4601 // Add attribute: param 4602 { 4603 daeMetaAttribute *ma = new daeMetaAttribute; 4604 ma->setName( "param" ); 4605 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4606 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture1D_enable , attrParam )); 4607 ma->setContainer( meta ); 4608 ma->setIsRequired( false ); 4609 4610 meta->appendAttribute(ma); 4611 } 4612 4613 // Add attribute: index 4614 { 4615 daeMetaAttribute *ma = new daeMetaAttribute; 4616 ma->setName( "index" ); 4617 ma->setType( dae.getAtomicTypes().get("GL_MAX_TEXTURE_IMAGE_UNITS_index")); 4618 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture1D_enable , attrIndex )); 4619 ma->setContainer( meta ); 4620 4621 meta->appendAttribute(ma); 4622 } 4623 4624 meta->setElementSize(sizeof(domGl_pipeline_settings::domTexture1D_enable)); 4625 meta->validate(); 4626 4627 return meta; 4628 } 4629 4630 daeElementRef 4631 domGl_pipeline_settings::domTexture2D_enable::create(DAE& dae) 4632 { 4633 domGl_pipeline_settings::domTexture2D_enableRef ref = new domGl_pipeline_settings::domTexture2D_enable(dae); 4634 return ref; 4635 } 4636 4637 4638 daeMetaElement * 4639 domGl_pipeline_settings::domTexture2D_enable::registerElement(DAE& dae) 4640 { 4641 daeMetaElement* meta = dae.getMeta(ID()); 4642 if ( meta != NULL ) return meta; 4643 4644 meta = new daeMetaElement(dae); 4645 dae.setMeta(ID(), *meta); 4646 meta->setName( "texture2D_enable" ); 4647 meta->registerClass(domGl_pipeline_settings::domTexture2D_enable::create); 4648 4649 meta->setIsInnerClass( true ); 4650 4651 // Add attribute: value 4652 { 4653 daeMetaAttribute *ma = new daeMetaAttribute; 4654 ma->setName( "value" ); 4655 ma->setType( dae.getAtomicTypes().get("Bool")); 4656 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture2D_enable , attrValue )); 4657 ma->setContainer( meta ); 4658 ma->setDefaultString( "false"); 4659 ma->setIsRequired( false ); 4660 4661 meta->appendAttribute(ma); 4662 } 4663 4664 // Add attribute: param 4665 { 4666 daeMetaAttribute *ma = new daeMetaAttribute; 4667 ma->setName( "param" ); 4668 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4669 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture2D_enable , attrParam )); 4670 ma->setContainer( meta ); 4671 ma->setIsRequired( false ); 4672 4673 meta->appendAttribute(ma); 4674 } 4675 4676 // Add attribute: index 4677 { 4678 daeMetaAttribute *ma = new daeMetaAttribute; 4679 ma->setName( "index" ); 4680 ma->setType( dae.getAtomicTypes().get("GL_MAX_TEXTURE_IMAGE_UNITS_index")); 4681 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture2D_enable , attrIndex )); 4682 ma->setContainer( meta ); 4683 4684 meta->appendAttribute(ma); 4685 } 4686 4687 meta->setElementSize(sizeof(domGl_pipeline_settings::domTexture2D_enable)); 4688 meta->validate(); 4689 4690 return meta; 4691 } 4692 4693 daeElementRef 4694 domGl_pipeline_settings::domTexture3D_enable::create(DAE& dae) 4695 { 4696 domGl_pipeline_settings::domTexture3D_enableRef ref = new domGl_pipeline_settings::domTexture3D_enable(dae); 4697 return ref; 4698 } 4699 4700 4701 daeMetaElement * 4702 domGl_pipeline_settings::domTexture3D_enable::registerElement(DAE& dae) 4703 { 4704 daeMetaElement* meta = dae.getMeta(ID()); 4705 if ( meta != NULL ) return meta; 4706 4707 meta = new daeMetaElement(dae); 4708 dae.setMeta(ID(), *meta); 4709 meta->setName( "texture3D_enable" ); 4710 meta->registerClass(domGl_pipeline_settings::domTexture3D_enable::create); 4711 4712 meta->setIsInnerClass( true ); 4713 4714 // Add attribute: value 4715 { 4716 daeMetaAttribute *ma = new daeMetaAttribute; 4717 ma->setName( "value" ); 4718 ma->setType( dae.getAtomicTypes().get("Bool")); 4719 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture3D_enable , attrValue )); 4720 ma->setContainer( meta ); 4721 ma->setDefaultString( "false"); 4722 ma->setIsRequired( false ); 4723 4724 meta->appendAttribute(ma); 4725 } 4726 4727 // Add attribute: param 4728 { 4729 daeMetaAttribute *ma = new daeMetaAttribute; 4730 ma->setName( "param" ); 4731 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4732 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture3D_enable , attrParam )); 4733 ma->setContainer( meta ); 4734 ma->setIsRequired( false ); 4735 4736 meta->appendAttribute(ma); 4737 } 4738 4739 // Add attribute: index 4740 { 4741 daeMetaAttribute *ma = new daeMetaAttribute; 4742 ma->setName( "index" ); 4743 ma->setType( dae.getAtomicTypes().get("GL_MAX_TEXTURE_IMAGE_UNITS_index")); 4744 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture3D_enable , attrIndex )); 4745 ma->setContainer( meta ); 4746 4747 meta->appendAttribute(ma); 4748 } 4749 4750 meta->setElementSize(sizeof(domGl_pipeline_settings::domTexture3D_enable)); 4751 meta->validate(); 4752 4753 return meta; 4754 } 4755 4756 daeElementRef 4757 domGl_pipeline_settings::domTextureCUBE_enable::create(DAE& dae) 4758 { 4759 domGl_pipeline_settings::domTextureCUBE_enableRef ref = new domGl_pipeline_settings::domTextureCUBE_enable(dae); 4760 return ref; 4761 } 4762 4763 4764 daeMetaElement * 4765 domGl_pipeline_settings::domTextureCUBE_enable::registerElement(DAE& dae) 4766 { 4767 daeMetaElement* meta = dae.getMeta(ID()); 4768 if ( meta != NULL ) return meta; 4769 4770 meta = new daeMetaElement(dae); 4771 dae.setMeta(ID(), *meta); 4772 meta->setName( "textureCUBE_enable" ); 4773 meta->registerClass(domGl_pipeline_settings::domTextureCUBE_enable::create); 4774 4775 meta->setIsInnerClass( true ); 4776 4777 // Add attribute: value 4778 { 4779 daeMetaAttribute *ma = new daeMetaAttribute; 4780 ma->setName( "value" ); 4781 ma->setType( dae.getAtomicTypes().get("Bool")); 4782 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTextureCUBE_enable , attrValue )); 4783 ma->setContainer( meta ); 4784 ma->setDefaultString( "false"); 4785 ma->setIsRequired( false ); 4786 4787 meta->appendAttribute(ma); 4788 } 4789 4790 // Add attribute: param 4791 { 4792 daeMetaAttribute *ma = new daeMetaAttribute; 4793 ma->setName( "param" ); 4794 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4795 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTextureCUBE_enable , attrParam )); 4796 ma->setContainer( meta ); 4797 ma->setIsRequired( false ); 4798 4799 meta->appendAttribute(ma); 4800 } 4801 4802 // Add attribute: index 4803 { 4804 daeMetaAttribute *ma = new daeMetaAttribute; 4805 ma->setName( "index" ); 4806 ma->setType( dae.getAtomicTypes().get("GL_MAX_TEXTURE_IMAGE_UNITS_index")); 4807 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTextureCUBE_enable , attrIndex )); 4808 ma->setContainer( meta ); 4809 4810 meta->appendAttribute(ma); 4811 } 4812 4813 meta->setElementSize(sizeof(domGl_pipeline_settings::domTextureCUBE_enable)); 4814 meta->validate(); 4815 4816 return meta; 4817 } 4818 4819 daeElementRef 4820 domGl_pipeline_settings::domTextureRECT_enable::create(DAE& dae) 4821 { 4822 domGl_pipeline_settings::domTextureRECT_enableRef ref = new domGl_pipeline_settings::domTextureRECT_enable(dae); 4823 return ref; 4824 } 4825 4826 4827 daeMetaElement * 4828 domGl_pipeline_settings::domTextureRECT_enable::registerElement(DAE& dae) 4829 { 4830 daeMetaElement* meta = dae.getMeta(ID()); 4831 if ( meta != NULL ) return meta; 4832 4833 meta = new daeMetaElement(dae); 4834 dae.setMeta(ID(), *meta); 4835 meta->setName( "textureRECT_enable" ); 4836 meta->registerClass(domGl_pipeline_settings::domTextureRECT_enable::create); 4837 4838 meta->setIsInnerClass( true ); 4839 4840 // Add attribute: value 4841 { 4842 daeMetaAttribute *ma = new daeMetaAttribute; 4843 ma->setName( "value" ); 4844 ma->setType( dae.getAtomicTypes().get("Bool")); 4845 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTextureRECT_enable , attrValue )); 4846 ma->setContainer( meta ); 4847 ma->setDefaultString( "false"); 4848 ma->setIsRequired( false ); 4849 4850 meta->appendAttribute(ma); 4851 } 4852 4853 // Add attribute: param 4854 { 4855 daeMetaAttribute *ma = new daeMetaAttribute; 4856 ma->setName( "param" ); 4857 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4858 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTextureRECT_enable , attrParam )); 4859 ma->setContainer( meta ); 4860 ma->setIsRequired( false ); 4861 4862 meta->appendAttribute(ma); 4863 } 4864 4865 // Add attribute: index 4866 { 4867 daeMetaAttribute *ma = new daeMetaAttribute; 4868 ma->setName( "index" ); 4869 ma->setType( dae.getAtomicTypes().get("GL_MAX_TEXTURE_IMAGE_UNITS_index")); 4870 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTextureRECT_enable , attrIndex )); 4871 ma->setContainer( meta ); 4872 4873 meta->appendAttribute(ma); 4874 } 4875 4876 meta->setElementSize(sizeof(domGl_pipeline_settings::domTextureRECT_enable)); 4877 meta->validate(); 4878 4879 return meta; 4880 } 4881 4882 daeElementRef 4883 domGl_pipeline_settings::domTextureDEPTH_enable::create(DAE& dae) 4884 { 4885 domGl_pipeline_settings::domTextureDEPTH_enableRef ref = new domGl_pipeline_settings::domTextureDEPTH_enable(dae); 4886 return ref; 4887 } 4888 4889 4890 daeMetaElement * 4891 domGl_pipeline_settings::domTextureDEPTH_enable::registerElement(DAE& dae) 4892 { 4893 daeMetaElement* meta = dae.getMeta(ID()); 4894 if ( meta != NULL ) return meta; 4895 4896 meta = new daeMetaElement(dae); 4897 dae.setMeta(ID(), *meta); 4898 meta->setName( "textureDEPTH_enable" ); 4899 meta->registerClass(domGl_pipeline_settings::domTextureDEPTH_enable::create); 4900 4901 meta->setIsInnerClass( true ); 4902 4903 // Add attribute: value 4904 { 4905 daeMetaAttribute *ma = new daeMetaAttribute; 4906 ma->setName( "value" ); 4907 ma->setType( dae.getAtomicTypes().get("Bool")); 4908 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTextureDEPTH_enable , attrValue )); 4909 ma->setContainer( meta ); 4910 ma->setDefaultString( "false"); 4911 ma->setIsRequired( false ); 4912 4913 meta->appendAttribute(ma); 4914 } 4915 4916 // Add attribute: param 4917 { 4918 daeMetaAttribute *ma = new daeMetaAttribute; 4919 ma->setName( "param" ); 4920 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4921 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTextureDEPTH_enable , attrParam )); 4922 ma->setContainer( meta ); 4923 ma->setIsRequired( false ); 4924 4925 meta->appendAttribute(ma); 4926 } 4927 4928 // Add attribute: index 4929 { 4930 daeMetaAttribute *ma = new daeMetaAttribute; 4931 ma->setName( "index" ); 4932 ma->setType( dae.getAtomicTypes().get("GL_MAX_TEXTURE_IMAGE_UNITS_index")); 4933 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTextureDEPTH_enable , attrIndex )); 4934 ma->setContainer( meta ); 4935 4936 meta->appendAttribute(ma); 4937 } 4938 4939 meta->setElementSize(sizeof(domGl_pipeline_settings::domTextureDEPTH_enable)); 4940 meta->validate(); 4941 4942 return meta; 4943 } 4944 4945 daeElementRef 4946 domGl_pipeline_settings::domTexture_env_color::create(DAE& dae) 4947 { 4948 domGl_pipeline_settings::domTexture_env_colorRef ref = new domGl_pipeline_settings::domTexture_env_color(dae); 4949 return ref; 4950 } 4951 4952 4953 daeMetaElement * 4954 domGl_pipeline_settings::domTexture_env_color::registerElement(DAE& dae) 4955 { 4956 daeMetaElement* meta = dae.getMeta(ID()); 4957 if ( meta != NULL ) return meta; 4958 4959 meta = new daeMetaElement(dae); 4960 dae.setMeta(ID(), *meta); 4961 meta->setName( "texture_env_color" ); 4962 meta->registerClass(domGl_pipeline_settings::domTexture_env_color::create); 4963 4964 meta->setIsInnerClass( true ); 4965 4966 // Add attribute: value 4967 { 4968 daeMetaAttribute *ma = new daeMetaArrayAttribute; 4969 ma->setName( "value" ); 4970 ma->setType( dae.getAtomicTypes().get("Float4")); 4971 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture_env_color , attrValue )); 4972 ma->setContainer( meta ); 4973 ma->setIsRequired( false ); 4974 4975 meta->appendAttribute(ma); 4976 } 4977 4978 // Add attribute: param 4979 { 4980 daeMetaAttribute *ma = new daeMetaAttribute; 4981 ma->setName( "param" ); 4982 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4983 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture_env_color , attrParam )); 4984 ma->setContainer( meta ); 4985 ma->setIsRequired( false ); 4986 4987 meta->appendAttribute(ma); 4988 } 4989 4990 // Add attribute: index 4991 { 4992 daeMetaAttribute *ma = new daeMetaAttribute; 4993 ma->setName( "index" ); 4994 ma->setType( dae.getAtomicTypes().get("GL_MAX_TEXTURE_IMAGE_UNITS_index")); 4995 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture_env_color , attrIndex )); 4996 ma->setContainer( meta ); 4997 4998 meta->appendAttribute(ma); 4999 } 5000 5001 meta->setElementSize(sizeof(domGl_pipeline_settings::domTexture_env_color)); 5002 meta->validate(); 5003 5004 return meta; 5005 } 5006 5007 daeElementRef 5008 domGl_pipeline_settings::domTexture_env_mode::create(DAE& dae) 5009 { 5010 domGl_pipeline_settings::domTexture_env_modeRef ref = new domGl_pipeline_settings::domTexture_env_mode(dae); 5011 return ref; 5012 } 5013 5014 5015 daeMetaElement * 5016 domGl_pipeline_settings::domTexture_env_mode::registerElement(DAE& dae) 5017 { 5018 daeMetaElement* meta = dae.getMeta(ID()); 5019 if ( meta != NULL ) return meta; 5020 5021 meta = new daeMetaElement(dae); 5022 dae.setMeta(ID(), *meta); 5023 meta->setName( "texture_env_mode" ); 5024 meta->registerClass(domGl_pipeline_settings::domTexture_env_mode::create); 5025 5026 meta->setIsInnerClass( true ); 5027 5028 // Add attribute: value 5029 { 5030 daeMetaAttribute *ma = new daeMetaAttribute; 5031 ma->setName( "value" ); 5032 ma->setType( dae.getAtomicTypes().get("String")); 5033 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture_env_mode , attrValue )); 5034 ma->setContainer( meta ); 5035 ma->setIsRequired( false ); 5036 5037 meta->appendAttribute(ma); 5038 } 5039 5040 // Add attribute: param 5041 { 5042 daeMetaAttribute *ma = new daeMetaAttribute; 5043 ma->setName( "param" ); 5044 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5045 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture_env_mode , attrParam )); 5046 ma->setContainer( meta ); 5047 ma->setIsRequired( false ); 5048 5049 meta->appendAttribute(ma); 5050 } 5051 5052 // Add attribute: index 5053 { 5054 daeMetaAttribute *ma = new daeMetaAttribute; 5055 ma->setName( "index" ); 5056 ma->setType( dae.getAtomicTypes().get("GL_MAX_TEXTURE_IMAGE_UNITS_index")); 5057 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domTexture_env_mode , attrIndex )); 5058 ma->setContainer( meta ); 5059 5060 meta->appendAttribute(ma); 5061 } 5062 5063 meta->setElementSize(sizeof(domGl_pipeline_settings::domTexture_env_mode)); 5064 meta->validate(); 5065 5066 return meta; 5067 } 5068 5069 daeElementRef 5070 domGl_pipeline_settings::domClip_plane::create(DAE& dae) 5071 { 5072 domGl_pipeline_settings::domClip_planeRef ref = new domGl_pipeline_settings::domClip_plane(dae); 5073 return ref; 5074 } 5075 5076 5077 daeMetaElement * 5078 domGl_pipeline_settings::domClip_plane::registerElement(DAE& dae) 5079 { 5080 daeMetaElement* meta = dae.getMeta(ID()); 5081 if ( meta != NULL ) return meta; 5082 5083 meta = new daeMetaElement(dae); 5084 dae.setMeta(ID(), *meta); 5085 meta->setName( "clip_plane" ); 5086 meta->registerClass(domGl_pipeline_settings::domClip_plane::create); 5087 5088 meta->setIsInnerClass( true ); 5089 5090 // Add attribute: value 5091 { 5092 daeMetaAttribute *ma = new daeMetaArrayAttribute; 5093 ma->setName( "value" ); 5094 ma->setType( dae.getAtomicTypes().get("Float4")); 5095 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domClip_plane , attrValue )); 5096 ma->setContainer( meta ); 5097 ma->setDefaultString( "0 0 0 0"); 5098 ma->setIsRequired( false ); 5099 5100 meta->appendAttribute(ma); 5101 } 5102 5103 // Add attribute: param 5104 { 5105 daeMetaAttribute *ma = new daeMetaAttribute; 5106 ma->setName( "param" ); 5107 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5108 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domClip_plane , attrParam )); 5109 ma->setContainer( meta ); 5110 ma->setIsRequired( false ); 5111 5112 meta->appendAttribute(ma); 5113 } 5114 5115 // Add attribute: index 5116 { 5117 daeMetaAttribute *ma = new daeMetaAttribute; 5118 ma->setName( "index" ); 5119 ma->setType( dae.getAtomicTypes().get("GL_MAX_CLIP_PLANES_index")); 5120 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domClip_plane , attrIndex )); 5121 ma->setContainer( meta ); 5122 5123 meta->appendAttribute(ma); 5124 } 5125 5126 meta->setElementSize(sizeof(domGl_pipeline_settings::domClip_plane)); 5127 meta->validate(); 5128 5129 return meta; 5130 } 5131 5132 daeElementRef 5133 domGl_pipeline_settings::domClip_plane_enable::create(DAE& dae) 5134 { 5135 domGl_pipeline_settings::domClip_plane_enableRef ref = new domGl_pipeline_settings::domClip_plane_enable(dae); 5136 return ref; 5137 } 5138 5139 5140 daeMetaElement * 5141 domGl_pipeline_settings::domClip_plane_enable::registerElement(DAE& dae) 5142 { 5143 daeMetaElement* meta = dae.getMeta(ID()); 5144 if ( meta != NULL ) return meta; 5145 5146 meta = new daeMetaElement(dae); 5147 dae.setMeta(ID(), *meta); 5148 meta->setName( "clip_plane_enable" ); 5149 meta->registerClass(domGl_pipeline_settings::domClip_plane_enable::create); 5150 5151 meta->setIsInnerClass( true ); 5152 5153 // Add attribute: value 5154 { 5155 daeMetaAttribute *ma = new daeMetaAttribute; 5156 ma->setName( "value" ); 5157 ma->setType( dae.getAtomicTypes().get("Bool")); 5158 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domClip_plane_enable , attrValue )); 5159 ma->setContainer( meta ); 5160 ma->setDefaultString( "false"); 5161 ma->setIsRequired( false ); 5162 5163 meta->appendAttribute(ma); 5164 } 5165 5166 // Add attribute: param 5167 { 5168 daeMetaAttribute *ma = new daeMetaAttribute; 5169 ma->setName( "param" ); 5170 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5171 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domClip_plane_enable , attrParam )); 5172 ma->setContainer( meta ); 5173 ma->setIsRequired( false ); 5174 5175 meta->appendAttribute(ma); 5176 } 5177 5178 // Add attribute: index 5179 { 5180 daeMetaAttribute *ma = new daeMetaAttribute; 5181 ma->setName( "index" ); 5182 ma->setType( dae.getAtomicTypes().get("GL_MAX_CLIP_PLANES_index")); 5183 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domClip_plane_enable , attrIndex )); 5184 ma->setContainer( meta ); 5185 5186 meta->appendAttribute(ma); 5187 } 5188 5189 meta->setElementSize(sizeof(domGl_pipeline_settings::domClip_plane_enable)); 5190 meta->validate(); 5191 5192 return meta; 5193 } 5194 5195 daeElementRef 5196 domGl_pipeline_settings::domBlend_color::create(DAE& dae) 5197 { 5198 domGl_pipeline_settings::domBlend_colorRef ref = new domGl_pipeline_settings::domBlend_color(dae); 5199 return ref; 5200 } 5201 5202 5203 daeMetaElement * 5204 domGl_pipeline_settings::domBlend_color::registerElement(DAE& dae) 5205 { 5206 daeMetaElement* meta = dae.getMeta(ID()); 5207 if ( meta != NULL ) return meta; 5208 5209 meta = new daeMetaElement(dae); 5210 dae.setMeta(ID(), *meta); 5211 meta->setName( "blend_color" ); 5212 meta->registerClass(domGl_pipeline_settings::domBlend_color::create); 5213 5214 meta->setIsInnerClass( true ); 5215 5216 // Add attribute: value 5217 { 5218 daeMetaAttribute *ma = new daeMetaArrayAttribute; 5219 ma->setName( "value" ); 5220 ma->setType( dae.getAtomicTypes().get("Float4")); 5221 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_color , attrValue )); 5222 ma->setContainer( meta ); 5223 ma->setDefaultString( "0 0 0 0"); 5224 ma->setIsRequired( false ); 5225 5226 meta->appendAttribute(ma); 5227 } 5228 5229 // Add attribute: param 5230 { 5231 daeMetaAttribute *ma = new daeMetaAttribute; 5232 ma->setName( "param" ); 5233 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5234 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_color , attrParam )); 5235 ma->setContainer( meta ); 5236 ma->setIsRequired( false ); 5237 5238 meta->appendAttribute(ma); 5239 } 5240 5241 meta->setElementSize(sizeof(domGl_pipeline_settings::domBlend_color)); 5242 meta->validate(); 5243 5244 return meta; 5245 } 5246 5247 daeElementRef 5248 domGl_pipeline_settings::domClear_color::create(DAE& dae) 5249 { 5250 domGl_pipeline_settings::domClear_colorRef ref = new domGl_pipeline_settings::domClear_color(dae); 5251 return ref; 5252 } 5253 5254 5255 daeMetaElement * 5256 domGl_pipeline_settings::domClear_color::registerElement(DAE& dae) 5257 { 5258 daeMetaElement* meta = dae.getMeta(ID()); 5259 if ( meta != NULL ) return meta; 5260 5261 meta = new daeMetaElement(dae); 5262 dae.setMeta(ID(), *meta); 5263 meta->setName( "clear_color" ); 5264 meta->registerClass(domGl_pipeline_settings::domClear_color::create); 5265 5266 meta->setIsInnerClass( true ); 5267 5268 // Add attribute: value 5269 { 5270 daeMetaAttribute *ma = new daeMetaArrayAttribute; 5271 ma->setName( "value" ); 5272 ma->setType( dae.getAtomicTypes().get("Float4")); 5273 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domClear_color , attrValue )); 5274 ma->setContainer( meta ); 5275 ma->setDefaultString( "0 0 0 0"); 5276 ma->setIsRequired( false ); 5277 5278 meta->appendAttribute(ma); 5279 } 5280 5281 // Add attribute: param 5282 { 5283 daeMetaAttribute *ma = new daeMetaAttribute; 5284 ma->setName( "param" ); 5285 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5286 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domClear_color , attrParam )); 5287 ma->setContainer( meta ); 5288 ma->setIsRequired( false ); 5289 5290 meta->appendAttribute(ma); 5291 } 5292 5293 meta->setElementSize(sizeof(domGl_pipeline_settings::domClear_color)); 5294 meta->validate(); 5295 5296 return meta; 5297 } 5298 5299 daeElementRef 5300 domGl_pipeline_settings::domClear_stencil::create(DAE& dae) 5301 { 5302 domGl_pipeline_settings::domClear_stencilRef ref = new domGl_pipeline_settings::domClear_stencil(dae); 5303 return ref; 5304 } 5305 5306 5307 daeMetaElement * 5308 domGl_pipeline_settings::domClear_stencil::registerElement(DAE& dae) 5309 { 5310 daeMetaElement* meta = dae.getMeta(ID()); 5311 if ( meta != NULL ) return meta; 5312 5313 meta = new daeMetaElement(dae); 5314 dae.setMeta(ID(), *meta); 5315 meta->setName( "clear_stencil" ); 5316 meta->registerClass(domGl_pipeline_settings::domClear_stencil::create); 5317 5318 meta->setIsInnerClass( true ); 5319 5320 // Add attribute: value 5321 { 5322 daeMetaAttribute *ma = new daeMetaAttribute; 5323 ma->setName( "value" ); 5324 ma->setType( dae.getAtomicTypes().get("Int")); 5325 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domClear_stencil , attrValue )); 5326 ma->setContainer( meta ); 5327 ma->setDefaultString( "0"); 5328 ma->setIsRequired( false ); 5329 5330 meta->appendAttribute(ma); 5331 } 5332 5333 // Add attribute: param 5334 { 5335 daeMetaAttribute *ma = new daeMetaAttribute; 5336 ma->setName( "param" ); 5337 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5338 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domClear_stencil , attrParam )); 5339 ma->setContainer( meta ); 5340 ma->setIsRequired( false ); 5341 5342 meta->appendAttribute(ma); 5343 } 5344 5345 meta->setElementSize(sizeof(domGl_pipeline_settings::domClear_stencil)); 5346 meta->validate(); 5347 5348 return meta; 5349 } 5350 5351 daeElementRef 5352 domGl_pipeline_settings::domClear_depth::create(DAE& dae) 5353 { 5354 domGl_pipeline_settings::domClear_depthRef ref = new domGl_pipeline_settings::domClear_depth(dae); 5355 return ref; 5356 } 5357 5358 5359 daeMetaElement * 5360 domGl_pipeline_settings::domClear_depth::registerElement(DAE& dae) 5361 { 5362 daeMetaElement* meta = dae.getMeta(ID()); 5363 if ( meta != NULL ) return meta; 5364 5365 meta = new daeMetaElement(dae); 5366 dae.setMeta(ID(), *meta); 5367 meta->setName( "clear_depth" ); 5368 meta->registerClass(domGl_pipeline_settings::domClear_depth::create); 5369 5370 meta->setIsInnerClass( true ); 5371 5372 // Add attribute: value 5373 { 5374 daeMetaAttribute *ma = new daeMetaAttribute; 5375 ma->setName( "value" ); 5376 ma->setType( dae.getAtomicTypes().get("Float")); 5377 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domClear_depth , attrValue )); 5378 ma->setContainer( meta ); 5379 ma->setDefaultString( "1"); 5380 ma->setIsRequired( false ); 5381 5382 meta->appendAttribute(ma); 5383 } 5384 5385 // Add attribute: param 5386 { 5387 daeMetaAttribute *ma = new daeMetaAttribute; 5388 ma->setName( "param" ); 5389 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5390 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domClear_depth , attrParam )); 5391 ma->setContainer( meta ); 5392 ma->setIsRequired( false ); 5393 5394 meta->appendAttribute(ma); 5395 } 5396 5397 meta->setElementSize(sizeof(domGl_pipeline_settings::domClear_depth)); 5398 meta->validate(); 5399 5400 return meta; 5401 } 5402 5403 daeElementRef 5404 domGl_pipeline_settings::domColor_mask::create(DAE& dae) 5405 { 5406 domGl_pipeline_settings::domColor_maskRef ref = new domGl_pipeline_settings::domColor_mask(dae); 5407 return ref; 5408 } 5409 5410 5411 daeMetaElement * 5412 domGl_pipeline_settings::domColor_mask::registerElement(DAE& dae) 5413 { 5414 daeMetaElement* meta = dae.getMeta(ID()); 5415 if ( meta != NULL ) return meta; 5416 5417 meta = new daeMetaElement(dae); 5418 dae.setMeta(ID(), *meta); 5419 meta->setName( "color_mask" ); 5420 meta->registerClass(domGl_pipeline_settings::domColor_mask::create); 5421 5422 meta->setIsInnerClass( true ); 5423 5424 // Add attribute: value 5425 { 5426 daeMetaAttribute *ma = new daeMetaArrayAttribute; 5427 ma->setName( "value" ); 5428 ma->setType( dae.getAtomicTypes().get("Bool4")); 5429 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domColor_mask , attrValue )); 5430 ma->setContainer( meta ); 5431 ma->setDefaultString( "true true true true"); 5432 ma->setIsRequired( false ); 5433 5434 meta->appendAttribute(ma); 5435 } 5436 5437 // Add attribute: param 5438 { 5439 daeMetaAttribute *ma = new daeMetaAttribute; 5440 ma->setName( "param" ); 5441 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5442 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domColor_mask , attrParam )); 5443 ma->setContainer( meta ); 5444 ma->setIsRequired( false ); 5445 5446 meta->appendAttribute(ma); 5447 } 5448 5449 meta->setElementSize(sizeof(domGl_pipeline_settings::domColor_mask)); 5450 meta->validate(); 5451 5452 return meta; 5453 } 5454 5455 daeElementRef 5456 domGl_pipeline_settings::domDepth_bounds::create(DAE& dae) 5457 { 5458 domGl_pipeline_settings::domDepth_boundsRef ref = new domGl_pipeline_settings::domDepth_bounds(dae); 5459 return ref; 5460 } 5461 5462 5463 daeMetaElement * 5464 domGl_pipeline_settings::domDepth_bounds::registerElement(DAE& dae) 5465 { 5466 daeMetaElement* meta = dae.getMeta(ID()); 5467 if ( meta != NULL ) return meta; 5468 5469 meta = new daeMetaElement(dae); 5470 dae.setMeta(ID(), *meta); 5471 meta->setName( "depth_bounds" ); 5472 meta->registerClass(domGl_pipeline_settings::domDepth_bounds::create); 5473 5474 meta->setIsInnerClass( true ); 5475 5476 // Add attribute: value 5477 { 5478 daeMetaAttribute *ma = new daeMetaArrayAttribute; 5479 ma->setName( "value" ); 5480 ma->setType( dae.getAtomicTypes().get("Float2")); 5481 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDepth_bounds , attrValue )); 5482 ma->setContainer( meta ); 5483 ma->setIsRequired( false ); 5484 5485 meta->appendAttribute(ma); 5486 } 5487 5488 // Add attribute: param 5489 { 5490 daeMetaAttribute *ma = new daeMetaAttribute; 5491 ma->setName( "param" ); 5492 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5493 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDepth_bounds , attrParam )); 5494 ma->setContainer( meta ); 5495 ma->setIsRequired( false ); 5496 5497 meta->appendAttribute(ma); 5498 } 5499 5500 meta->setElementSize(sizeof(domGl_pipeline_settings::domDepth_bounds)); 5501 meta->validate(); 5502 5503 return meta; 5504 } 5505 5506 daeElementRef 5507 domGl_pipeline_settings::domDepth_mask::create(DAE& dae) 5508 { 5509 domGl_pipeline_settings::domDepth_maskRef ref = new domGl_pipeline_settings::domDepth_mask(dae); 5510 return ref; 5511 } 5512 5513 5514 daeMetaElement * 5515 domGl_pipeline_settings::domDepth_mask::registerElement(DAE& dae) 5516 { 5517 daeMetaElement* meta = dae.getMeta(ID()); 5518 if ( meta != NULL ) return meta; 5519 5520 meta = new daeMetaElement(dae); 5521 dae.setMeta(ID(), *meta); 5522 meta->setName( "depth_mask" ); 5523 meta->registerClass(domGl_pipeline_settings::domDepth_mask::create); 5524 5525 meta->setIsInnerClass( true ); 5526 5527 // Add attribute: value 5528 { 5529 daeMetaAttribute *ma = new daeMetaAttribute; 5530 ma->setName( "value" ); 5531 ma->setType( dae.getAtomicTypes().get("Bool")); 5532 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDepth_mask , attrValue )); 5533 ma->setContainer( meta ); 5534 ma->setDefaultString( "true"); 5535 ma->setIsRequired( false ); 5536 5537 meta->appendAttribute(ma); 5538 } 5539 5540 // Add attribute: param 5541 { 5542 daeMetaAttribute *ma = new daeMetaAttribute; 5543 ma->setName( "param" ); 5544 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5545 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDepth_mask , attrParam )); 5546 ma->setContainer( meta ); 5547 ma->setIsRequired( false ); 5548 5549 meta->appendAttribute(ma); 5550 } 5551 5552 meta->setElementSize(sizeof(domGl_pipeline_settings::domDepth_mask)); 5553 meta->validate(); 5554 5555 return meta; 5556 } 5557 5558 daeElementRef 5559 domGl_pipeline_settings::domDepth_range::create(DAE& dae) 5560 { 5561 domGl_pipeline_settings::domDepth_rangeRef ref = new domGl_pipeline_settings::domDepth_range(dae); 5562 return ref; 5563 } 5564 5565 5566 daeMetaElement * 5567 domGl_pipeline_settings::domDepth_range::registerElement(DAE& dae) 5568 { 5569 daeMetaElement* meta = dae.getMeta(ID()); 5570 if ( meta != NULL ) return meta; 5571 5572 meta = new daeMetaElement(dae); 5573 dae.setMeta(ID(), *meta); 5574 meta->setName( "depth_range" ); 5575 meta->registerClass(domGl_pipeline_settings::domDepth_range::create); 5576 5577 meta->setIsInnerClass( true ); 5578 5579 // Add attribute: value 5580 { 5581 daeMetaAttribute *ma = new daeMetaArrayAttribute; 5582 ma->setName( "value" ); 5583 ma->setType( dae.getAtomicTypes().get("Float2")); 5584 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDepth_range , attrValue )); 5585 ma->setContainer( meta ); 5586 ma->setDefaultString( "0 1"); 5587 ma->setIsRequired( false ); 5588 5589 meta->appendAttribute(ma); 5590 } 5591 5592 // Add attribute: param 5593 { 5594 daeMetaAttribute *ma = new daeMetaAttribute; 5595 ma->setName( "param" ); 5596 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5597 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDepth_range , attrParam )); 5598 ma->setContainer( meta ); 5599 ma->setIsRequired( false ); 5600 5601 meta->appendAttribute(ma); 5602 } 5603 5604 meta->setElementSize(sizeof(domGl_pipeline_settings::domDepth_range)); 5605 meta->validate(); 5606 5607 return meta; 5608 } 5609 5610 daeElementRef 5611 domGl_pipeline_settings::domFog_density::create(DAE& dae) 5612 { 5613 domGl_pipeline_settings::domFog_densityRef ref = new domGl_pipeline_settings::domFog_density(dae); 5614 return ref; 5615 } 5616 5617 5618 daeMetaElement * 5619 domGl_pipeline_settings::domFog_density::registerElement(DAE& dae) 5620 { 5621 daeMetaElement* meta = dae.getMeta(ID()); 5622 if ( meta != NULL ) return meta; 5623 5624 meta = new daeMetaElement(dae); 5625 dae.setMeta(ID(), *meta); 5626 meta->setName( "fog_density" ); 5627 meta->registerClass(domGl_pipeline_settings::domFog_density::create); 5628 5629 meta->setIsInnerClass( true ); 5630 5631 // Add attribute: value 5632 { 5633 daeMetaAttribute *ma = new daeMetaAttribute; 5634 ma->setName( "value" ); 5635 ma->setType( dae.getAtomicTypes().get("Float")); 5636 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFog_density , attrValue )); 5637 ma->setContainer( meta ); 5638 ma->setDefaultString( "1"); 5639 ma->setIsRequired( false ); 5640 5641 meta->appendAttribute(ma); 5642 } 5643 5644 // Add attribute: param 5645 { 5646 daeMetaAttribute *ma = new daeMetaAttribute; 5647 ma->setName( "param" ); 5648 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5649 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFog_density , attrParam )); 5650 ma->setContainer( meta ); 5651 ma->setIsRequired( false ); 5652 5653 meta->appendAttribute(ma); 5654 } 5655 5656 meta->setElementSize(sizeof(domGl_pipeline_settings::domFog_density)); 5657 meta->validate(); 5658 5659 return meta; 5660 } 5661 5662 daeElementRef 5663 domGl_pipeline_settings::domFog_start::create(DAE& dae) 5664 { 5665 domGl_pipeline_settings::domFog_startRef ref = new domGl_pipeline_settings::domFog_start(dae); 5666 return ref; 5667 } 5668 5669 5670 daeMetaElement * 5671 domGl_pipeline_settings::domFog_start::registerElement(DAE& dae) 5672 { 5673 daeMetaElement* meta = dae.getMeta(ID()); 5674 if ( meta != NULL ) return meta; 5675 5676 meta = new daeMetaElement(dae); 5677 dae.setMeta(ID(), *meta); 5678 meta->setName( "fog_start" ); 5679 meta->registerClass(domGl_pipeline_settings::domFog_start::create); 5680 5681 meta->setIsInnerClass( true ); 5682 5683 // Add attribute: value 5684 { 5685 daeMetaAttribute *ma = new daeMetaAttribute; 5686 ma->setName( "value" ); 5687 ma->setType( dae.getAtomicTypes().get("Float")); 5688 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFog_start , attrValue )); 5689 ma->setContainer( meta ); 5690 ma->setDefaultString( "0"); 5691 ma->setIsRequired( false ); 5692 5693 meta->appendAttribute(ma); 5694 } 5695 5696 // Add attribute: param 5697 { 5698 daeMetaAttribute *ma = new daeMetaAttribute; 5699 ma->setName( "param" ); 5700 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5701 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFog_start , attrParam )); 5702 ma->setContainer( meta ); 5703 ma->setIsRequired( false ); 5704 5705 meta->appendAttribute(ma); 5706 } 5707 5708 meta->setElementSize(sizeof(domGl_pipeline_settings::domFog_start)); 5709 meta->validate(); 5710 5711 return meta; 5712 } 5713 5714 daeElementRef 5715 domGl_pipeline_settings::domFog_end::create(DAE& dae) 5716 { 5717 domGl_pipeline_settings::domFog_endRef ref = new domGl_pipeline_settings::domFog_end(dae); 5718 return ref; 5719 } 5720 5721 5722 daeMetaElement * 5723 domGl_pipeline_settings::domFog_end::registerElement(DAE& dae) 5724 { 5725 daeMetaElement* meta = dae.getMeta(ID()); 5726 if ( meta != NULL ) return meta; 5727 5728 meta = new daeMetaElement(dae); 5729 dae.setMeta(ID(), *meta); 5730 meta->setName( "fog_end" ); 5731 meta->registerClass(domGl_pipeline_settings::domFog_end::create); 5732 5733 meta->setIsInnerClass( true ); 5734 5735 // Add attribute: value 5736 { 5737 daeMetaAttribute *ma = new daeMetaAttribute; 5738 ma->setName( "value" ); 5739 ma->setType( dae.getAtomicTypes().get("Float")); 5740 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFog_end , attrValue )); 5741 ma->setContainer( meta ); 5742 ma->setDefaultString( "1"); 5743 ma->setIsRequired( false ); 5744 5745 meta->appendAttribute(ma); 5746 } 5747 5748 // Add attribute: param 5749 { 5750 daeMetaAttribute *ma = new daeMetaAttribute; 5751 ma->setName( "param" ); 5752 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5753 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFog_end , attrParam )); 5754 ma->setContainer( meta ); 5755 ma->setIsRequired( false ); 5756 5757 meta->appendAttribute(ma); 5758 } 5759 5760 meta->setElementSize(sizeof(domGl_pipeline_settings::domFog_end)); 5761 meta->validate(); 5762 5763 return meta; 5764 } 5765 5766 daeElementRef 5767 domGl_pipeline_settings::domFog_color::create(DAE& dae) 5768 { 5769 domGl_pipeline_settings::domFog_colorRef ref = new domGl_pipeline_settings::domFog_color(dae); 5770 return ref; 5771 } 5772 5773 5774 daeMetaElement * 5775 domGl_pipeline_settings::domFog_color::registerElement(DAE& dae) 5776 { 5777 daeMetaElement* meta = dae.getMeta(ID()); 5778 if ( meta != NULL ) return meta; 5779 5780 meta = new daeMetaElement(dae); 5781 dae.setMeta(ID(), *meta); 5782 meta->setName( "fog_color" ); 5783 meta->registerClass(domGl_pipeline_settings::domFog_color::create); 5784 5785 meta->setIsInnerClass( true ); 5786 5787 // Add attribute: value 5788 { 5789 daeMetaAttribute *ma = new daeMetaArrayAttribute; 5790 ma->setName( "value" ); 5791 ma->setType( dae.getAtomicTypes().get("Float4")); 5792 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFog_color , attrValue )); 5793 ma->setContainer( meta ); 5794 ma->setDefaultString( "0 0 0 0"); 5795 ma->setIsRequired( false ); 5796 5797 meta->appendAttribute(ma); 5798 } 5799 5800 // Add attribute: param 5801 { 5802 daeMetaAttribute *ma = new daeMetaAttribute; 5803 ma->setName( "param" ); 5804 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5805 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFog_color , attrParam )); 5806 ma->setContainer( meta ); 5807 ma->setIsRequired( false ); 5808 5809 meta->appendAttribute(ma); 5810 } 5811 5812 meta->setElementSize(sizeof(domGl_pipeline_settings::domFog_color)); 5813 meta->validate(); 5814 5815 return meta; 5816 } 5817 5818 daeElementRef 5819 domGl_pipeline_settings::domLight_model_ambient::create(DAE& dae) 5820 { 5821 domGl_pipeline_settings::domLight_model_ambientRef ref = new domGl_pipeline_settings::domLight_model_ambient(dae); 5822 return ref; 5823 } 5824 5825 5826 daeMetaElement * 5827 domGl_pipeline_settings::domLight_model_ambient::registerElement(DAE& dae) 5828 { 5829 daeMetaElement* meta = dae.getMeta(ID()); 5830 if ( meta != NULL ) return meta; 5831 5832 meta = new daeMetaElement(dae); 5833 dae.setMeta(ID(), *meta); 5834 meta->setName( "light_model_ambient" ); 5835 meta->registerClass(domGl_pipeline_settings::domLight_model_ambient::create); 5836 5837 meta->setIsInnerClass( true ); 5838 5839 // Add attribute: value 5840 { 5841 daeMetaAttribute *ma = new daeMetaArrayAttribute; 5842 ma->setName( "value" ); 5843 ma->setType( dae.getAtomicTypes().get("Float4")); 5844 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_model_ambient , attrValue )); 5845 ma->setContainer( meta ); 5846 ma->setDefaultString( "0.2 0.2 0.2 1.0"); 5847 ma->setIsRequired( false ); 5848 5849 meta->appendAttribute(ma); 5850 } 5851 5852 // Add attribute: param 5853 { 5854 daeMetaAttribute *ma = new daeMetaAttribute; 5855 ma->setName( "param" ); 5856 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5857 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_model_ambient , attrParam )); 5858 ma->setContainer( meta ); 5859 ma->setIsRequired( false ); 5860 5861 meta->appendAttribute(ma); 5862 } 5863 5864 meta->setElementSize(sizeof(domGl_pipeline_settings::domLight_model_ambient)); 5865 meta->validate(); 5866 5867 return meta; 5868 } 5869 5870 daeElementRef 5871 domGl_pipeline_settings::domLighting_enable::create(DAE& dae) 5872 { 5873 domGl_pipeline_settings::domLighting_enableRef ref = new domGl_pipeline_settings::domLighting_enable(dae); 5874 return ref; 5875 } 5876 5877 5878 daeMetaElement * 5879 domGl_pipeline_settings::domLighting_enable::registerElement(DAE& dae) 5880 { 5881 daeMetaElement* meta = dae.getMeta(ID()); 5882 if ( meta != NULL ) return meta; 5883 5884 meta = new daeMetaElement(dae); 5885 dae.setMeta(ID(), *meta); 5886 meta->setName( "lighting_enable" ); 5887 meta->registerClass(domGl_pipeline_settings::domLighting_enable::create); 5888 5889 meta->setIsInnerClass( true ); 5890 5891 // Add attribute: value 5892 { 5893 daeMetaAttribute *ma = new daeMetaAttribute; 5894 ma->setName( "value" ); 5895 ma->setType( dae.getAtomicTypes().get("Bool")); 5896 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLighting_enable , attrValue )); 5897 ma->setContainer( meta ); 5898 ma->setDefaultString( "false"); 5899 ma->setIsRequired( false ); 5900 5901 meta->appendAttribute(ma); 5902 } 5903 5904 // Add attribute: param 5905 { 5906 daeMetaAttribute *ma = new daeMetaAttribute; 5907 ma->setName( "param" ); 5908 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5909 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLighting_enable , attrParam )); 5910 ma->setContainer( meta ); 5911 ma->setIsRequired( false ); 5912 5913 meta->appendAttribute(ma); 5914 } 5915 5916 meta->setElementSize(sizeof(domGl_pipeline_settings::domLighting_enable)); 5917 meta->validate(); 5918 5919 return meta; 5920 } 5921 5922 daeElementRef 5923 domGl_pipeline_settings::domLine_stipple::create(DAE& dae) 5924 { 5925 domGl_pipeline_settings::domLine_stippleRef ref = new domGl_pipeline_settings::domLine_stipple(dae); 5926 return ref; 5927 } 5928 5929 5930 daeMetaElement * 5931 domGl_pipeline_settings::domLine_stipple::registerElement(DAE& dae) 5932 { 5933 daeMetaElement* meta = dae.getMeta(ID()); 5934 if ( meta != NULL ) return meta; 5935 5936 meta = new daeMetaElement(dae); 5937 dae.setMeta(ID(), *meta); 5938 meta->setName( "line_stipple" ); 5939 meta->registerClass(domGl_pipeline_settings::domLine_stipple::create); 5940 5941 meta->setIsInnerClass( true ); 5942 5943 // Add attribute: value 5944 { 5945 daeMetaAttribute *ma = new daeMetaArrayAttribute; 5946 ma->setName( "value" ); 5947 ma->setType( dae.getAtomicTypes().get("Int2")); 5948 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLine_stipple , attrValue )); 5949 ma->setContainer( meta ); 5950 ma->setDefaultString( "1 65536"); 5951 ma->setIsRequired( false ); 5952 5953 meta->appendAttribute(ma); 5954 } 5955 5956 // Add attribute: param 5957 { 5958 daeMetaAttribute *ma = new daeMetaAttribute; 5959 ma->setName( "param" ); 5960 ma->setType( dae.getAtomicTypes().get("xsNCName")); 5961 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLine_stipple , attrParam )); 5962 ma->setContainer( meta ); 5963 ma->setIsRequired( false ); 5964 5965 meta->appendAttribute(ma); 5966 } 5967 5968 meta->setElementSize(sizeof(domGl_pipeline_settings::domLine_stipple)); 5969 meta->validate(); 5970 5971 return meta; 5972 } 5973 5974 daeElementRef 5975 domGl_pipeline_settings::domLine_width::create(DAE& dae) 5976 { 5977 domGl_pipeline_settings::domLine_widthRef ref = new domGl_pipeline_settings::domLine_width(dae); 5978 return ref; 5979 } 5980 5981 5982 daeMetaElement * 5983 domGl_pipeline_settings::domLine_width::registerElement(DAE& dae) 5984 { 5985 daeMetaElement* meta = dae.getMeta(ID()); 5986 if ( meta != NULL ) return meta; 5987 5988 meta = new daeMetaElement(dae); 5989 dae.setMeta(ID(), *meta); 5990 meta->setName( "line_width" ); 5991 meta->registerClass(domGl_pipeline_settings::domLine_width::create); 5992 5993 meta->setIsInnerClass( true ); 5994 5995 // Add attribute: value 5996 { 5997 daeMetaAttribute *ma = new daeMetaAttribute; 5998 ma->setName( "value" ); 5999 ma->setType( dae.getAtomicTypes().get("Float")); 6000 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLine_width , attrValue )); 6001 ma->setContainer( meta ); 6002 ma->setDefaultString( "1"); 6003 ma->setIsRequired( false ); 6004 6005 meta->appendAttribute(ma); 6006 } 6007 6008 // Add attribute: param 6009 { 6010 daeMetaAttribute *ma = new daeMetaAttribute; 6011 ma->setName( "param" ); 6012 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6013 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLine_width , attrParam )); 6014 ma->setContainer( meta ); 6015 ma->setIsRequired( false ); 6016 6017 meta->appendAttribute(ma); 6018 } 6019 6020 meta->setElementSize(sizeof(domGl_pipeline_settings::domLine_width)); 6021 meta->validate(); 6022 6023 return meta; 6024 } 6025 6026 daeElementRef 6027 domGl_pipeline_settings::domMaterial_ambient::create(DAE& dae) 6028 { 6029 domGl_pipeline_settings::domMaterial_ambientRef ref = new domGl_pipeline_settings::domMaterial_ambient(dae); 6030 return ref; 6031 } 6032 6033 6034 daeMetaElement * 6035 domGl_pipeline_settings::domMaterial_ambient::registerElement(DAE& dae) 6036 { 6037 daeMetaElement* meta = dae.getMeta(ID()); 6038 if ( meta != NULL ) return meta; 6039 6040 meta = new daeMetaElement(dae); 6041 dae.setMeta(ID(), *meta); 6042 meta->setName( "material_ambient" ); 6043 meta->registerClass(domGl_pipeline_settings::domMaterial_ambient::create); 6044 6045 meta->setIsInnerClass( true ); 6046 6047 // Add attribute: value 6048 { 6049 daeMetaAttribute *ma = new daeMetaArrayAttribute; 6050 ma->setName( "value" ); 6051 ma->setType( dae.getAtomicTypes().get("Float4")); 6052 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domMaterial_ambient , attrValue )); 6053 ma->setContainer( meta ); 6054 ma->setDefaultString( "0.2 0.2 0.2 1.0"); 6055 ma->setIsRequired( false ); 6056 6057 meta->appendAttribute(ma); 6058 } 6059 6060 // Add attribute: param 6061 { 6062 daeMetaAttribute *ma = new daeMetaAttribute; 6063 ma->setName( "param" ); 6064 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6065 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domMaterial_ambient , attrParam )); 6066 ma->setContainer( meta ); 6067 ma->setIsRequired( false ); 6068 6069 meta->appendAttribute(ma); 6070 } 6071 6072 meta->setElementSize(sizeof(domGl_pipeline_settings::domMaterial_ambient)); 6073 meta->validate(); 6074 6075 return meta; 6076 } 6077 6078 daeElementRef 6079 domGl_pipeline_settings::domMaterial_diffuse::create(DAE& dae) 6080 { 6081 domGl_pipeline_settings::domMaterial_diffuseRef ref = new domGl_pipeline_settings::domMaterial_diffuse(dae); 6082 return ref; 6083 } 6084 6085 6086 daeMetaElement * 6087 domGl_pipeline_settings::domMaterial_diffuse::registerElement(DAE& dae) 6088 { 6089 daeMetaElement* meta = dae.getMeta(ID()); 6090 if ( meta != NULL ) return meta; 6091 6092 meta = new daeMetaElement(dae); 6093 dae.setMeta(ID(), *meta); 6094 meta->setName( "material_diffuse" ); 6095 meta->registerClass(domGl_pipeline_settings::domMaterial_diffuse::create); 6096 6097 meta->setIsInnerClass( true ); 6098 6099 // Add attribute: value 6100 { 6101 daeMetaAttribute *ma = new daeMetaArrayAttribute; 6102 ma->setName( "value" ); 6103 ma->setType( dae.getAtomicTypes().get("Float4")); 6104 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domMaterial_diffuse , attrValue )); 6105 ma->setContainer( meta ); 6106 ma->setDefaultString( "0.8 0.8 0.8 1.0"); 6107 ma->setIsRequired( false ); 6108 6109 meta->appendAttribute(ma); 6110 } 6111 6112 // Add attribute: param 6113 { 6114 daeMetaAttribute *ma = new daeMetaAttribute; 6115 ma->setName( "param" ); 6116 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6117 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domMaterial_diffuse , attrParam )); 6118 ma->setContainer( meta ); 6119 ma->setIsRequired( false ); 6120 6121 meta->appendAttribute(ma); 6122 } 6123 6124 meta->setElementSize(sizeof(domGl_pipeline_settings::domMaterial_diffuse)); 6125 meta->validate(); 6126 6127 return meta; 6128 } 6129 6130 daeElementRef 6131 domGl_pipeline_settings::domMaterial_emission::create(DAE& dae) 6132 { 6133 domGl_pipeline_settings::domMaterial_emissionRef ref = new domGl_pipeline_settings::domMaterial_emission(dae); 6134 return ref; 6135 } 6136 6137 6138 daeMetaElement * 6139 domGl_pipeline_settings::domMaterial_emission::registerElement(DAE& dae) 6140 { 6141 daeMetaElement* meta = dae.getMeta(ID()); 6142 if ( meta != NULL ) return meta; 6143 6144 meta = new daeMetaElement(dae); 6145 dae.setMeta(ID(), *meta); 6146 meta->setName( "material_emission" ); 6147 meta->registerClass(domGl_pipeline_settings::domMaterial_emission::create); 6148 6149 meta->setIsInnerClass( true ); 6150 6151 // Add attribute: value 6152 { 6153 daeMetaAttribute *ma = new daeMetaArrayAttribute; 6154 ma->setName( "value" ); 6155 ma->setType( dae.getAtomicTypes().get("Float4")); 6156 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domMaterial_emission , attrValue )); 6157 ma->setContainer( meta ); 6158 ma->setDefaultString( "0 0 0 1"); 6159 ma->setIsRequired( false ); 6160 6161 meta->appendAttribute(ma); 6162 } 6163 6164 // Add attribute: param 6165 { 6166 daeMetaAttribute *ma = new daeMetaAttribute; 6167 ma->setName( "param" ); 6168 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6169 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domMaterial_emission , attrParam )); 6170 ma->setContainer( meta ); 6171 ma->setIsRequired( false ); 6172 6173 meta->appendAttribute(ma); 6174 } 6175 6176 meta->setElementSize(sizeof(domGl_pipeline_settings::domMaterial_emission)); 6177 meta->validate(); 6178 6179 return meta; 6180 } 6181 6182 daeElementRef 6183 domGl_pipeline_settings::domMaterial_shininess::create(DAE& dae) 6184 { 6185 domGl_pipeline_settings::domMaterial_shininessRef ref = new domGl_pipeline_settings::domMaterial_shininess(dae); 6186 return ref; 6187 } 6188 6189 6190 daeMetaElement * 6191 domGl_pipeline_settings::domMaterial_shininess::registerElement(DAE& dae) 6192 { 6193 daeMetaElement* meta = dae.getMeta(ID()); 6194 if ( meta != NULL ) return meta; 6195 6196 meta = new daeMetaElement(dae); 6197 dae.setMeta(ID(), *meta); 6198 meta->setName( "material_shininess" ); 6199 meta->registerClass(domGl_pipeline_settings::domMaterial_shininess::create); 6200 6201 meta->setIsInnerClass( true ); 6202 6203 // Add attribute: value 6204 { 6205 daeMetaAttribute *ma = new daeMetaAttribute; 6206 ma->setName( "value" ); 6207 ma->setType( dae.getAtomicTypes().get("Float")); 6208 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domMaterial_shininess , attrValue )); 6209 ma->setContainer( meta ); 6210 ma->setDefaultString( "0"); 6211 ma->setIsRequired( false ); 6212 6213 meta->appendAttribute(ma); 6214 } 6215 6216 // Add attribute: param 6217 { 6218 daeMetaAttribute *ma = new daeMetaAttribute; 6219 ma->setName( "param" ); 6220 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6221 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domMaterial_shininess , attrParam )); 6222 ma->setContainer( meta ); 6223 ma->setIsRequired( false ); 6224 6225 meta->appendAttribute(ma); 6226 } 6227 6228 meta->setElementSize(sizeof(domGl_pipeline_settings::domMaterial_shininess)); 6229 meta->validate(); 6230 6231 return meta; 6232 } 6233 6234 daeElementRef 6235 domGl_pipeline_settings::domMaterial_specular::create(DAE& dae) 6236 { 6237 domGl_pipeline_settings::domMaterial_specularRef ref = new domGl_pipeline_settings::domMaterial_specular(dae); 6238 return ref; 6239 } 6240 6241 6242 daeMetaElement * 6243 domGl_pipeline_settings::domMaterial_specular::registerElement(DAE& dae) 6244 { 6245 daeMetaElement* meta = dae.getMeta(ID()); 6246 if ( meta != NULL ) return meta; 6247 6248 meta = new daeMetaElement(dae); 6249 dae.setMeta(ID(), *meta); 6250 meta->setName( "material_specular" ); 6251 meta->registerClass(domGl_pipeline_settings::domMaterial_specular::create); 6252 6253 meta->setIsInnerClass( true ); 6254 6255 // Add attribute: value 6256 { 6257 daeMetaAttribute *ma = new daeMetaArrayAttribute; 6258 ma->setName( "value" ); 6259 ma->setType( dae.getAtomicTypes().get("Float4")); 6260 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domMaterial_specular , attrValue )); 6261 ma->setContainer( meta ); 6262 ma->setDefaultString( "0 0 0 1"); 6263 ma->setIsRequired( false ); 6264 6265 meta->appendAttribute(ma); 6266 } 6267 6268 // Add attribute: param 6269 { 6270 daeMetaAttribute *ma = new daeMetaAttribute; 6271 ma->setName( "param" ); 6272 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6273 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domMaterial_specular , attrParam )); 6274 ma->setContainer( meta ); 6275 ma->setIsRequired( false ); 6276 6277 meta->appendAttribute(ma); 6278 } 6279 6280 meta->setElementSize(sizeof(domGl_pipeline_settings::domMaterial_specular)); 6281 meta->validate(); 6282 6283 return meta; 6284 } 6285 6286 daeElementRef 6287 domGl_pipeline_settings::domModel_view_matrix::create(DAE& dae) 6288 { 6289 domGl_pipeline_settings::domModel_view_matrixRef ref = new domGl_pipeline_settings::domModel_view_matrix(dae); 6290 return ref; 6291 } 6292 6293 6294 daeMetaElement * 6295 domGl_pipeline_settings::domModel_view_matrix::registerElement(DAE& dae) 6296 { 6297 daeMetaElement* meta = dae.getMeta(ID()); 6298 if ( meta != NULL ) return meta; 6299 6300 meta = new daeMetaElement(dae); 6301 dae.setMeta(ID(), *meta); 6302 meta->setName( "model_view_matrix" ); 6303 meta->registerClass(domGl_pipeline_settings::domModel_view_matrix::create); 6304 6305 meta->setIsInnerClass( true ); 6306 6307 // Add attribute: value 6308 { 6309 daeMetaAttribute *ma = new daeMetaArrayAttribute; 6310 ma->setName( "value" ); 6311 ma->setType( dae.getAtomicTypes().get("Float4x4")); 6312 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domModel_view_matrix , attrValue )); 6313 ma->setContainer( meta ); 6314 ma->setDefaultString( "1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1"); 6315 ma->setIsRequired( false ); 6316 6317 meta->appendAttribute(ma); 6318 } 6319 6320 // Add attribute: param 6321 { 6322 daeMetaAttribute *ma = new daeMetaAttribute; 6323 ma->setName( "param" ); 6324 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6325 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domModel_view_matrix , attrParam )); 6326 ma->setContainer( meta ); 6327 ma->setIsRequired( false ); 6328 6329 meta->appendAttribute(ma); 6330 } 6331 6332 meta->setElementSize(sizeof(domGl_pipeline_settings::domModel_view_matrix)); 6333 meta->validate(); 6334 6335 return meta; 6336 } 6337 6338 daeElementRef 6339 domGl_pipeline_settings::domPoint_distance_attenuation::create(DAE& dae) 6340 { 6341 domGl_pipeline_settings::domPoint_distance_attenuationRef ref = new domGl_pipeline_settings::domPoint_distance_attenuation(dae); 6342 return ref; 6343 } 6344 6345 6346 daeMetaElement * 6347 domGl_pipeline_settings::domPoint_distance_attenuation::registerElement(DAE& dae) 6348 { 6349 daeMetaElement* meta = dae.getMeta(ID()); 6350 if ( meta != NULL ) return meta; 6351 6352 meta = new daeMetaElement(dae); 6353 dae.setMeta(ID(), *meta); 6354 meta->setName( "point_distance_attenuation" ); 6355 meta->registerClass(domGl_pipeline_settings::domPoint_distance_attenuation::create); 6356 6357 meta->setIsInnerClass( true ); 6358 6359 // Add attribute: value 6360 { 6361 daeMetaAttribute *ma = new daeMetaArrayAttribute; 6362 ma->setName( "value" ); 6363 ma->setType( dae.getAtomicTypes().get("Float3")); 6364 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPoint_distance_attenuation , attrValue )); 6365 ma->setContainer( meta ); 6366 ma->setDefaultString( "1 0 0"); 6367 ma->setIsRequired( false ); 6368 6369 meta->appendAttribute(ma); 6370 } 6371 6372 // Add attribute: param 6373 { 6374 daeMetaAttribute *ma = new daeMetaAttribute; 6375 ma->setName( "param" ); 6376 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6377 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPoint_distance_attenuation , attrParam )); 6378 ma->setContainer( meta ); 6379 ma->setIsRequired( false ); 6380 6381 meta->appendAttribute(ma); 6382 } 6383 6384 meta->setElementSize(sizeof(domGl_pipeline_settings::domPoint_distance_attenuation)); 6385 meta->validate(); 6386 6387 return meta; 6388 } 6389 6390 daeElementRef 6391 domGl_pipeline_settings::domPoint_fade_threshold_size::create(DAE& dae) 6392 { 6393 domGl_pipeline_settings::domPoint_fade_threshold_sizeRef ref = new domGl_pipeline_settings::domPoint_fade_threshold_size(dae); 6394 return ref; 6395 } 6396 6397 6398 daeMetaElement * 6399 domGl_pipeline_settings::domPoint_fade_threshold_size::registerElement(DAE& dae) 6400 { 6401 daeMetaElement* meta = dae.getMeta(ID()); 6402 if ( meta != NULL ) return meta; 6403 6404 meta = new daeMetaElement(dae); 6405 dae.setMeta(ID(), *meta); 6406 meta->setName( "point_fade_threshold_size" ); 6407 meta->registerClass(domGl_pipeline_settings::domPoint_fade_threshold_size::create); 6408 6409 meta->setIsInnerClass( true ); 6410 6411 // Add attribute: value 6412 { 6413 daeMetaAttribute *ma = new daeMetaAttribute; 6414 ma->setName( "value" ); 6415 ma->setType( dae.getAtomicTypes().get("Float")); 6416 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPoint_fade_threshold_size , attrValue )); 6417 ma->setContainer( meta ); 6418 ma->setDefaultString( "1"); 6419 ma->setIsRequired( false ); 6420 6421 meta->appendAttribute(ma); 6422 } 6423 6424 // Add attribute: param 6425 { 6426 daeMetaAttribute *ma = new daeMetaAttribute; 6427 ma->setName( "param" ); 6428 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6429 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPoint_fade_threshold_size , attrParam )); 6430 ma->setContainer( meta ); 6431 ma->setIsRequired( false ); 6432 6433 meta->appendAttribute(ma); 6434 } 6435 6436 meta->setElementSize(sizeof(domGl_pipeline_settings::domPoint_fade_threshold_size)); 6437 meta->validate(); 6438 6439 return meta; 6440 } 6441 6442 daeElementRef 6443 domGl_pipeline_settings::domPoint_size::create(DAE& dae) 6444 { 6445 domGl_pipeline_settings::domPoint_sizeRef ref = new domGl_pipeline_settings::domPoint_size(dae); 6446 return ref; 6447 } 6448 6449 6450 daeMetaElement * 6451 domGl_pipeline_settings::domPoint_size::registerElement(DAE& dae) 6452 { 6453 daeMetaElement* meta = dae.getMeta(ID()); 6454 if ( meta != NULL ) return meta; 6455 6456 meta = new daeMetaElement(dae); 6457 dae.setMeta(ID(), *meta); 6458 meta->setName( "point_size" ); 6459 meta->registerClass(domGl_pipeline_settings::domPoint_size::create); 6460 6461 meta->setIsInnerClass( true ); 6462 6463 // Add attribute: value 6464 { 6465 daeMetaAttribute *ma = new daeMetaAttribute; 6466 ma->setName( "value" ); 6467 ma->setType( dae.getAtomicTypes().get("Float")); 6468 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPoint_size , attrValue )); 6469 ma->setContainer( meta ); 6470 ma->setDefaultString( "1"); 6471 ma->setIsRequired( false ); 6472 6473 meta->appendAttribute(ma); 6474 } 6475 6476 // Add attribute: param 6477 { 6478 daeMetaAttribute *ma = new daeMetaAttribute; 6479 ma->setName( "param" ); 6480 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6481 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPoint_size , attrParam )); 6482 ma->setContainer( meta ); 6483 ma->setIsRequired( false ); 6484 6485 meta->appendAttribute(ma); 6486 } 6487 6488 meta->setElementSize(sizeof(domGl_pipeline_settings::domPoint_size)); 6489 meta->validate(); 6490 6491 return meta; 6492 } 6493 6494 daeElementRef 6495 domGl_pipeline_settings::domPoint_size_min::create(DAE& dae) 6496 { 6497 domGl_pipeline_settings::domPoint_size_minRef ref = new domGl_pipeline_settings::domPoint_size_min(dae); 6498 return ref; 6499 } 6500 6501 6502 daeMetaElement * 6503 domGl_pipeline_settings::domPoint_size_min::registerElement(DAE& dae) 6504 { 6505 daeMetaElement* meta = dae.getMeta(ID()); 6506 if ( meta != NULL ) return meta; 6507 6508 meta = new daeMetaElement(dae); 6509 dae.setMeta(ID(), *meta); 6510 meta->setName( "point_size_min" ); 6511 meta->registerClass(domGl_pipeline_settings::domPoint_size_min::create); 6512 6513 meta->setIsInnerClass( true ); 6514 6515 // Add attribute: value 6516 { 6517 daeMetaAttribute *ma = new daeMetaAttribute; 6518 ma->setName( "value" ); 6519 ma->setType( dae.getAtomicTypes().get("Float")); 6520 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPoint_size_min , attrValue )); 6521 ma->setContainer( meta ); 6522 ma->setDefaultString( "0"); 6523 ma->setIsRequired( false ); 6524 6525 meta->appendAttribute(ma); 6526 } 6527 6528 // Add attribute: param 6529 { 6530 daeMetaAttribute *ma = new daeMetaAttribute; 6531 ma->setName( "param" ); 6532 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6533 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPoint_size_min , attrParam )); 6534 ma->setContainer( meta ); 6535 ma->setIsRequired( false ); 6536 6537 meta->appendAttribute(ma); 6538 } 6539 6540 meta->setElementSize(sizeof(domGl_pipeline_settings::domPoint_size_min)); 6541 meta->validate(); 6542 6543 return meta; 6544 } 6545 6546 daeElementRef 6547 domGl_pipeline_settings::domPoint_size_max::create(DAE& dae) 6548 { 6549 domGl_pipeline_settings::domPoint_size_maxRef ref = new domGl_pipeline_settings::domPoint_size_max(dae); 6550 return ref; 6551 } 6552 6553 6554 daeMetaElement * 6555 domGl_pipeline_settings::domPoint_size_max::registerElement(DAE& dae) 6556 { 6557 daeMetaElement* meta = dae.getMeta(ID()); 6558 if ( meta != NULL ) return meta; 6559 6560 meta = new daeMetaElement(dae); 6561 dae.setMeta(ID(), *meta); 6562 meta->setName( "point_size_max" ); 6563 meta->registerClass(domGl_pipeline_settings::domPoint_size_max::create); 6564 6565 meta->setIsInnerClass( true ); 6566 6567 // Add attribute: value 6568 { 6569 daeMetaAttribute *ma = new daeMetaAttribute; 6570 ma->setName( "value" ); 6571 ma->setType( dae.getAtomicTypes().get("Float")); 6572 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPoint_size_max , attrValue )); 6573 ma->setContainer( meta ); 6574 ma->setDefaultString( "1"); 6575 ma->setIsRequired( false ); 6576 6577 meta->appendAttribute(ma); 6578 } 6579 6580 // Add attribute: param 6581 { 6582 daeMetaAttribute *ma = new daeMetaAttribute; 6583 ma->setName( "param" ); 6584 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6585 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPoint_size_max , attrParam )); 6586 ma->setContainer( meta ); 6587 ma->setIsRequired( false ); 6588 6589 meta->appendAttribute(ma); 6590 } 6591 6592 meta->setElementSize(sizeof(domGl_pipeline_settings::domPoint_size_max)); 6593 meta->validate(); 6594 6595 return meta; 6596 } 6597 6598 daeElementRef 6599 domGl_pipeline_settings::domPolygon_offset::create(DAE& dae) 6600 { 6601 domGl_pipeline_settings::domPolygon_offsetRef ref = new domGl_pipeline_settings::domPolygon_offset(dae); 6602 return ref; 6603 } 6604 6605 6606 daeMetaElement * 6607 domGl_pipeline_settings::domPolygon_offset::registerElement(DAE& dae) 6608 { 6609 daeMetaElement* meta = dae.getMeta(ID()); 6610 if ( meta != NULL ) return meta; 6611 6612 meta = new daeMetaElement(dae); 6613 dae.setMeta(ID(), *meta); 6614 meta->setName( "polygon_offset" ); 6615 meta->registerClass(domGl_pipeline_settings::domPolygon_offset::create); 6616 6617 meta->setIsInnerClass( true ); 6618 6619 // Add attribute: value 6620 { 6621 daeMetaAttribute *ma = new daeMetaArrayAttribute; 6622 ma->setName( "value" ); 6623 ma->setType( dae.getAtomicTypes().get("Float2")); 6624 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_offset , attrValue )); 6625 ma->setContainer( meta ); 6626 ma->setDefaultString( "0 0"); 6627 ma->setIsRequired( false ); 6628 6629 meta->appendAttribute(ma); 6630 } 6631 6632 // Add attribute: param 6633 { 6634 daeMetaAttribute *ma = new daeMetaAttribute; 6635 ma->setName( "param" ); 6636 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6637 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_offset , attrParam )); 6638 ma->setContainer( meta ); 6639 ma->setIsRequired( false ); 6640 6641 meta->appendAttribute(ma); 6642 } 6643 6644 meta->setElementSize(sizeof(domGl_pipeline_settings::domPolygon_offset)); 6645 meta->validate(); 6646 6647 return meta; 6648 } 6649 6650 daeElementRef 6651 domGl_pipeline_settings::domProjection_matrix::create(DAE& dae) 6652 { 6653 domGl_pipeline_settings::domProjection_matrixRef ref = new domGl_pipeline_settings::domProjection_matrix(dae); 6654 return ref; 6655 } 6656 6657 6658 daeMetaElement * 6659 domGl_pipeline_settings::domProjection_matrix::registerElement(DAE& dae) 6660 { 6661 daeMetaElement* meta = dae.getMeta(ID()); 6662 if ( meta != NULL ) return meta; 6663 6664 meta = new daeMetaElement(dae); 6665 dae.setMeta(ID(), *meta); 6666 meta->setName( "projection_matrix" ); 6667 meta->registerClass(domGl_pipeline_settings::domProjection_matrix::create); 6668 6669 meta->setIsInnerClass( true ); 6670 6671 // Add attribute: value 6672 { 6673 daeMetaAttribute *ma = new daeMetaArrayAttribute; 6674 ma->setName( "value" ); 6675 ma->setType( dae.getAtomicTypes().get("Float4x4")); 6676 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domProjection_matrix , attrValue )); 6677 ma->setContainer( meta ); 6678 ma->setDefaultString( "1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1"); 6679 ma->setIsRequired( false ); 6680 6681 meta->appendAttribute(ma); 6682 } 6683 6684 // Add attribute: param 6685 { 6686 daeMetaAttribute *ma = new daeMetaAttribute; 6687 ma->setName( "param" ); 6688 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6689 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domProjection_matrix , attrParam )); 6690 ma->setContainer( meta ); 6691 ma->setIsRequired( false ); 6692 6693 meta->appendAttribute(ma); 6694 } 6695 6696 meta->setElementSize(sizeof(domGl_pipeline_settings::domProjection_matrix)); 6697 meta->validate(); 6698 6699 return meta; 6700 } 6701 6702 daeElementRef 6703 domGl_pipeline_settings::domScissor::create(DAE& dae) 6704 { 6705 domGl_pipeline_settings::domScissorRef ref = new domGl_pipeline_settings::domScissor(dae); 6706 return ref; 6707 } 6708 6709 6710 daeMetaElement * 6711 domGl_pipeline_settings::domScissor::registerElement(DAE& dae) 6712 { 6713 daeMetaElement* meta = dae.getMeta(ID()); 6714 if ( meta != NULL ) return meta; 6715 6716 meta = new daeMetaElement(dae); 6717 dae.setMeta(ID(), *meta); 6718 meta->setName( "scissor" ); 6719 meta->registerClass(domGl_pipeline_settings::domScissor::create); 6720 6721 meta->setIsInnerClass( true ); 6722 6723 // Add attribute: value 6724 { 6725 daeMetaAttribute *ma = new daeMetaArrayAttribute; 6726 ma->setName( "value" ); 6727 ma->setType( dae.getAtomicTypes().get("Int4")); 6728 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domScissor , attrValue )); 6729 ma->setContainer( meta ); 6730 ma->setIsRequired( false ); 6731 6732 meta->appendAttribute(ma); 6733 } 6734 6735 // Add attribute: param 6736 { 6737 daeMetaAttribute *ma = new daeMetaAttribute; 6738 ma->setName( "param" ); 6739 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6740 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domScissor , attrParam )); 6741 ma->setContainer( meta ); 6742 ma->setIsRequired( false ); 6743 6744 meta->appendAttribute(ma); 6745 } 6746 6747 meta->setElementSize(sizeof(domGl_pipeline_settings::domScissor)); 6748 meta->validate(); 6749 6750 return meta; 6751 } 6752 6753 daeElementRef 6754 domGl_pipeline_settings::domStencil_mask::create(DAE& dae) 6755 { 6756 domGl_pipeline_settings::domStencil_maskRef ref = new domGl_pipeline_settings::domStencil_mask(dae); 6757 return ref; 6758 } 6759 6760 6761 daeMetaElement * 6762 domGl_pipeline_settings::domStencil_mask::registerElement(DAE& dae) 6763 { 6764 daeMetaElement* meta = dae.getMeta(ID()); 6765 if ( meta != NULL ) return meta; 6766 6767 meta = new daeMetaElement(dae); 6768 dae.setMeta(ID(), *meta); 6769 meta->setName( "stencil_mask" ); 6770 meta->registerClass(domGl_pipeline_settings::domStencil_mask::create); 6771 6772 meta->setIsInnerClass( true ); 6773 6774 // Add attribute: value 6775 { 6776 daeMetaAttribute *ma = new daeMetaAttribute; 6777 ma->setName( "value" ); 6778 ma->setType( dae.getAtomicTypes().get("Int")); 6779 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_mask , attrValue )); 6780 ma->setContainer( meta ); 6781 ma->setDefaultString( "4294967295"); 6782 ma->setIsRequired( false ); 6783 6784 meta->appendAttribute(ma); 6785 } 6786 6787 // Add attribute: param 6788 { 6789 daeMetaAttribute *ma = new daeMetaAttribute; 6790 ma->setName( "param" ); 6791 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6792 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_mask , attrParam )); 6793 ma->setContainer( meta ); 6794 ma->setIsRequired( false ); 6795 6796 meta->appendAttribute(ma); 6797 } 6798 6799 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_mask)); 6800 meta->validate(); 6801 6802 return meta; 6803 } 6804 6805 daeElementRef 6806 domGl_pipeline_settings::domAlpha_test_enable::create(DAE& dae) 6807 { 6808 domGl_pipeline_settings::domAlpha_test_enableRef ref = new domGl_pipeline_settings::domAlpha_test_enable(dae); 6809 return ref; 6810 } 6811 6812 6813 daeMetaElement * 6814 domGl_pipeline_settings::domAlpha_test_enable::registerElement(DAE& dae) 6815 { 6816 daeMetaElement* meta = dae.getMeta(ID()); 6817 if ( meta != NULL ) return meta; 6818 6819 meta = new daeMetaElement(dae); 6820 dae.setMeta(ID(), *meta); 6821 meta->setName( "alpha_test_enable" ); 6822 meta->registerClass(domGl_pipeline_settings::domAlpha_test_enable::create); 6823 6824 meta->setIsInnerClass( true ); 6825 6826 // Add attribute: value 6827 { 6828 daeMetaAttribute *ma = new daeMetaAttribute; 6829 ma->setName( "value" ); 6830 ma->setType( dae.getAtomicTypes().get("Bool")); 6831 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domAlpha_test_enable , attrValue )); 6832 ma->setContainer( meta ); 6833 ma->setDefaultString( "false"); 6834 ma->setIsRequired( false ); 6835 6836 meta->appendAttribute(ma); 6837 } 6838 6839 // Add attribute: param 6840 { 6841 daeMetaAttribute *ma = new daeMetaAttribute; 6842 ma->setName( "param" ); 6843 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6844 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domAlpha_test_enable , attrParam )); 6845 ma->setContainer( meta ); 6846 ma->setIsRequired( false ); 6847 6848 meta->appendAttribute(ma); 6849 } 6850 6851 meta->setElementSize(sizeof(domGl_pipeline_settings::domAlpha_test_enable)); 6852 meta->validate(); 6853 6854 return meta; 6855 } 6856 6857 daeElementRef 6858 domGl_pipeline_settings::domAuto_normal_enable::create(DAE& dae) 6859 { 6860 domGl_pipeline_settings::domAuto_normal_enableRef ref = new domGl_pipeline_settings::domAuto_normal_enable(dae); 6861 return ref; 6862 } 6863 6864 6865 daeMetaElement * 6866 domGl_pipeline_settings::domAuto_normal_enable::registerElement(DAE& dae) 6867 { 6868 daeMetaElement* meta = dae.getMeta(ID()); 6869 if ( meta != NULL ) return meta; 6870 6871 meta = new daeMetaElement(dae); 6872 dae.setMeta(ID(), *meta); 6873 meta->setName( "auto_normal_enable" ); 6874 meta->registerClass(domGl_pipeline_settings::domAuto_normal_enable::create); 6875 6876 meta->setIsInnerClass( true ); 6877 6878 // Add attribute: value 6879 { 6880 daeMetaAttribute *ma = new daeMetaAttribute; 6881 ma->setName( "value" ); 6882 ma->setType( dae.getAtomicTypes().get("Bool")); 6883 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domAuto_normal_enable , attrValue )); 6884 ma->setContainer( meta ); 6885 ma->setDefaultString( "false"); 6886 ma->setIsRequired( false ); 6887 6888 meta->appendAttribute(ma); 6889 } 6890 6891 // Add attribute: param 6892 { 6893 daeMetaAttribute *ma = new daeMetaAttribute; 6894 ma->setName( "param" ); 6895 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6896 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domAuto_normal_enable , attrParam )); 6897 ma->setContainer( meta ); 6898 ma->setIsRequired( false ); 6899 6900 meta->appendAttribute(ma); 6901 } 6902 6903 meta->setElementSize(sizeof(domGl_pipeline_settings::domAuto_normal_enable)); 6904 meta->validate(); 6905 6906 return meta; 6907 } 6908 6909 daeElementRef 6910 domGl_pipeline_settings::domBlend_enable::create(DAE& dae) 6911 { 6912 domGl_pipeline_settings::domBlend_enableRef ref = new domGl_pipeline_settings::domBlend_enable(dae); 6913 return ref; 6914 } 6915 6916 6917 daeMetaElement * 6918 domGl_pipeline_settings::domBlend_enable::registerElement(DAE& dae) 6919 { 6920 daeMetaElement* meta = dae.getMeta(ID()); 6921 if ( meta != NULL ) return meta; 6922 6923 meta = new daeMetaElement(dae); 6924 dae.setMeta(ID(), *meta); 6925 meta->setName( "blend_enable" ); 6926 meta->registerClass(domGl_pipeline_settings::domBlend_enable::create); 6927 6928 meta->setIsInnerClass( true ); 6929 6930 // Add attribute: value 6931 { 6932 daeMetaAttribute *ma = new daeMetaAttribute; 6933 ma->setName( "value" ); 6934 ma->setType( dae.getAtomicTypes().get("Bool")); 6935 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_enable , attrValue )); 6936 ma->setContainer( meta ); 6937 ma->setDefaultString( "false"); 6938 ma->setIsRequired( false ); 6939 6940 meta->appendAttribute(ma); 6941 } 6942 6943 // Add attribute: param 6944 { 6945 daeMetaAttribute *ma = new daeMetaAttribute; 6946 ma->setName( "param" ); 6947 ma->setType( dae.getAtomicTypes().get("xsNCName")); 6948 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domBlend_enable , attrParam )); 6949 ma->setContainer( meta ); 6950 ma->setIsRequired( false ); 6951 6952 meta->appendAttribute(ma); 6953 } 6954 6955 meta->setElementSize(sizeof(domGl_pipeline_settings::domBlend_enable)); 6956 meta->validate(); 6957 6958 return meta; 6959 } 6960 6961 daeElementRef 6962 domGl_pipeline_settings::domColor_logic_op_enable::create(DAE& dae) 6963 { 6964 domGl_pipeline_settings::domColor_logic_op_enableRef ref = new domGl_pipeline_settings::domColor_logic_op_enable(dae); 6965 return ref; 6966 } 6967 6968 6969 daeMetaElement * 6970 domGl_pipeline_settings::domColor_logic_op_enable::registerElement(DAE& dae) 6971 { 6972 daeMetaElement* meta = dae.getMeta(ID()); 6973 if ( meta != NULL ) return meta; 6974 6975 meta = new daeMetaElement(dae); 6976 dae.setMeta(ID(), *meta); 6977 meta->setName( "color_logic_op_enable" ); 6978 meta->registerClass(domGl_pipeline_settings::domColor_logic_op_enable::create); 6979 6980 meta->setIsInnerClass( true ); 6981 6982 // Add attribute: value 6983 { 6984 daeMetaAttribute *ma = new daeMetaAttribute; 6985 ma->setName( "value" ); 6986 ma->setType( dae.getAtomicTypes().get("Bool")); 6987 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domColor_logic_op_enable , attrValue )); 6988 ma->setContainer( meta ); 6989 ma->setDefaultString( "false"); 6990 ma->setIsRequired( false ); 6991 6992 meta->appendAttribute(ma); 6993 } 6994 6995 // Add attribute: param 6996 { 6997 daeMetaAttribute *ma = new daeMetaAttribute; 6998 ma->setName( "param" ); 6999 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7000 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domColor_logic_op_enable , attrParam )); 7001 ma->setContainer( meta ); 7002 ma->setIsRequired( false ); 7003 7004 meta->appendAttribute(ma); 7005 } 7006 7007 meta->setElementSize(sizeof(domGl_pipeline_settings::domColor_logic_op_enable)); 7008 meta->validate(); 7009 7010 return meta; 7011 } 7012 7013 daeElementRef 7014 domGl_pipeline_settings::domColor_material_enable::create(DAE& dae) 7015 { 7016 domGl_pipeline_settings::domColor_material_enableRef ref = new domGl_pipeline_settings::domColor_material_enable(dae); 7017 return ref; 7018 } 7019 7020 7021 daeMetaElement * 7022 domGl_pipeline_settings::domColor_material_enable::registerElement(DAE& dae) 7023 { 7024 daeMetaElement* meta = dae.getMeta(ID()); 7025 if ( meta != NULL ) return meta; 7026 7027 meta = new daeMetaElement(dae); 7028 dae.setMeta(ID(), *meta); 7029 meta->setName( "color_material_enable" ); 7030 meta->registerClass(domGl_pipeline_settings::domColor_material_enable::create); 7031 7032 meta->setIsInnerClass( true ); 7033 7034 // Add attribute: value 7035 { 7036 daeMetaAttribute *ma = new daeMetaAttribute; 7037 ma->setName( "value" ); 7038 ma->setType( dae.getAtomicTypes().get("Bool")); 7039 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domColor_material_enable , attrValue )); 7040 ma->setContainer( meta ); 7041 ma->setDefaultString( "true"); 7042 ma->setIsRequired( false ); 7043 7044 meta->appendAttribute(ma); 7045 } 7046 7047 // Add attribute: param 7048 { 7049 daeMetaAttribute *ma = new daeMetaAttribute; 7050 ma->setName( "param" ); 7051 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7052 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domColor_material_enable , attrParam )); 7053 ma->setContainer( meta ); 7054 ma->setIsRequired( false ); 7055 7056 meta->appendAttribute(ma); 7057 } 7058 7059 meta->setElementSize(sizeof(domGl_pipeline_settings::domColor_material_enable)); 7060 meta->validate(); 7061 7062 return meta; 7063 } 7064 7065 daeElementRef 7066 domGl_pipeline_settings::domCull_face_enable::create(DAE& dae) 7067 { 7068 domGl_pipeline_settings::domCull_face_enableRef ref = new domGl_pipeline_settings::domCull_face_enable(dae); 7069 return ref; 7070 } 7071 7072 7073 daeMetaElement * 7074 domGl_pipeline_settings::domCull_face_enable::registerElement(DAE& dae) 7075 { 7076 daeMetaElement* meta = dae.getMeta(ID()); 7077 if ( meta != NULL ) return meta; 7078 7079 meta = new daeMetaElement(dae); 7080 dae.setMeta(ID(), *meta); 7081 meta->setName( "cull_face_enable" ); 7082 meta->registerClass(domGl_pipeline_settings::domCull_face_enable::create); 7083 7084 meta->setIsInnerClass( true ); 7085 7086 // Add attribute: value 7087 { 7088 daeMetaAttribute *ma = new daeMetaAttribute; 7089 ma->setName( "value" ); 7090 ma->setType( dae.getAtomicTypes().get("Bool")); 7091 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domCull_face_enable , attrValue )); 7092 ma->setContainer( meta ); 7093 ma->setDefaultString( "false"); 7094 ma->setIsRequired( false ); 7095 7096 meta->appendAttribute(ma); 7097 } 7098 7099 // Add attribute: param 7100 { 7101 daeMetaAttribute *ma = new daeMetaAttribute; 7102 ma->setName( "param" ); 7103 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7104 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domCull_face_enable , attrParam )); 7105 ma->setContainer( meta ); 7106 ma->setIsRequired( false ); 7107 7108 meta->appendAttribute(ma); 7109 } 7110 7111 meta->setElementSize(sizeof(domGl_pipeline_settings::domCull_face_enable)); 7112 meta->validate(); 7113 7114 return meta; 7115 } 7116 7117 daeElementRef 7118 domGl_pipeline_settings::domDepth_bounds_enable::create(DAE& dae) 7119 { 7120 domGl_pipeline_settings::domDepth_bounds_enableRef ref = new domGl_pipeline_settings::domDepth_bounds_enable(dae); 7121 return ref; 7122 } 7123 7124 7125 daeMetaElement * 7126 domGl_pipeline_settings::domDepth_bounds_enable::registerElement(DAE& dae) 7127 { 7128 daeMetaElement* meta = dae.getMeta(ID()); 7129 if ( meta != NULL ) return meta; 7130 7131 meta = new daeMetaElement(dae); 7132 dae.setMeta(ID(), *meta); 7133 meta->setName( "depth_bounds_enable" ); 7134 meta->registerClass(domGl_pipeline_settings::domDepth_bounds_enable::create); 7135 7136 meta->setIsInnerClass( true ); 7137 7138 // Add attribute: value 7139 { 7140 daeMetaAttribute *ma = new daeMetaAttribute; 7141 ma->setName( "value" ); 7142 ma->setType( dae.getAtomicTypes().get("Bool")); 7143 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDepth_bounds_enable , attrValue )); 7144 ma->setContainer( meta ); 7145 ma->setDefaultString( "false"); 7146 ma->setIsRequired( false ); 7147 7148 meta->appendAttribute(ma); 7149 } 7150 7151 // Add attribute: param 7152 { 7153 daeMetaAttribute *ma = new daeMetaAttribute; 7154 ma->setName( "param" ); 7155 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7156 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDepth_bounds_enable , attrParam )); 7157 ma->setContainer( meta ); 7158 ma->setIsRequired( false ); 7159 7160 meta->appendAttribute(ma); 7161 } 7162 7163 meta->setElementSize(sizeof(domGl_pipeline_settings::domDepth_bounds_enable)); 7164 meta->validate(); 7165 7166 return meta; 7167 } 7168 7169 daeElementRef 7170 domGl_pipeline_settings::domDepth_clamp_enable::create(DAE& dae) 7171 { 7172 domGl_pipeline_settings::domDepth_clamp_enableRef ref = new domGl_pipeline_settings::domDepth_clamp_enable(dae); 7173 return ref; 7174 } 7175 7176 7177 daeMetaElement * 7178 domGl_pipeline_settings::domDepth_clamp_enable::registerElement(DAE& dae) 7179 { 7180 daeMetaElement* meta = dae.getMeta(ID()); 7181 if ( meta != NULL ) return meta; 7182 7183 meta = new daeMetaElement(dae); 7184 dae.setMeta(ID(), *meta); 7185 meta->setName( "depth_clamp_enable" ); 7186 meta->registerClass(domGl_pipeline_settings::domDepth_clamp_enable::create); 7187 7188 meta->setIsInnerClass( true ); 7189 7190 // Add attribute: value 7191 { 7192 daeMetaAttribute *ma = new daeMetaAttribute; 7193 ma->setName( "value" ); 7194 ma->setType( dae.getAtomicTypes().get("Bool")); 7195 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDepth_clamp_enable , attrValue )); 7196 ma->setContainer( meta ); 7197 ma->setDefaultString( "false"); 7198 ma->setIsRequired( false ); 7199 7200 meta->appendAttribute(ma); 7201 } 7202 7203 // Add attribute: param 7204 { 7205 daeMetaAttribute *ma = new daeMetaAttribute; 7206 ma->setName( "param" ); 7207 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7208 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDepth_clamp_enable , attrParam )); 7209 ma->setContainer( meta ); 7210 ma->setIsRequired( false ); 7211 7212 meta->appendAttribute(ma); 7213 } 7214 7215 meta->setElementSize(sizeof(domGl_pipeline_settings::domDepth_clamp_enable)); 7216 meta->validate(); 7217 7218 return meta; 7219 } 7220 7221 daeElementRef 7222 domGl_pipeline_settings::domDepth_test_enable::create(DAE& dae) 7223 { 7224 domGl_pipeline_settings::domDepth_test_enableRef ref = new domGl_pipeline_settings::domDepth_test_enable(dae); 7225 return ref; 7226 } 7227 7228 7229 daeMetaElement * 7230 domGl_pipeline_settings::domDepth_test_enable::registerElement(DAE& dae) 7231 { 7232 daeMetaElement* meta = dae.getMeta(ID()); 7233 if ( meta != NULL ) return meta; 7234 7235 meta = new daeMetaElement(dae); 7236 dae.setMeta(ID(), *meta); 7237 meta->setName( "depth_test_enable" ); 7238 meta->registerClass(domGl_pipeline_settings::domDepth_test_enable::create); 7239 7240 meta->setIsInnerClass( true ); 7241 7242 // Add attribute: value 7243 { 7244 daeMetaAttribute *ma = new daeMetaAttribute; 7245 ma->setName( "value" ); 7246 ma->setType( dae.getAtomicTypes().get("Bool")); 7247 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDepth_test_enable , attrValue )); 7248 ma->setContainer( meta ); 7249 ma->setDefaultString( "false"); 7250 ma->setIsRequired( false ); 7251 7252 meta->appendAttribute(ma); 7253 } 7254 7255 // Add attribute: param 7256 { 7257 daeMetaAttribute *ma = new daeMetaAttribute; 7258 ma->setName( "param" ); 7259 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7260 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDepth_test_enable , attrParam )); 7261 ma->setContainer( meta ); 7262 ma->setIsRequired( false ); 7263 7264 meta->appendAttribute(ma); 7265 } 7266 7267 meta->setElementSize(sizeof(domGl_pipeline_settings::domDepth_test_enable)); 7268 meta->validate(); 7269 7270 return meta; 7271 } 7272 7273 daeElementRef 7274 domGl_pipeline_settings::domDither_enable::create(DAE& dae) 7275 { 7276 domGl_pipeline_settings::domDither_enableRef ref = new domGl_pipeline_settings::domDither_enable(dae); 7277 return ref; 7278 } 7279 7280 7281 daeMetaElement * 7282 domGl_pipeline_settings::domDither_enable::registerElement(DAE& dae) 7283 { 7284 daeMetaElement* meta = dae.getMeta(ID()); 7285 if ( meta != NULL ) return meta; 7286 7287 meta = new daeMetaElement(dae); 7288 dae.setMeta(ID(), *meta); 7289 meta->setName( "dither_enable" ); 7290 meta->registerClass(domGl_pipeline_settings::domDither_enable::create); 7291 7292 meta->setIsInnerClass( true ); 7293 7294 // Add attribute: value 7295 { 7296 daeMetaAttribute *ma = new daeMetaAttribute; 7297 ma->setName( "value" ); 7298 ma->setType( dae.getAtomicTypes().get("Bool")); 7299 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDither_enable , attrValue )); 7300 ma->setContainer( meta ); 7301 ma->setDefaultString( "true"); 7302 ma->setIsRequired( false ); 7303 7304 meta->appendAttribute(ma); 7305 } 7306 7307 // Add attribute: param 7308 { 7309 daeMetaAttribute *ma = new daeMetaAttribute; 7310 ma->setName( "param" ); 7311 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7312 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domDither_enable , attrParam )); 7313 ma->setContainer( meta ); 7314 ma->setIsRequired( false ); 7315 7316 meta->appendAttribute(ma); 7317 } 7318 7319 meta->setElementSize(sizeof(domGl_pipeline_settings::domDither_enable)); 7320 meta->validate(); 7321 7322 return meta; 7323 } 7324 7325 daeElementRef 7326 domGl_pipeline_settings::domFog_enable::create(DAE& dae) 7327 { 7328 domGl_pipeline_settings::domFog_enableRef ref = new domGl_pipeline_settings::domFog_enable(dae); 7329 return ref; 7330 } 7331 7332 7333 daeMetaElement * 7334 domGl_pipeline_settings::domFog_enable::registerElement(DAE& dae) 7335 { 7336 daeMetaElement* meta = dae.getMeta(ID()); 7337 if ( meta != NULL ) return meta; 7338 7339 meta = new daeMetaElement(dae); 7340 dae.setMeta(ID(), *meta); 7341 meta->setName( "fog_enable" ); 7342 meta->registerClass(domGl_pipeline_settings::domFog_enable::create); 7343 7344 meta->setIsInnerClass( true ); 7345 7346 // Add attribute: value 7347 { 7348 daeMetaAttribute *ma = new daeMetaAttribute; 7349 ma->setName( "value" ); 7350 ma->setType( dae.getAtomicTypes().get("Bool")); 7351 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFog_enable , attrValue )); 7352 ma->setContainer( meta ); 7353 ma->setDefaultString( "false"); 7354 ma->setIsRequired( false ); 7355 7356 meta->appendAttribute(ma); 7357 } 7358 7359 // Add attribute: param 7360 { 7361 daeMetaAttribute *ma = new daeMetaAttribute; 7362 ma->setName( "param" ); 7363 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7364 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domFog_enable , attrParam )); 7365 ma->setContainer( meta ); 7366 ma->setIsRequired( false ); 7367 7368 meta->appendAttribute(ma); 7369 } 7370 7371 meta->setElementSize(sizeof(domGl_pipeline_settings::domFog_enable)); 7372 meta->validate(); 7373 7374 return meta; 7375 } 7376 7377 daeElementRef 7378 domGl_pipeline_settings::domLight_model_local_viewer_enable::create(DAE& dae) 7379 { 7380 domGl_pipeline_settings::domLight_model_local_viewer_enableRef ref = new domGl_pipeline_settings::domLight_model_local_viewer_enable(dae); 7381 return ref; 7382 } 7383 7384 7385 daeMetaElement * 7386 domGl_pipeline_settings::domLight_model_local_viewer_enable::registerElement(DAE& dae) 7387 { 7388 daeMetaElement* meta = dae.getMeta(ID()); 7389 if ( meta != NULL ) return meta; 7390 7391 meta = new daeMetaElement(dae); 7392 dae.setMeta(ID(), *meta); 7393 meta->setName( "light_model_local_viewer_enable" ); 7394 meta->registerClass(domGl_pipeline_settings::domLight_model_local_viewer_enable::create); 7395 7396 meta->setIsInnerClass( true ); 7397 7398 // Add attribute: value 7399 { 7400 daeMetaAttribute *ma = new daeMetaAttribute; 7401 ma->setName( "value" ); 7402 ma->setType( dae.getAtomicTypes().get("Bool")); 7403 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_model_local_viewer_enable , attrValue )); 7404 ma->setContainer( meta ); 7405 ma->setDefaultString( "false"); 7406 ma->setIsRequired( false ); 7407 7408 meta->appendAttribute(ma); 7409 } 7410 7411 // Add attribute: param 7412 { 7413 daeMetaAttribute *ma = new daeMetaAttribute; 7414 ma->setName( "param" ); 7415 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7416 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_model_local_viewer_enable , attrParam )); 7417 ma->setContainer( meta ); 7418 ma->setIsRequired( false ); 7419 7420 meta->appendAttribute(ma); 7421 } 7422 7423 meta->setElementSize(sizeof(domGl_pipeline_settings::domLight_model_local_viewer_enable)); 7424 meta->validate(); 7425 7426 return meta; 7427 } 7428 7429 daeElementRef 7430 domGl_pipeline_settings::domLight_model_two_side_enable::create(DAE& dae) 7431 { 7432 domGl_pipeline_settings::domLight_model_two_side_enableRef ref = new domGl_pipeline_settings::domLight_model_two_side_enable(dae); 7433 return ref; 7434 } 7435 7436 7437 daeMetaElement * 7438 domGl_pipeline_settings::domLight_model_two_side_enable::registerElement(DAE& dae) 7439 { 7440 daeMetaElement* meta = dae.getMeta(ID()); 7441 if ( meta != NULL ) return meta; 7442 7443 meta = new daeMetaElement(dae); 7444 dae.setMeta(ID(), *meta); 7445 meta->setName( "light_model_two_side_enable" ); 7446 meta->registerClass(domGl_pipeline_settings::domLight_model_two_side_enable::create); 7447 7448 meta->setIsInnerClass( true ); 7449 7450 // Add attribute: value 7451 { 7452 daeMetaAttribute *ma = new daeMetaAttribute; 7453 ma->setName( "value" ); 7454 ma->setType( dae.getAtomicTypes().get("Bool")); 7455 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_model_two_side_enable , attrValue )); 7456 ma->setContainer( meta ); 7457 ma->setDefaultString( "false"); 7458 ma->setIsRequired( false ); 7459 7460 meta->appendAttribute(ma); 7461 } 7462 7463 // Add attribute: param 7464 { 7465 daeMetaAttribute *ma = new daeMetaAttribute; 7466 ma->setName( "param" ); 7467 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7468 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLight_model_two_side_enable , attrParam )); 7469 ma->setContainer( meta ); 7470 ma->setIsRequired( false ); 7471 7472 meta->appendAttribute(ma); 7473 } 7474 7475 meta->setElementSize(sizeof(domGl_pipeline_settings::domLight_model_two_side_enable)); 7476 meta->validate(); 7477 7478 return meta; 7479 } 7480 7481 daeElementRef 7482 domGl_pipeline_settings::domLine_smooth_enable::create(DAE& dae) 7483 { 7484 domGl_pipeline_settings::domLine_smooth_enableRef ref = new domGl_pipeline_settings::domLine_smooth_enable(dae); 7485 return ref; 7486 } 7487 7488 7489 daeMetaElement * 7490 domGl_pipeline_settings::domLine_smooth_enable::registerElement(DAE& dae) 7491 { 7492 daeMetaElement* meta = dae.getMeta(ID()); 7493 if ( meta != NULL ) return meta; 7494 7495 meta = new daeMetaElement(dae); 7496 dae.setMeta(ID(), *meta); 7497 meta->setName( "line_smooth_enable" ); 7498 meta->registerClass(domGl_pipeline_settings::domLine_smooth_enable::create); 7499 7500 meta->setIsInnerClass( true ); 7501 7502 // Add attribute: value 7503 { 7504 daeMetaAttribute *ma = new daeMetaAttribute; 7505 ma->setName( "value" ); 7506 ma->setType( dae.getAtomicTypes().get("Bool")); 7507 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLine_smooth_enable , attrValue )); 7508 ma->setContainer( meta ); 7509 ma->setDefaultString( "false"); 7510 ma->setIsRequired( false ); 7511 7512 meta->appendAttribute(ma); 7513 } 7514 7515 // Add attribute: param 7516 { 7517 daeMetaAttribute *ma = new daeMetaAttribute; 7518 ma->setName( "param" ); 7519 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7520 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLine_smooth_enable , attrParam )); 7521 ma->setContainer( meta ); 7522 ma->setIsRequired( false ); 7523 7524 meta->appendAttribute(ma); 7525 } 7526 7527 meta->setElementSize(sizeof(domGl_pipeline_settings::domLine_smooth_enable)); 7528 meta->validate(); 7529 7530 return meta; 7531 } 7532 7533 daeElementRef 7534 domGl_pipeline_settings::domLine_stipple_enable::create(DAE& dae) 7535 { 7536 domGl_pipeline_settings::domLine_stipple_enableRef ref = new domGl_pipeline_settings::domLine_stipple_enable(dae); 7537 return ref; 7538 } 7539 7540 7541 daeMetaElement * 7542 domGl_pipeline_settings::domLine_stipple_enable::registerElement(DAE& dae) 7543 { 7544 daeMetaElement* meta = dae.getMeta(ID()); 7545 if ( meta != NULL ) return meta; 7546 7547 meta = new daeMetaElement(dae); 7548 dae.setMeta(ID(), *meta); 7549 meta->setName( "line_stipple_enable" ); 7550 meta->registerClass(domGl_pipeline_settings::domLine_stipple_enable::create); 7551 7552 meta->setIsInnerClass( true ); 7553 7554 // Add attribute: value 7555 { 7556 daeMetaAttribute *ma = new daeMetaAttribute; 7557 ma->setName( "value" ); 7558 ma->setType( dae.getAtomicTypes().get("Bool")); 7559 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLine_stipple_enable , attrValue )); 7560 ma->setContainer( meta ); 7561 ma->setDefaultString( "false"); 7562 ma->setIsRequired( false ); 7563 7564 meta->appendAttribute(ma); 7565 } 7566 7567 // Add attribute: param 7568 { 7569 daeMetaAttribute *ma = new daeMetaAttribute; 7570 ma->setName( "param" ); 7571 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7572 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLine_stipple_enable , attrParam )); 7573 ma->setContainer( meta ); 7574 ma->setIsRequired( false ); 7575 7576 meta->appendAttribute(ma); 7577 } 7578 7579 meta->setElementSize(sizeof(domGl_pipeline_settings::domLine_stipple_enable)); 7580 meta->validate(); 7581 7582 return meta; 7583 } 7584 7585 daeElementRef 7586 domGl_pipeline_settings::domLogic_op_enable::create(DAE& dae) 7587 { 7588 domGl_pipeline_settings::domLogic_op_enableRef ref = new domGl_pipeline_settings::domLogic_op_enable(dae); 7589 return ref; 7590 } 7591 7592 7593 daeMetaElement * 7594 domGl_pipeline_settings::domLogic_op_enable::registerElement(DAE& dae) 7595 { 7596 daeMetaElement* meta = dae.getMeta(ID()); 7597 if ( meta != NULL ) return meta; 7598 7599 meta = new daeMetaElement(dae); 7600 dae.setMeta(ID(), *meta); 7601 meta->setName( "logic_op_enable" ); 7602 meta->registerClass(domGl_pipeline_settings::domLogic_op_enable::create); 7603 7604 meta->setIsInnerClass( true ); 7605 7606 // Add attribute: value 7607 { 7608 daeMetaAttribute *ma = new daeMetaAttribute; 7609 ma->setName( "value" ); 7610 ma->setType( dae.getAtomicTypes().get("Bool")); 7611 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLogic_op_enable , attrValue )); 7612 ma->setContainer( meta ); 7613 ma->setDefaultString( "false"); 7614 ma->setIsRequired( false ); 7615 7616 meta->appendAttribute(ma); 7617 } 7618 7619 // Add attribute: param 7620 { 7621 daeMetaAttribute *ma = new daeMetaAttribute; 7622 ma->setName( "param" ); 7623 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7624 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domLogic_op_enable , attrParam )); 7625 ma->setContainer( meta ); 7626 ma->setIsRequired( false ); 7627 7628 meta->appendAttribute(ma); 7629 } 7630 7631 meta->setElementSize(sizeof(domGl_pipeline_settings::domLogic_op_enable)); 7632 meta->validate(); 7633 7634 return meta; 7635 } 7636 7637 daeElementRef 7638 domGl_pipeline_settings::domMultisample_enable::create(DAE& dae) 7639 { 7640 domGl_pipeline_settings::domMultisample_enableRef ref = new domGl_pipeline_settings::domMultisample_enable(dae); 7641 return ref; 7642 } 7643 7644 7645 daeMetaElement * 7646 domGl_pipeline_settings::domMultisample_enable::registerElement(DAE& dae) 7647 { 7648 daeMetaElement* meta = dae.getMeta(ID()); 7649 if ( meta != NULL ) return meta; 7650 7651 meta = new daeMetaElement(dae); 7652 dae.setMeta(ID(), *meta); 7653 meta->setName( "multisample_enable" ); 7654 meta->registerClass(domGl_pipeline_settings::domMultisample_enable::create); 7655 7656 meta->setIsInnerClass( true ); 7657 7658 // Add attribute: value 7659 { 7660 daeMetaAttribute *ma = new daeMetaAttribute; 7661 ma->setName( "value" ); 7662 ma->setType( dae.getAtomicTypes().get("Bool")); 7663 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domMultisample_enable , attrValue )); 7664 ma->setContainer( meta ); 7665 ma->setDefaultString( "false"); 7666 ma->setIsRequired( false ); 7667 7668 meta->appendAttribute(ma); 7669 } 7670 7671 // Add attribute: param 7672 { 7673 daeMetaAttribute *ma = new daeMetaAttribute; 7674 ma->setName( "param" ); 7675 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7676 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domMultisample_enable , attrParam )); 7677 ma->setContainer( meta ); 7678 ma->setIsRequired( false ); 7679 7680 meta->appendAttribute(ma); 7681 } 7682 7683 meta->setElementSize(sizeof(domGl_pipeline_settings::domMultisample_enable)); 7684 meta->validate(); 7685 7686 return meta; 7687 } 7688 7689 daeElementRef 7690 domGl_pipeline_settings::domNormalize_enable::create(DAE& dae) 7691 { 7692 domGl_pipeline_settings::domNormalize_enableRef ref = new domGl_pipeline_settings::domNormalize_enable(dae); 7693 return ref; 7694 } 7695 7696 7697 daeMetaElement * 7698 domGl_pipeline_settings::domNormalize_enable::registerElement(DAE& dae) 7699 { 7700 daeMetaElement* meta = dae.getMeta(ID()); 7701 if ( meta != NULL ) return meta; 7702 7703 meta = new daeMetaElement(dae); 7704 dae.setMeta(ID(), *meta); 7705 meta->setName( "normalize_enable" ); 7706 meta->registerClass(domGl_pipeline_settings::domNormalize_enable::create); 7707 7708 meta->setIsInnerClass( true ); 7709 7710 // Add attribute: value 7711 { 7712 daeMetaAttribute *ma = new daeMetaAttribute; 7713 ma->setName( "value" ); 7714 ma->setType( dae.getAtomicTypes().get("Bool")); 7715 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domNormalize_enable , attrValue )); 7716 ma->setContainer( meta ); 7717 ma->setDefaultString( "false"); 7718 ma->setIsRequired( false ); 7719 7720 meta->appendAttribute(ma); 7721 } 7722 7723 // Add attribute: param 7724 { 7725 daeMetaAttribute *ma = new daeMetaAttribute; 7726 ma->setName( "param" ); 7727 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7728 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domNormalize_enable , attrParam )); 7729 ma->setContainer( meta ); 7730 ma->setIsRequired( false ); 7731 7732 meta->appendAttribute(ma); 7733 } 7734 7735 meta->setElementSize(sizeof(domGl_pipeline_settings::domNormalize_enable)); 7736 meta->validate(); 7737 7738 return meta; 7739 } 7740 7741 daeElementRef 7742 domGl_pipeline_settings::domPoint_smooth_enable::create(DAE& dae) 7743 { 7744 domGl_pipeline_settings::domPoint_smooth_enableRef ref = new domGl_pipeline_settings::domPoint_smooth_enable(dae); 7745 return ref; 7746 } 7747 7748 7749 daeMetaElement * 7750 domGl_pipeline_settings::domPoint_smooth_enable::registerElement(DAE& dae) 7751 { 7752 daeMetaElement* meta = dae.getMeta(ID()); 7753 if ( meta != NULL ) return meta; 7754 7755 meta = new daeMetaElement(dae); 7756 dae.setMeta(ID(), *meta); 7757 meta->setName( "point_smooth_enable" ); 7758 meta->registerClass(domGl_pipeline_settings::domPoint_smooth_enable::create); 7759 7760 meta->setIsInnerClass( true ); 7761 7762 // Add attribute: value 7763 { 7764 daeMetaAttribute *ma = new daeMetaAttribute; 7765 ma->setName( "value" ); 7766 ma->setType( dae.getAtomicTypes().get("Bool")); 7767 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPoint_smooth_enable , attrValue )); 7768 ma->setContainer( meta ); 7769 ma->setDefaultString( "false"); 7770 ma->setIsRequired( false ); 7771 7772 meta->appendAttribute(ma); 7773 } 7774 7775 // Add attribute: param 7776 { 7777 daeMetaAttribute *ma = new daeMetaAttribute; 7778 ma->setName( "param" ); 7779 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7780 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPoint_smooth_enable , attrParam )); 7781 ma->setContainer( meta ); 7782 ma->setIsRequired( false ); 7783 7784 meta->appendAttribute(ma); 7785 } 7786 7787 meta->setElementSize(sizeof(domGl_pipeline_settings::domPoint_smooth_enable)); 7788 meta->validate(); 7789 7790 return meta; 7791 } 7792 7793 daeElementRef 7794 domGl_pipeline_settings::domPolygon_offset_fill_enable::create(DAE& dae) 7795 { 7796 domGl_pipeline_settings::domPolygon_offset_fill_enableRef ref = new domGl_pipeline_settings::domPolygon_offset_fill_enable(dae); 7797 return ref; 7798 } 7799 7800 7801 daeMetaElement * 7802 domGl_pipeline_settings::domPolygon_offset_fill_enable::registerElement(DAE& dae) 7803 { 7804 daeMetaElement* meta = dae.getMeta(ID()); 7805 if ( meta != NULL ) return meta; 7806 7807 meta = new daeMetaElement(dae); 7808 dae.setMeta(ID(), *meta); 7809 meta->setName( "polygon_offset_fill_enable" ); 7810 meta->registerClass(domGl_pipeline_settings::domPolygon_offset_fill_enable::create); 7811 7812 meta->setIsInnerClass( true ); 7813 7814 // Add attribute: value 7815 { 7816 daeMetaAttribute *ma = new daeMetaAttribute; 7817 ma->setName( "value" ); 7818 ma->setType( dae.getAtomicTypes().get("Bool")); 7819 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_offset_fill_enable , attrValue )); 7820 ma->setContainer( meta ); 7821 ma->setDefaultString( "false"); 7822 ma->setIsRequired( false ); 7823 7824 meta->appendAttribute(ma); 7825 } 7826 7827 // Add attribute: param 7828 { 7829 daeMetaAttribute *ma = new daeMetaAttribute; 7830 ma->setName( "param" ); 7831 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7832 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_offset_fill_enable , attrParam )); 7833 ma->setContainer( meta ); 7834 ma->setIsRequired( false ); 7835 7836 meta->appendAttribute(ma); 7837 } 7838 7839 meta->setElementSize(sizeof(domGl_pipeline_settings::domPolygon_offset_fill_enable)); 7840 meta->validate(); 7841 7842 return meta; 7843 } 7844 7845 daeElementRef 7846 domGl_pipeline_settings::domPolygon_offset_line_enable::create(DAE& dae) 7847 { 7848 domGl_pipeline_settings::domPolygon_offset_line_enableRef ref = new domGl_pipeline_settings::domPolygon_offset_line_enable(dae); 7849 return ref; 7850 } 7851 7852 7853 daeMetaElement * 7854 domGl_pipeline_settings::domPolygon_offset_line_enable::registerElement(DAE& dae) 7855 { 7856 daeMetaElement* meta = dae.getMeta(ID()); 7857 if ( meta != NULL ) return meta; 7858 7859 meta = new daeMetaElement(dae); 7860 dae.setMeta(ID(), *meta); 7861 meta->setName( "polygon_offset_line_enable" ); 7862 meta->registerClass(domGl_pipeline_settings::domPolygon_offset_line_enable::create); 7863 7864 meta->setIsInnerClass( true ); 7865 7866 // Add attribute: value 7867 { 7868 daeMetaAttribute *ma = new daeMetaAttribute; 7869 ma->setName( "value" ); 7870 ma->setType( dae.getAtomicTypes().get("Bool")); 7871 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_offset_line_enable , attrValue )); 7872 ma->setContainer( meta ); 7873 ma->setDefaultString( "false"); 7874 ma->setIsRequired( false ); 7875 7876 meta->appendAttribute(ma); 7877 } 7878 7879 // Add attribute: param 7880 { 7881 daeMetaAttribute *ma = new daeMetaAttribute; 7882 ma->setName( "param" ); 7883 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7884 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_offset_line_enable , attrParam )); 7885 ma->setContainer( meta ); 7886 ma->setIsRequired( false ); 7887 7888 meta->appendAttribute(ma); 7889 } 7890 7891 meta->setElementSize(sizeof(domGl_pipeline_settings::domPolygon_offset_line_enable)); 7892 meta->validate(); 7893 7894 return meta; 7895 } 7896 7897 daeElementRef 7898 domGl_pipeline_settings::domPolygon_offset_point_enable::create(DAE& dae) 7899 { 7900 domGl_pipeline_settings::domPolygon_offset_point_enableRef ref = new domGl_pipeline_settings::domPolygon_offset_point_enable(dae); 7901 return ref; 7902 } 7903 7904 7905 daeMetaElement * 7906 domGl_pipeline_settings::domPolygon_offset_point_enable::registerElement(DAE& dae) 7907 { 7908 daeMetaElement* meta = dae.getMeta(ID()); 7909 if ( meta != NULL ) return meta; 7910 7911 meta = new daeMetaElement(dae); 7912 dae.setMeta(ID(), *meta); 7913 meta->setName( "polygon_offset_point_enable" ); 7914 meta->registerClass(domGl_pipeline_settings::domPolygon_offset_point_enable::create); 7915 7916 meta->setIsInnerClass( true ); 7917 7918 // Add attribute: value 7919 { 7920 daeMetaAttribute *ma = new daeMetaAttribute; 7921 ma->setName( "value" ); 7922 ma->setType( dae.getAtomicTypes().get("Bool")); 7923 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_offset_point_enable , attrValue )); 7924 ma->setContainer( meta ); 7925 ma->setDefaultString( "false"); 7926 ma->setIsRequired( false ); 7927 7928 meta->appendAttribute(ma); 7929 } 7930 7931 // Add attribute: param 7932 { 7933 daeMetaAttribute *ma = new daeMetaAttribute; 7934 ma->setName( "param" ); 7935 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7936 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_offset_point_enable , attrParam )); 7937 ma->setContainer( meta ); 7938 ma->setIsRequired( false ); 7939 7940 meta->appendAttribute(ma); 7941 } 7942 7943 meta->setElementSize(sizeof(domGl_pipeline_settings::domPolygon_offset_point_enable)); 7944 meta->validate(); 7945 7946 return meta; 7947 } 7948 7949 daeElementRef 7950 domGl_pipeline_settings::domPolygon_smooth_enable::create(DAE& dae) 7951 { 7952 domGl_pipeline_settings::domPolygon_smooth_enableRef ref = new domGl_pipeline_settings::domPolygon_smooth_enable(dae); 7953 return ref; 7954 } 7955 7956 7957 daeMetaElement * 7958 domGl_pipeline_settings::domPolygon_smooth_enable::registerElement(DAE& dae) 7959 { 7960 daeMetaElement* meta = dae.getMeta(ID()); 7961 if ( meta != NULL ) return meta; 7962 7963 meta = new daeMetaElement(dae); 7964 dae.setMeta(ID(), *meta); 7965 meta->setName( "polygon_smooth_enable" ); 7966 meta->registerClass(domGl_pipeline_settings::domPolygon_smooth_enable::create); 7967 7968 meta->setIsInnerClass( true ); 7969 7970 // Add attribute: value 7971 { 7972 daeMetaAttribute *ma = new daeMetaAttribute; 7973 ma->setName( "value" ); 7974 ma->setType( dae.getAtomicTypes().get("Bool")); 7975 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_smooth_enable , attrValue )); 7976 ma->setContainer( meta ); 7977 ma->setDefaultString( "false"); 7978 ma->setIsRequired( false ); 7979 7980 meta->appendAttribute(ma); 7981 } 7982 7983 // Add attribute: param 7984 { 7985 daeMetaAttribute *ma = new daeMetaAttribute; 7986 ma->setName( "param" ); 7987 ma->setType( dae.getAtomicTypes().get("xsNCName")); 7988 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_smooth_enable , attrParam )); 7989 ma->setContainer( meta ); 7990 ma->setIsRequired( false ); 7991 7992 meta->appendAttribute(ma); 7993 } 7994 7995 meta->setElementSize(sizeof(domGl_pipeline_settings::domPolygon_smooth_enable)); 7996 meta->validate(); 7997 7998 return meta; 7999 } 8000 8001 daeElementRef 8002 domGl_pipeline_settings::domPolygon_stipple_enable::create(DAE& dae) 8003 { 8004 domGl_pipeline_settings::domPolygon_stipple_enableRef ref = new domGl_pipeline_settings::domPolygon_stipple_enable(dae); 8005 return ref; 8006 } 8007 8008 8009 daeMetaElement * 8010 domGl_pipeline_settings::domPolygon_stipple_enable::registerElement(DAE& dae) 8011 { 8012 daeMetaElement* meta = dae.getMeta(ID()); 8013 if ( meta != NULL ) return meta; 8014 8015 meta = new daeMetaElement(dae); 8016 dae.setMeta(ID(), *meta); 8017 meta->setName( "polygon_stipple_enable" ); 8018 meta->registerClass(domGl_pipeline_settings::domPolygon_stipple_enable::create); 8019 8020 meta->setIsInnerClass( true ); 8021 8022 // Add attribute: value 8023 { 8024 daeMetaAttribute *ma = new daeMetaAttribute; 8025 ma->setName( "value" ); 8026 ma->setType( dae.getAtomicTypes().get("Bool")); 8027 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_stipple_enable , attrValue )); 8028 ma->setContainer( meta ); 8029 ma->setDefaultString( "false"); 8030 ma->setIsRequired( false ); 8031 8032 meta->appendAttribute(ma); 8033 } 8034 8035 // Add attribute: param 8036 { 8037 daeMetaAttribute *ma = new daeMetaAttribute; 8038 ma->setName( "param" ); 8039 ma->setType( dae.getAtomicTypes().get("xsNCName")); 8040 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domPolygon_stipple_enable , attrParam )); 8041 ma->setContainer( meta ); 8042 ma->setIsRequired( false ); 8043 8044 meta->appendAttribute(ma); 8045 } 8046 8047 meta->setElementSize(sizeof(domGl_pipeline_settings::domPolygon_stipple_enable)); 8048 meta->validate(); 8049 8050 return meta; 8051 } 8052 8053 daeElementRef 8054 domGl_pipeline_settings::domRescale_normal_enable::create(DAE& dae) 8055 { 8056 domGl_pipeline_settings::domRescale_normal_enableRef ref = new domGl_pipeline_settings::domRescale_normal_enable(dae); 8057 return ref; 8058 } 8059 8060 8061 daeMetaElement * 8062 domGl_pipeline_settings::domRescale_normal_enable::registerElement(DAE& dae) 8063 { 8064 daeMetaElement* meta = dae.getMeta(ID()); 8065 if ( meta != NULL ) return meta; 8066 8067 meta = new daeMetaElement(dae); 8068 dae.setMeta(ID(), *meta); 8069 meta->setName( "rescale_normal_enable" ); 8070 meta->registerClass(domGl_pipeline_settings::domRescale_normal_enable::create); 8071 8072 meta->setIsInnerClass( true ); 8073 8074 // Add attribute: value 8075 { 8076 daeMetaAttribute *ma = new daeMetaAttribute; 8077 ma->setName( "value" ); 8078 ma->setType( dae.getAtomicTypes().get("Bool")); 8079 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domRescale_normal_enable , attrValue )); 8080 ma->setContainer( meta ); 8081 ma->setDefaultString( "false"); 8082 ma->setIsRequired( false ); 8083 8084 meta->appendAttribute(ma); 8085 } 8086 8087 // Add attribute: param 8088 { 8089 daeMetaAttribute *ma = new daeMetaAttribute; 8090 ma->setName( "param" ); 8091 ma->setType( dae.getAtomicTypes().get("xsNCName")); 8092 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domRescale_normal_enable , attrParam )); 8093 ma->setContainer( meta ); 8094 ma->setIsRequired( false ); 8095 8096 meta->appendAttribute(ma); 8097 } 8098 8099 meta->setElementSize(sizeof(domGl_pipeline_settings::domRescale_normal_enable)); 8100 meta->validate(); 8101 8102 return meta; 8103 } 8104 8105 daeElementRef 8106 domGl_pipeline_settings::domSample_alpha_to_coverage_enable::create(DAE& dae) 8107 { 8108 domGl_pipeline_settings::domSample_alpha_to_coverage_enableRef ref = new domGl_pipeline_settings::domSample_alpha_to_coverage_enable(dae); 8109 return ref; 8110 } 8111 8112 8113 daeMetaElement * 8114 domGl_pipeline_settings::domSample_alpha_to_coverage_enable::registerElement(DAE& dae) 8115 { 8116 daeMetaElement* meta = dae.getMeta(ID()); 8117 if ( meta != NULL ) return meta; 8118 8119 meta = new daeMetaElement(dae); 8120 dae.setMeta(ID(), *meta); 8121 meta->setName( "sample_alpha_to_coverage_enable" ); 8122 meta->registerClass(domGl_pipeline_settings::domSample_alpha_to_coverage_enable::create); 8123 8124 meta->setIsInnerClass( true ); 8125 8126 // Add attribute: value 8127 { 8128 daeMetaAttribute *ma = new daeMetaAttribute; 8129 ma->setName( "value" ); 8130 ma->setType( dae.getAtomicTypes().get("Bool")); 8131 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domSample_alpha_to_coverage_enable , attrValue )); 8132 ma->setContainer( meta ); 8133 ma->setDefaultString( "false"); 8134 ma->setIsRequired( false ); 8135 8136 meta->appendAttribute(ma); 8137 } 8138 8139 // Add attribute: param 8140 { 8141 daeMetaAttribute *ma = new daeMetaAttribute; 8142 ma->setName( "param" ); 8143 ma->setType( dae.getAtomicTypes().get("xsNCName")); 8144 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domSample_alpha_to_coverage_enable , attrParam )); 8145 ma->setContainer( meta ); 8146 ma->setIsRequired( false ); 8147 8148 meta->appendAttribute(ma); 8149 } 8150 8151 meta->setElementSize(sizeof(domGl_pipeline_settings::domSample_alpha_to_coverage_enable)); 8152 meta->validate(); 8153 8154 return meta; 8155 } 8156 8157 daeElementRef 8158 domGl_pipeline_settings::domSample_alpha_to_one_enable::create(DAE& dae) 8159 { 8160 domGl_pipeline_settings::domSample_alpha_to_one_enableRef ref = new domGl_pipeline_settings::domSample_alpha_to_one_enable(dae); 8161 return ref; 8162 } 8163 8164 8165 daeMetaElement * 8166 domGl_pipeline_settings::domSample_alpha_to_one_enable::registerElement(DAE& dae) 8167 { 8168 daeMetaElement* meta = dae.getMeta(ID()); 8169 if ( meta != NULL ) return meta; 8170 8171 meta = new daeMetaElement(dae); 8172 dae.setMeta(ID(), *meta); 8173 meta->setName( "sample_alpha_to_one_enable" ); 8174 meta->registerClass(domGl_pipeline_settings::domSample_alpha_to_one_enable::create); 8175 8176 meta->setIsInnerClass( true ); 8177 8178 // Add attribute: value 8179 { 8180 daeMetaAttribute *ma = new daeMetaAttribute; 8181 ma->setName( "value" ); 8182 ma->setType( dae.getAtomicTypes().get("Bool")); 8183 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domSample_alpha_to_one_enable , attrValue )); 8184 ma->setContainer( meta ); 8185 ma->setDefaultString( "false"); 8186 ma->setIsRequired( false ); 8187 8188 meta->appendAttribute(ma); 8189 } 8190 8191 // Add attribute: param 8192 { 8193 daeMetaAttribute *ma = new daeMetaAttribute; 8194 ma->setName( "param" ); 8195 ma->setType( dae.getAtomicTypes().get("xsNCName")); 8196 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domSample_alpha_to_one_enable , attrParam )); 8197 ma->setContainer( meta ); 8198 ma->setIsRequired( false ); 8199 8200 meta->appendAttribute(ma); 8201 } 8202 8203 meta->setElementSize(sizeof(domGl_pipeline_settings::domSample_alpha_to_one_enable)); 8204 meta->validate(); 8205 8206 return meta; 8207 } 8208 8209 daeElementRef 8210 domGl_pipeline_settings::domSample_coverage_enable::create(DAE& dae) 8211 { 8212 domGl_pipeline_settings::domSample_coverage_enableRef ref = new domGl_pipeline_settings::domSample_coverage_enable(dae); 8213 return ref; 8214 } 8215 8216 8217 daeMetaElement * 8218 domGl_pipeline_settings::domSample_coverage_enable::registerElement(DAE& dae) 8219 { 8220 daeMetaElement* meta = dae.getMeta(ID()); 8221 if ( meta != NULL ) return meta; 8222 8223 meta = new daeMetaElement(dae); 8224 dae.setMeta(ID(), *meta); 8225 meta->setName( "sample_coverage_enable" ); 8226 meta->registerClass(domGl_pipeline_settings::domSample_coverage_enable::create); 8227 8228 meta->setIsInnerClass( true ); 8229 8230 // Add attribute: value 8231 { 8232 daeMetaAttribute *ma = new daeMetaAttribute; 8233 ma->setName( "value" ); 8234 ma->setType( dae.getAtomicTypes().get("Bool")); 8235 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domSample_coverage_enable , attrValue )); 8236 ma->setContainer( meta ); 8237 ma->setDefaultString( "false"); 8238 ma->setIsRequired( false ); 8239 8240 meta->appendAttribute(ma); 8241 } 8242 8243 // Add attribute: param 8244 { 8245 daeMetaAttribute *ma = new daeMetaAttribute; 8246 ma->setName( "param" ); 8247 ma->setType( dae.getAtomicTypes().get("xsNCName")); 8248 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domSample_coverage_enable , attrParam )); 8249 ma->setContainer( meta ); 8250 ma->setIsRequired( false ); 8251 8252 meta->appendAttribute(ma); 8253 } 8254 8255 meta->setElementSize(sizeof(domGl_pipeline_settings::domSample_coverage_enable)); 8256 meta->validate(); 8257 8258 return meta; 8259 } 8260 8261 daeElementRef 8262 domGl_pipeline_settings::domScissor_test_enable::create(DAE& dae) 8263 { 8264 domGl_pipeline_settings::domScissor_test_enableRef ref = new domGl_pipeline_settings::domScissor_test_enable(dae); 8265 return ref; 8266 } 8267 8268 8269 daeMetaElement * 8270 domGl_pipeline_settings::domScissor_test_enable::registerElement(DAE& dae) 8271 { 8272 daeMetaElement* meta = dae.getMeta(ID()); 8273 if ( meta != NULL ) return meta; 8274 8275 meta = new daeMetaElement(dae); 8276 dae.setMeta(ID(), *meta); 8277 meta->setName( "scissor_test_enable" ); 8278 meta->registerClass(domGl_pipeline_settings::domScissor_test_enable::create); 8279 8280 meta->setIsInnerClass( true ); 8281 8282 // Add attribute: value 8283 { 8284 daeMetaAttribute *ma = new daeMetaAttribute; 8285 ma->setName( "value" ); 8286 ma->setType( dae.getAtomicTypes().get("Bool")); 8287 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domScissor_test_enable , attrValue )); 8288 ma->setContainer( meta ); 8289 ma->setDefaultString( "false"); 8290 ma->setIsRequired( false ); 8291 8292 meta->appendAttribute(ma); 8293 } 8294 8295 // Add attribute: param 8296 { 8297 daeMetaAttribute *ma = new daeMetaAttribute; 8298 ma->setName( "param" ); 8299 ma->setType( dae.getAtomicTypes().get("xsNCName")); 8300 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domScissor_test_enable , attrParam )); 8301 ma->setContainer( meta ); 8302 ma->setIsRequired( false ); 8303 8304 meta->appendAttribute(ma); 8305 } 8306 8307 meta->setElementSize(sizeof(domGl_pipeline_settings::domScissor_test_enable)); 8308 meta->validate(); 8309 8310 return meta; 8311 } 8312 8313 daeElementRef 8314 domGl_pipeline_settings::domStencil_test_enable::create(DAE& dae) 8315 { 8316 domGl_pipeline_settings::domStencil_test_enableRef ref = new domGl_pipeline_settings::domStencil_test_enable(dae); 8317 return ref; 8318 } 8319 8320 8321 daeMetaElement * 8322 domGl_pipeline_settings::domStencil_test_enable::registerElement(DAE& dae) 8323 { 8324 daeMetaElement* meta = dae.getMeta(ID()); 8325 if ( meta != NULL ) return meta; 8326 8327 meta = new daeMetaElement(dae); 8328 dae.setMeta(ID(), *meta); 8329 meta->setName( "stencil_test_enable" ); 8330 meta->registerClass(domGl_pipeline_settings::domStencil_test_enable::create); 8331 8332 meta->setIsInnerClass( true ); 8333 8334 // Add attribute: value 8335 { 8336 daeMetaAttribute *ma = new daeMetaAttribute; 8337 ma->setName( "value" ); 8338 ma->setType( dae.getAtomicTypes().get("Bool")); 8339 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_test_enable , attrValue )); 8340 ma->setContainer( meta ); 8341 ma->setDefaultString( "false"); 8342 ma->setIsRequired( false ); 8343 8344 meta->appendAttribute(ma); 8345 } 8346 8347 // Add attribute: param 8348 { 8349 daeMetaAttribute *ma = new daeMetaAttribute; 8350 ma->setName( "param" ); 8351 ma->setType( dae.getAtomicTypes().get("xsNCName")); 8352 ma->setOffset( daeOffsetOf( domGl_pipeline_settings::domStencil_test_enable , attrParam )); 8353 ma->setContainer( meta ); 8354 ma->setIsRequired( false ); 8355 8356 meta->appendAttribute(ma); 8357 } 8358 8359 meta->setElementSize(sizeof(domGl_pipeline_settings::domStencil_test_enable)); 8360 meta->validate(); 8361 8362 return meta; 8363 } 8364 8365