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/domGles_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 domGles_pipeline_settings::create(DAE& dae) 21 { 22 domGles_pipeline_settingsRef ref = new domGles_pipeline_settings(dae); 23 return ref; 24 } 25 26 27 daeMetaElement * 28 domGles_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( "gles_pipeline_settings" ); 36 meta->registerClass(domGles_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(domGles_pipeline_settings,elemAlpha_func) ); 46 mea->setElementType( domGles_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(domGles_pipeline_settings,elemBlend_func) ); 52 mea->setElementType( domGles_pipeline_settings::domBlend_func::registerElement(dae) ); 53 cm->appendChild( mea ); 54 55 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 56 mea->setName( "clear_color" ); 57 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemClear_color) ); 58 mea->setElementType( domGles_pipeline_settings::domClear_color::registerElement(dae) ); 59 cm->appendChild( mea ); 60 61 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 62 mea->setName( "clear_stencil" ); 63 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemClear_stencil) ); 64 mea->setElementType( domGles_pipeline_settings::domClear_stencil::registerElement(dae) ); 65 cm->appendChild( mea ); 66 67 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 68 mea->setName( "clear_depth" ); 69 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemClear_depth) ); 70 mea->setElementType( domGles_pipeline_settings::domClear_depth::registerElement(dae) ); 71 cm->appendChild( mea ); 72 73 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 74 mea->setName( "clip_plane" ); 75 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemClip_plane) ); 76 mea->setElementType( domGles_pipeline_settings::domClip_plane::registerElement(dae) ); 77 cm->appendChild( mea ); 78 79 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 80 mea->setName( "color_mask" ); 81 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemColor_mask) ); 82 mea->setElementType( domGles_pipeline_settings::domColor_mask::registerElement(dae) ); 83 cm->appendChild( mea ); 84 85 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 86 mea->setName( "cull_face" ); 87 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemCull_face) ); 88 mea->setElementType( domGles_pipeline_settings::domCull_face::registerElement(dae) ); 89 cm->appendChild( mea ); 90 91 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 92 mea->setName( "depth_func" ); 93 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemDepth_func) ); 94 mea->setElementType( domGles_pipeline_settings::domDepth_func::registerElement(dae) ); 95 cm->appendChild( mea ); 96 97 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 98 mea->setName( "depth_mask" ); 99 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemDepth_mask) ); 100 mea->setElementType( domGles_pipeline_settings::domDepth_mask::registerElement(dae) ); 101 cm->appendChild( mea ); 102 103 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 104 mea->setName( "depth_range" ); 105 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemDepth_range) ); 106 mea->setElementType( domGles_pipeline_settings::domDepth_range::registerElement(dae) ); 107 cm->appendChild( mea ); 108 109 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 110 mea->setName( "fog_color" ); 111 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemFog_color) ); 112 mea->setElementType( domGles_pipeline_settings::domFog_color::registerElement(dae) ); 113 cm->appendChild( mea ); 114 115 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 116 mea->setName( "fog_density" ); 117 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemFog_density) ); 118 mea->setElementType( domGles_pipeline_settings::domFog_density::registerElement(dae) ); 119 cm->appendChild( mea ); 120 121 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 122 mea->setName( "fog_mode" ); 123 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemFog_mode) ); 124 mea->setElementType( domGles_pipeline_settings::domFog_mode::registerElement(dae) ); 125 cm->appendChild( mea ); 126 127 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 128 mea->setName( "fog_start" ); 129 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemFog_start) ); 130 mea->setElementType( domGles_pipeline_settings::domFog_start::registerElement(dae) ); 131 cm->appendChild( mea ); 132 133 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 134 mea->setName( "fog_end" ); 135 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemFog_end) ); 136 mea->setElementType( domGles_pipeline_settings::domFog_end::registerElement(dae) ); 137 cm->appendChild( mea ); 138 139 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 140 mea->setName( "front_face" ); 141 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemFront_face) ); 142 mea->setElementType( domGles_pipeline_settings::domFront_face::registerElement(dae) ); 143 cm->appendChild( mea ); 144 145 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 146 mea->setName( "texture_pipeline" ); 147 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemTexture_pipeline) ); 148 mea->setElementType( domGles_pipeline_settings::domTexture_pipeline::registerElement(dae) ); 149 cm->appendChild( mea ); 150 151 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 152 mea->setName( "logic_op" ); 153 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLogic_op) ); 154 mea->setElementType( domGles_pipeline_settings::domLogic_op::registerElement(dae) ); 155 cm->appendChild( mea ); 156 157 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 158 mea->setName( "light_ambient" ); 159 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLight_ambient) ); 160 mea->setElementType( domGles_pipeline_settings::domLight_ambient::registerElement(dae) ); 161 cm->appendChild( mea ); 162 163 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 164 mea->setName( "light_diffuse" ); 165 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLight_diffuse) ); 166 mea->setElementType( domGles_pipeline_settings::domLight_diffuse::registerElement(dae) ); 167 cm->appendChild( mea ); 168 169 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 170 mea->setName( "light_specular" ); 171 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLight_specular) ); 172 mea->setElementType( domGles_pipeline_settings::domLight_specular::registerElement(dae) ); 173 cm->appendChild( mea ); 174 175 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 176 mea->setName( "light_position" ); 177 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLight_position) ); 178 mea->setElementType( domGles_pipeline_settings::domLight_position::registerElement(dae) ); 179 cm->appendChild( mea ); 180 181 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 182 mea->setName( "light_constant_attenuation" ); 183 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLight_constant_attenuation) ); 184 mea->setElementType( domGles_pipeline_settings::domLight_constant_attenuation::registerElement(dae) ); 185 cm->appendChild( mea ); 186 187 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 188 mea->setName( "light_linear_attenutation" ); 189 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLight_linear_attenutation) ); 190 mea->setElementType( domGles_pipeline_settings::domLight_linear_attenutation::registerElement(dae) ); 191 cm->appendChild( mea ); 192 193 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 194 mea->setName( "light_quadratic_attenuation" ); 195 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLight_quadratic_attenuation) ); 196 mea->setElementType( domGles_pipeline_settings::domLight_quadratic_attenuation::registerElement(dae) ); 197 cm->appendChild( mea ); 198 199 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 200 mea->setName( "light_spot_cutoff" ); 201 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLight_spot_cutoff) ); 202 mea->setElementType( domGles_pipeline_settings::domLight_spot_cutoff::registerElement(dae) ); 203 cm->appendChild( mea ); 204 205 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 206 mea->setName( "light_spot_direction" ); 207 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLight_spot_direction) ); 208 mea->setElementType( domGles_pipeline_settings::domLight_spot_direction::registerElement(dae) ); 209 cm->appendChild( mea ); 210 211 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 212 mea->setName( "light_spot_exponent" ); 213 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLight_spot_exponent) ); 214 mea->setElementType( domGles_pipeline_settings::domLight_spot_exponent::registerElement(dae) ); 215 cm->appendChild( mea ); 216 217 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 218 mea->setName( "light_model_ambient" ); 219 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLight_model_ambient) ); 220 mea->setElementType( domGles_pipeline_settings::domLight_model_ambient::registerElement(dae) ); 221 cm->appendChild( mea ); 222 223 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 224 mea->setName( "line_width" ); 225 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLine_width) ); 226 mea->setElementType( domGles_pipeline_settings::domLine_width::registerElement(dae) ); 227 cm->appendChild( mea ); 228 229 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 230 mea->setName( "material_ambient" ); 231 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemMaterial_ambient) ); 232 mea->setElementType( domGles_pipeline_settings::domMaterial_ambient::registerElement(dae) ); 233 cm->appendChild( mea ); 234 235 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 236 mea->setName( "material_diffuse" ); 237 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemMaterial_diffuse) ); 238 mea->setElementType( domGles_pipeline_settings::domMaterial_diffuse::registerElement(dae) ); 239 cm->appendChild( mea ); 240 241 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 242 mea->setName( "material_emission" ); 243 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemMaterial_emission) ); 244 mea->setElementType( domGles_pipeline_settings::domMaterial_emission::registerElement(dae) ); 245 cm->appendChild( mea ); 246 247 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 248 mea->setName( "material_shininess" ); 249 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemMaterial_shininess) ); 250 mea->setElementType( domGles_pipeline_settings::domMaterial_shininess::registerElement(dae) ); 251 cm->appendChild( mea ); 252 253 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 254 mea->setName( "material_specular" ); 255 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemMaterial_specular) ); 256 mea->setElementType( domGles_pipeline_settings::domMaterial_specular::registerElement(dae) ); 257 cm->appendChild( mea ); 258 259 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 260 mea->setName( "model_view_matrix" ); 261 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemModel_view_matrix) ); 262 mea->setElementType( domGles_pipeline_settings::domModel_view_matrix::registerElement(dae) ); 263 cm->appendChild( mea ); 264 265 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 266 mea->setName( "point_distance_attenuation" ); 267 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemPoint_distance_attenuation) ); 268 mea->setElementType( domGles_pipeline_settings::domPoint_distance_attenuation::registerElement(dae) ); 269 cm->appendChild( mea ); 270 271 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 272 mea->setName( "point_fade_threshold_size" ); 273 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemPoint_fade_threshold_size) ); 274 mea->setElementType( domGles_pipeline_settings::domPoint_fade_threshold_size::registerElement(dae) ); 275 cm->appendChild( mea ); 276 277 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 278 mea->setName( "point_size" ); 279 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemPoint_size) ); 280 mea->setElementType( domGles_pipeline_settings::domPoint_size::registerElement(dae) ); 281 cm->appendChild( mea ); 282 283 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 284 mea->setName( "point_size_min" ); 285 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemPoint_size_min) ); 286 mea->setElementType( domGles_pipeline_settings::domPoint_size_min::registerElement(dae) ); 287 cm->appendChild( mea ); 288 289 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 290 mea->setName( "point_size_max" ); 291 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemPoint_size_max) ); 292 mea->setElementType( domGles_pipeline_settings::domPoint_size_max::registerElement(dae) ); 293 cm->appendChild( mea ); 294 295 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 296 mea->setName( "polygon_offset" ); 297 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemPolygon_offset) ); 298 mea->setElementType( domGles_pipeline_settings::domPolygon_offset::registerElement(dae) ); 299 cm->appendChild( mea ); 300 301 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 302 mea->setName( "projection_matrix" ); 303 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemProjection_matrix) ); 304 mea->setElementType( domGles_pipeline_settings::domProjection_matrix::registerElement(dae) ); 305 cm->appendChild( mea ); 306 307 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 308 mea->setName( "scissor" ); 309 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemScissor) ); 310 mea->setElementType( domGles_pipeline_settings::domScissor::registerElement(dae) ); 311 cm->appendChild( mea ); 312 313 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 314 mea->setName( "shade_model" ); 315 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemShade_model) ); 316 mea->setElementType( domGles_pipeline_settings::domShade_model::registerElement(dae) ); 317 cm->appendChild( mea ); 318 319 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 320 mea->setName( "stencil_func" ); 321 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemStencil_func) ); 322 mea->setElementType( domGles_pipeline_settings::domStencil_func::registerElement(dae) ); 323 cm->appendChild( mea ); 324 325 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 326 mea->setName( "stencil_mask" ); 327 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemStencil_mask) ); 328 mea->setElementType( domGles_pipeline_settings::domStencil_mask::registerElement(dae) ); 329 cm->appendChild( mea ); 330 331 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 332 mea->setName( "stencil_op" ); 333 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemStencil_op) ); 334 mea->setElementType( domGles_pipeline_settings::domStencil_op::registerElement(dae) ); 335 cm->appendChild( mea ); 336 337 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 338 mea->setName( "alpha_test_enable" ); 339 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemAlpha_test_enable) ); 340 mea->setElementType( domGles_pipeline_settings::domAlpha_test_enable::registerElement(dae) ); 341 cm->appendChild( mea ); 342 343 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 344 mea->setName( "blend_enable" ); 345 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemBlend_enable) ); 346 mea->setElementType( domGles_pipeline_settings::domBlend_enable::registerElement(dae) ); 347 cm->appendChild( mea ); 348 349 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 350 mea->setName( "clip_plane_enable" ); 351 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemClip_plane_enable) ); 352 mea->setElementType( domGles_pipeline_settings::domClip_plane_enable::registerElement(dae) ); 353 cm->appendChild( mea ); 354 355 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 356 mea->setName( "color_logic_op_enable" ); 357 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemColor_logic_op_enable) ); 358 mea->setElementType( domGles_pipeline_settings::domColor_logic_op_enable::registerElement(dae) ); 359 cm->appendChild( mea ); 360 361 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 362 mea->setName( "color_material_enable" ); 363 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemColor_material_enable) ); 364 mea->setElementType( domGles_pipeline_settings::domColor_material_enable::registerElement(dae) ); 365 cm->appendChild( mea ); 366 367 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 368 mea->setName( "cull_face_enable" ); 369 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemCull_face_enable) ); 370 mea->setElementType( domGles_pipeline_settings::domCull_face_enable::registerElement(dae) ); 371 cm->appendChild( mea ); 372 373 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 374 mea->setName( "depth_test_enable" ); 375 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemDepth_test_enable) ); 376 mea->setElementType( domGles_pipeline_settings::domDepth_test_enable::registerElement(dae) ); 377 cm->appendChild( mea ); 378 379 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 380 mea->setName( "dither_enable" ); 381 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemDither_enable) ); 382 mea->setElementType( domGles_pipeline_settings::domDither_enable::registerElement(dae) ); 383 cm->appendChild( mea ); 384 385 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 386 mea->setName( "fog_enable" ); 387 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemFog_enable) ); 388 mea->setElementType( domGles_pipeline_settings::domFog_enable::registerElement(dae) ); 389 cm->appendChild( mea ); 390 391 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 392 mea->setName( "texture_pipeline_enable" ); 393 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemTexture_pipeline_enable) ); 394 mea->setElementType( domGles_pipeline_settings::domTexture_pipeline_enable::registerElement(dae) ); 395 cm->appendChild( mea ); 396 397 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 398 mea->setName( "light_enable" ); 399 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLight_enable) ); 400 mea->setElementType( domGles_pipeline_settings::domLight_enable::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(domGles_pipeline_settings,elemLighting_enable) ); 406 mea->setElementType( domGles_pipeline_settings::domLighting_enable::registerElement(dae) ); 407 cm->appendChild( mea ); 408 409 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 410 mea->setName( "light_model_two_side_enable" ); 411 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLight_model_two_side_enable) ); 412 mea->setElementType( domGles_pipeline_settings::domLight_model_two_side_enable::registerElement(dae) ); 413 cm->appendChild( mea ); 414 415 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 416 mea->setName( "line_smooth_enable" ); 417 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemLine_smooth_enable) ); 418 mea->setElementType( domGles_pipeline_settings::domLine_smooth_enable::registerElement(dae) ); 419 cm->appendChild( mea ); 420 421 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 422 mea->setName( "multisample_enable" ); 423 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemMultisample_enable) ); 424 mea->setElementType( domGles_pipeline_settings::domMultisample_enable::registerElement(dae) ); 425 cm->appendChild( mea ); 426 427 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 428 mea->setName( "normalize_enable" ); 429 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemNormalize_enable) ); 430 mea->setElementType( domGles_pipeline_settings::domNormalize_enable::registerElement(dae) ); 431 cm->appendChild( mea ); 432 433 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 434 mea->setName( "point_smooth_enable" ); 435 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemPoint_smooth_enable) ); 436 mea->setElementType( domGles_pipeline_settings::domPoint_smooth_enable::registerElement(dae) ); 437 cm->appendChild( mea ); 438 439 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 440 mea->setName( "polygon_offset_fill_enable" ); 441 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemPolygon_offset_fill_enable) ); 442 mea->setElementType( domGles_pipeline_settings::domPolygon_offset_fill_enable::registerElement(dae) ); 443 cm->appendChild( mea ); 444 445 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 446 mea->setName( "rescale_normal_enable" ); 447 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemRescale_normal_enable) ); 448 mea->setElementType( domGles_pipeline_settings::domRescale_normal_enable::registerElement(dae) ); 449 cm->appendChild( mea ); 450 451 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 452 mea->setName( "sample_alpha_to_coverage_enable" ); 453 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemSample_alpha_to_coverage_enable) ); 454 mea->setElementType( domGles_pipeline_settings::domSample_alpha_to_coverage_enable::registerElement(dae) ); 455 cm->appendChild( mea ); 456 457 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 458 mea->setName( "sample_alpha_to_one_enable" ); 459 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemSample_alpha_to_one_enable) ); 460 mea->setElementType( domGles_pipeline_settings::domSample_alpha_to_one_enable::registerElement(dae) ); 461 cm->appendChild( mea ); 462 463 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 464 mea->setName( "sample_coverage_enable" ); 465 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemSample_coverage_enable) ); 466 mea->setElementType( domGles_pipeline_settings::domSample_coverage_enable::registerElement(dae) ); 467 cm->appendChild( mea ); 468 469 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 470 mea->setName( "scissor_test_enable" ); 471 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemScissor_test_enable) ); 472 mea->setElementType( domGles_pipeline_settings::domScissor_test_enable::registerElement(dae) ); 473 cm->appendChild( mea ); 474 475 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 476 mea->setName( "stencil_test_enable" ); 477 mea->setOffset( daeOffsetOf(domGles_pipeline_settings,elemStencil_test_enable) ); 478 mea->setElementType( domGles_pipeline_settings::domStencil_test_enable::registerElement(dae) ); 479 cm->appendChild( mea ); 480 481 cm->setMaxOrdinal( 0 ); 482 meta->setCMRoot( cm ); 483 // Ordered list of sub-elements 484 meta->addContents(daeOffsetOf(domGles_pipeline_settings,_contents)); 485 meta->addContentsOrder(daeOffsetOf(domGles_pipeline_settings,_contentsOrder)); 486 487 meta->addCMDataArray(daeOffsetOf(domGles_pipeline_settings,_CMData), 1); 488 meta->setElementSize(sizeof(domGles_pipeline_settings)); 489 meta->validate(); 490 491 return meta; 492 } 493 494 daeElementRef 495 domGles_pipeline_settings::domAlpha_func::create(DAE& dae) 496 { 497 domGles_pipeline_settings::domAlpha_funcRef ref = new domGles_pipeline_settings::domAlpha_func(dae); 498 return ref; 499 } 500 501 502 daeMetaElement * 503 domGles_pipeline_settings::domAlpha_func::registerElement(DAE& dae) 504 { 505 daeMetaElement* meta = dae.getMeta(ID()); 506 if ( meta != NULL ) return meta; 507 508 meta = new daeMetaElement(dae); 509 dae.setMeta(ID(), *meta); 510 meta->setName( "alpha_func" ); 511 meta->registerClass(domGles_pipeline_settings::domAlpha_func::create); 512 513 meta->setIsInnerClass( true ); 514 daeMetaCMPolicy *cm = NULL; 515 daeMetaElementAttribute *mea = NULL; 516 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 517 518 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 519 mea->setName( "func" ); 520 mea->setOffset( daeOffsetOf(domGles_pipeline_settings::domAlpha_func,elemFunc) ); 521 mea->setElementType( domGles_pipeline_settings::domAlpha_func::domFunc::registerElement(dae) ); 522 cm->appendChild( mea ); 523 524 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 ); 525 mea->setName( "value" ); 526 mea->setOffset( daeOffsetOf(domGles_pipeline_settings::domAlpha_func,elemValue) ); 527 mea->setElementType( domGles_pipeline_settings::domAlpha_func::domValue::registerElement(dae) ); 528 cm->appendChild( mea ); 529 530 cm->setMaxOrdinal( 1 ); 531 meta->setCMRoot( cm ); 532 533 meta->setElementSize(sizeof(domGles_pipeline_settings::domAlpha_func)); 534 meta->validate(); 535 536 return meta; 537 } 538 539 daeElementRef 540 domGles_pipeline_settings::domAlpha_func::domFunc::create(DAE& dae) 541 { 542 domGles_pipeline_settings::domAlpha_func::domFuncRef ref = new domGles_pipeline_settings::domAlpha_func::domFunc(dae); 543 return ref; 544 } 545 546 547 daeMetaElement * 548 domGles_pipeline_settings::domAlpha_func::domFunc::registerElement(DAE& dae) 549 { 550 daeMetaElement* meta = dae.getMeta(ID()); 551 if ( meta != NULL ) return meta; 552 553 meta = new daeMetaElement(dae); 554 dae.setMeta(ID(), *meta); 555 meta->setName( "func" ); 556 meta->registerClass(domGles_pipeline_settings::domAlpha_func::domFunc::create); 557 558 meta->setIsInnerClass( true ); 559 560 // Add attribute: value 561 { 562 daeMetaAttribute *ma = new daeMetaAttribute; 563 ma->setName( "value" ); 564 ma->setType( dae.getAtomicTypes().get("Gl_func_type")); 565 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domAlpha_func::domFunc , attrValue )); 566 ma->setContainer( meta ); 567 ma->setDefaultString( "ALWAYS"); 568 ma->setIsRequired( false ); 569 570 meta->appendAttribute(ma); 571 } 572 573 // Add attribute: param 574 { 575 daeMetaAttribute *ma = new daeMetaAttribute; 576 ma->setName( "param" ); 577 ma->setType( dae.getAtomicTypes().get("xsNCName")); 578 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domAlpha_func::domFunc , attrParam )); 579 ma->setContainer( meta ); 580 ma->setIsRequired( false ); 581 582 meta->appendAttribute(ma); 583 } 584 585 meta->setElementSize(sizeof(domGles_pipeline_settings::domAlpha_func::domFunc)); 586 meta->validate(); 587 588 return meta; 589 } 590 591 daeElementRef 592 domGles_pipeline_settings::domAlpha_func::domValue::create(DAE& dae) 593 { 594 domGles_pipeline_settings::domAlpha_func::domValueRef ref = new domGles_pipeline_settings::domAlpha_func::domValue(dae); 595 return ref; 596 } 597 598 599 daeMetaElement * 600 domGles_pipeline_settings::domAlpha_func::domValue::registerElement(DAE& dae) 601 { 602 daeMetaElement* meta = dae.getMeta(ID()); 603 if ( meta != NULL ) return meta; 604 605 meta = new daeMetaElement(dae); 606 dae.setMeta(ID(), *meta); 607 meta->setName( "value" ); 608 meta->registerClass(domGles_pipeline_settings::domAlpha_func::domValue::create); 609 610 meta->setIsInnerClass( true ); 611 612 // Add attribute: value 613 { 614 daeMetaAttribute *ma = new daeMetaAttribute; 615 ma->setName( "value" ); 616 ma->setType( dae.getAtomicTypes().get("Gl_alpha_value_type")); 617 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domAlpha_func::domValue , attrValue )); 618 ma->setContainer( meta ); 619 ma->setDefaultString( "0.0"); 620 ma->setIsRequired( false ); 621 622 meta->appendAttribute(ma); 623 } 624 625 // Add attribute: param 626 { 627 daeMetaAttribute *ma = new daeMetaAttribute; 628 ma->setName( "param" ); 629 ma->setType( dae.getAtomicTypes().get("xsNCName")); 630 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domAlpha_func::domValue , attrParam )); 631 ma->setContainer( meta ); 632 ma->setIsRequired( false ); 633 634 meta->appendAttribute(ma); 635 } 636 637 meta->setElementSize(sizeof(domGles_pipeline_settings::domAlpha_func::domValue)); 638 meta->validate(); 639 640 return meta; 641 } 642 643 daeElementRef 644 domGles_pipeline_settings::domBlend_func::create(DAE& dae) 645 { 646 domGles_pipeline_settings::domBlend_funcRef ref = new domGles_pipeline_settings::domBlend_func(dae); 647 return ref; 648 } 649 650 651 daeMetaElement * 652 domGles_pipeline_settings::domBlend_func::registerElement(DAE& dae) 653 { 654 daeMetaElement* meta = dae.getMeta(ID()); 655 if ( meta != NULL ) return meta; 656 657 meta = new daeMetaElement(dae); 658 dae.setMeta(ID(), *meta); 659 meta->setName( "blend_func" ); 660 meta->registerClass(domGles_pipeline_settings::domBlend_func::create); 661 662 meta->setIsInnerClass( true ); 663 daeMetaCMPolicy *cm = NULL; 664 daeMetaElementAttribute *mea = NULL; 665 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 666 667 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 668 mea->setName( "src" ); 669 mea->setOffset( daeOffsetOf(domGles_pipeline_settings::domBlend_func,elemSrc) ); 670 mea->setElementType( domGles_pipeline_settings::domBlend_func::domSrc::registerElement(dae) ); 671 cm->appendChild( mea ); 672 673 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 ); 674 mea->setName( "dest" ); 675 mea->setOffset( daeOffsetOf(domGles_pipeline_settings::domBlend_func,elemDest) ); 676 mea->setElementType( domGles_pipeline_settings::domBlend_func::domDest::registerElement(dae) ); 677 cm->appendChild( mea ); 678 679 cm->setMaxOrdinal( 1 ); 680 meta->setCMRoot( cm ); 681 682 meta->setElementSize(sizeof(domGles_pipeline_settings::domBlend_func)); 683 meta->validate(); 684 685 return meta; 686 } 687 688 daeElementRef 689 domGles_pipeline_settings::domBlend_func::domSrc::create(DAE& dae) 690 { 691 domGles_pipeline_settings::domBlend_func::domSrcRef ref = new domGles_pipeline_settings::domBlend_func::domSrc(dae); 692 return ref; 693 } 694 695 696 daeMetaElement * 697 domGles_pipeline_settings::domBlend_func::domSrc::registerElement(DAE& dae) 698 { 699 daeMetaElement* meta = dae.getMeta(ID()); 700 if ( meta != NULL ) return meta; 701 702 meta = new daeMetaElement(dae); 703 dae.setMeta(ID(), *meta); 704 meta->setName( "src" ); 705 meta->registerClass(domGles_pipeline_settings::domBlend_func::domSrc::create); 706 707 meta->setIsInnerClass( true ); 708 709 // Add attribute: value 710 { 711 daeMetaAttribute *ma = new daeMetaAttribute; 712 ma->setName( "value" ); 713 ma->setType( dae.getAtomicTypes().get("Gl_blend_type")); 714 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domBlend_func::domSrc , attrValue )); 715 ma->setContainer( meta ); 716 ma->setDefaultString( "ONE"); 717 ma->setIsRequired( false ); 718 719 meta->appendAttribute(ma); 720 } 721 722 // Add attribute: param 723 { 724 daeMetaAttribute *ma = new daeMetaAttribute; 725 ma->setName( "param" ); 726 ma->setType( dae.getAtomicTypes().get("xsNCName")); 727 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domBlend_func::domSrc , attrParam )); 728 ma->setContainer( meta ); 729 ma->setIsRequired( false ); 730 731 meta->appendAttribute(ma); 732 } 733 734 meta->setElementSize(sizeof(domGles_pipeline_settings::domBlend_func::domSrc)); 735 meta->validate(); 736 737 return meta; 738 } 739 740 daeElementRef 741 domGles_pipeline_settings::domBlend_func::domDest::create(DAE& dae) 742 { 743 domGles_pipeline_settings::domBlend_func::domDestRef ref = new domGles_pipeline_settings::domBlend_func::domDest(dae); 744 return ref; 745 } 746 747 748 daeMetaElement * 749 domGles_pipeline_settings::domBlend_func::domDest::registerElement(DAE& dae) 750 { 751 daeMetaElement* meta = dae.getMeta(ID()); 752 if ( meta != NULL ) return meta; 753 754 meta = new daeMetaElement(dae); 755 dae.setMeta(ID(), *meta); 756 meta->setName( "dest" ); 757 meta->registerClass(domGles_pipeline_settings::domBlend_func::domDest::create); 758 759 meta->setIsInnerClass( true ); 760 761 // Add attribute: value 762 { 763 daeMetaAttribute *ma = new daeMetaAttribute; 764 ma->setName( "value" ); 765 ma->setType( dae.getAtomicTypes().get("Gl_blend_type")); 766 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domBlend_func::domDest , attrValue )); 767 ma->setContainer( meta ); 768 ma->setDefaultString( "ZERO"); 769 ma->setIsRequired( false ); 770 771 meta->appendAttribute(ma); 772 } 773 774 // Add attribute: param 775 { 776 daeMetaAttribute *ma = new daeMetaAttribute; 777 ma->setName( "param" ); 778 ma->setType( dae.getAtomicTypes().get("xsNCName")); 779 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domBlend_func::domDest , attrParam )); 780 ma->setContainer( meta ); 781 ma->setIsRequired( false ); 782 783 meta->appendAttribute(ma); 784 } 785 786 meta->setElementSize(sizeof(domGles_pipeline_settings::domBlend_func::domDest)); 787 meta->validate(); 788 789 return meta; 790 } 791 792 daeElementRef 793 domGles_pipeline_settings::domClear_color::create(DAE& dae) 794 { 795 domGles_pipeline_settings::domClear_colorRef ref = new domGles_pipeline_settings::domClear_color(dae); 796 return ref; 797 } 798 799 800 daeMetaElement * 801 domGles_pipeline_settings::domClear_color::registerElement(DAE& dae) 802 { 803 daeMetaElement* meta = dae.getMeta(ID()); 804 if ( meta != NULL ) return meta; 805 806 meta = new daeMetaElement(dae); 807 dae.setMeta(ID(), *meta); 808 meta->setName( "clear_color" ); 809 meta->registerClass(domGles_pipeline_settings::domClear_color::create); 810 811 meta->setIsInnerClass( true ); 812 813 // Add attribute: value 814 { 815 daeMetaAttribute *ma = new daeMetaArrayAttribute; 816 ma->setName( "value" ); 817 ma->setType( dae.getAtomicTypes().get("Float4")); 818 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domClear_color , attrValue )); 819 ma->setContainer( meta ); 820 ma->setIsRequired( false ); 821 822 meta->appendAttribute(ma); 823 } 824 825 // Add attribute: param 826 { 827 daeMetaAttribute *ma = new daeMetaAttribute; 828 ma->setName( "param" ); 829 ma->setType( dae.getAtomicTypes().get("xsNCName")); 830 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domClear_color , attrParam )); 831 ma->setContainer( meta ); 832 ma->setIsRequired( false ); 833 834 meta->appendAttribute(ma); 835 } 836 837 meta->setElementSize(sizeof(domGles_pipeline_settings::domClear_color)); 838 meta->validate(); 839 840 return meta; 841 } 842 843 daeElementRef 844 domGles_pipeline_settings::domClear_stencil::create(DAE& dae) 845 { 846 domGles_pipeline_settings::domClear_stencilRef ref = new domGles_pipeline_settings::domClear_stencil(dae); 847 return ref; 848 } 849 850 851 daeMetaElement * 852 domGles_pipeline_settings::domClear_stencil::registerElement(DAE& dae) 853 { 854 daeMetaElement* meta = dae.getMeta(ID()); 855 if ( meta != NULL ) return meta; 856 857 meta = new daeMetaElement(dae); 858 dae.setMeta(ID(), *meta); 859 meta->setName( "clear_stencil" ); 860 meta->registerClass(domGles_pipeline_settings::domClear_stencil::create); 861 862 meta->setIsInnerClass( true ); 863 864 // Add attribute: value 865 { 866 daeMetaAttribute *ma = new daeMetaAttribute; 867 ma->setName( "value" ); 868 ma->setType( dae.getAtomicTypes().get("Int")); 869 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domClear_stencil , attrValue )); 870 ma->setContainer( meta ); 871 ma->setIsRequired( false ); 872 873 meta->appendAttribute(ma); 874 } 875 876 // Add attribute: param 877 { 878 daeMetaAttribute *ma = new daeMetaAttribute; 879 ma->setName( "param" ); 880 ma->setType( dae.getAtomicTypes().get("xsNCName")); 881 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domClear_stencil , attrParam )); 882 ma->setContainer( meta ); 883 ma->setIsRequired( false ); 884 885 meta->appendAttribute(ma); 886 } 887 888 meta->setElementSize(sizeof(domGles_pipeline_settings::domClear_stencil)); 889 meta->validate(); 890 891 return meta; 892 } 893 894 daeElementRef 895 domGles_pipeline_settings::domClear_depth::create(DAE& dae) 896 { 897 domGles_pipeline_settings::domClear_depthRef ref = new domGles_pipeline_settings::domClear_depth(dae); 898 return ref; 899 } 900 901 902 daeMetaElement * 903 domGles_pipeline_settings::domClear_depth::registerElement(DAE& dae) 904 { 905 daeMetaElement* meta = dae.getMeta(ID()); 906 if ( meta != NULL ) return meta; 907 908 meta = new daeMetaElement(dae); 909 dae.setMeta(ID(), *meta); 910 meta->setName( "clear_depth" ); 911 meta->registerClass(domGles_pipeline_settings::domClear_depth::create); 912 913 meta->setIsInnerClass( true ); 914 915 // Add attribute: value 916 { 917 daeMetaAttribute *ma = new daeMetaAttribute; 918 ma->setName( "value" ); 919 ma->setType( dae.getAtomicTypes().get("Float")); 920 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domClear_depth , attrValue )); 921 ma->setContainer( meta ); 922 ma->setIsRequired( false ); 923 924 meta->appendAttribute(ma); 925 } 926 927 // Add attribute: param 928 { 929 daeMetaAttribute *ma = new daeMetaAttribute; 930 ma->setName( "param" ); 931 ma->setType( dae.getAtomicTypes().get("xsNCName")); 932 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domClear_depth , attrParam )); 933 ma->setContainer( meta ); 934 ma->setIsRequired( false ); 935 936 meta->appendAttribute(ma); 937 } 938 939 meta->setElementSize(sizeof(domGles_pipeline_settings::domClear_depth)); 940 meta->validate(); 941 942 return meta; 943 } 944 945 daeElementRef 946 domGles_pipeline_settings::domClip_plane::create(DAE& dae) 947 { 948 domGles_pipeline_settings::domClip_planeRef ref = new domGles_pipeline_settings::domClip_plane(dae); 949 return ref; 950 } 951 952 953 daeMetaElement * 954 domGles_pipeline_settings::domClip_plane::registerElement(DAE& dae) 955 { 956 daeMetaElement* meta = dae.getMeta(ID()); 957 if ( meta != NULL ) return meta; 958 959 meta = new daeMetaElement(dae); 960 dae.setMeta(ID(), *meta); 961 meta->setName( "clip_plane" ); 962 meta->registerClass(domGles_pipeline_settings::domClip_plane::create); 963 964 meta->setIsInnerClass( true ); 965 966 // Add attribute: value 967 { 968 daeMetaAttribute *ma = new daeMetaArrayAttribute; 969 ma->setName( "value" ); 970 ma->setType( dae.getAtomicTypes().get("Bool4")); 971 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domClip_plane , attrValue )); 972 ma->setContainer( meta ); 973 ma->setIsRequired( false ); 974 975 meta->appendAttribute(ma); 976 } 977 978 // Add attribute: param 979 { 980 daeMetaAttribute *ma = new daeMetaAttribute; 981 ma->setName( "param" ); 982 ma->setType( dae.getAtomicTypes().get("xsNCName")); 983 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domClip_plane , attrParam )); 984 ma->setContainer( meta ); 985 ma->setIsRequired( false ); 986 987 meta->appendAttribute(ma); 988 } 989 990 // Add attribute: index 991 { 992 daeMetaAttribute *ma = new daeMetaAttribute; 993 ma->setName( "index" ); 994 ma->setType( dae.getAtomicTypes().get("GLES_MAX_CLIP_PLANES_index")); 995 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domClip_plane , attrIndex )); 996 ma->setContainer( meta ); 997 ma->setIsRequired( true ); 998 999 meta->appendAttribute(ma); 1000 } 1001 1002 meta->setElementSize(sizeof(domGles_pipeline_settings::domClip_plane)); 1003 meta->validate(); 1004 1005 return meta; 1006 } 1007 1008 daeElementRef 1009 domGles_pipeline_settings::domColor_mask::create(DAE& dae) 1010 { 1011 domGles_pipeline_settings::domColor_maskRef ref = new domGles_pipeline_settings::domColor_mask(dae); 1012 return ref; 1013 } 1014 1015 1016 daeMetaElement * 1017 domGles_pipeline_settings::domColor_mask::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( "color_mask" ); 1025 meta->registerClass(domGles_pipeline_settings::domColor_mask::create); 1026 1027 meta->setIsInnerClass( true ); 1028 1029 // Add attribute: value 1030 { 1031 daeMetaAttribute *ma = new daeMetaArrayAttribute; 1032 ma->setName( "value" ); 1033 ma->setType( dae.getAtomicTypes().get("Bool4")); 1034 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domColor_mask , attrValue )); 1035 ma->setContainer( meta ); 1036 ma->setIsRequired( false ); 1037 1038 meta->appendAttribute(ma); 1039 } 1040 1041 // Add attribute: param 1042 { 1043 daeMetaAttribute *ma = new daeMetaAttribute; 1044 ma->setName( "param" ); 1045 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1046 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domColor_mask , attrParam )); 1047 ma->setContainer( meta ); 1048 ma->setIsRequired( false ); 1049 1050 meta->appendAttribute(ma); 1051 } 1052 1053 meta->setElementSize(sizeof(domGles_pipeline_settings::domColor_mask)); 1054 meta->validate(); 1055 1056 return meta; 1057 } 1058 1059 daeElementRef 1060 domGles_pipeline_settings::domCull_face::create(DAE& dae) 1061 { 1062 domGles_pipeline_settings::domCull_faceRef ref = new domGles_pipeline_settings::domCull_face(dae); 1063 return ref; 1064 } 1065 1066 1067 daeMetaElement * 1068 domGles_pipeline_settings::domCull_face::registerElement(DAE& dae) 1069 { 1070 daeMetaElement* meta = dae.getMeta(ID()); 1071 if ( meta != NULL ) return meta; 1072 1073 meta = new daeMetaElement(dae); 1074 dae.setMeta(ID(), *meta); 1075 meta->setName( "cull_face" ); 1076 meta->registerClass(domGles_pipeline_settings::domCull_face::create); 1077 1078 meta->setIsInnerClass( true ); 1079 1080 // Add attribute: value 1081 { 1082 daeMetaAttribute *ma = new daeMetaAttribute; 1083 ma->setName( "value" ); 1084 ma->setType( dae.getAtomicTypes().get("Gl_face_type")); 1085 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domCull_face , attrValue )); 1086 ma->setContainer( meta ); 1087 ma->setDefaultString( "BACK"); 1088 ma->setIsRequired( false ); 1089 1090 meta->appendAttribute(ma); 1091 } 1092 1093 // Add attribute: param 1094 { 1095 daeMetaAttribute *ma = new daeMetaAttribute; 1096 ma->setName( "param" ); 1097 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1098 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domCull_face , attrParam )); 1099 ma->setContainer( meta ); 1100 ma->setIsRequired( false ); 1101 1102 meta->appendAttribute(ma); 1103 } 1104 1105 meta->setElementSize(sizeof(domGles_pipeline_settings::domCull_face)); 1106 meta->validate(); 1107 1108 return meta; 1109 } 1110 1111 daeElementRef 1112 domGles_pipeline_settings::domDepth_func::create(DAE& dae) 1113 { 1114 domGles_pipeline_settings::domDepth_funcRef ref = new domGles_pipeline_settings::domDepth_func(dae); 1115 return ref; 1116 } 1117 1118 1119 daeMetaElement * 1120 domGles_pipeline_settings::domDepth_func::registerElement(DAE& dae) 1121 { 1122 daeMetaElement* meta = dae.getMeta(ID()); 1123 if ( meta != NULL ) return meta; 1124 1125 meta = new daeMetaElement(dae); 1126 dae.setMeta(ID(), *meta); 1127 meta->setName( "depth_func" ); 1128 meta->registerClass(domGles_pipeline_settings::domDepth_func::create); 1129 1130 meta->setIsInnerClass( true ); 1131 1132 // Add attribute: value 1133 { 1134 daeMetaAttribute *ma = new daeMetaAttribute; 1135 ma->setName( "value" ); 1136 ma->setType( dae.getAtomicTypes().get("Gl_func_type")); 1137 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domDepth_func , attrValue )); 1138 ma->setContainer( meta ); 1139 ma->setDefaultString( "ALWAYS"); 1140 ma->setIsRequired( false ); 1141 1142 meta->appendAttribute(ma); 1143 } 1144 1145 // Add attribute: param 1146 { 1147 daeMetaAttribute *ma = new daeMetaAttribute; 1148 ma->setName( "param" ); 1149 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1150 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domDepth_func , attrParam )); 1151 ma->setContainer( meta ); 1152 ma->setIsRequired( false ); 1153 1154 meta->appendAttribute(ma); 1155 } 1156 1157 meta->setElementSize(sizeof(domGles_pipeline_settings::domDepth_func)); 1158 meta->validate(); 1159 1160 return meta; 1161 } 1162 1163 daeElementRef 1164 domGles_pipeline_settings::domDepth_mask::create(DAE& dae) 1165 { 1166 domGles_pipeline_settings::domDepth_maskRef ref = new domGles_pipeline_settings::domDepth_mask(dae); 1167 return ref; 1168 } 1169 1170 1171 daeMetaElement * 1172 domGles_pipeline_settings::domDepth_mask::registerElement(DAE& dae) 1173 { 1174 daeMetaElement* meta = dae.getMeta(ID()); 1175 if ( meta != NULL ) return meta; 1176 1177 meta = new daeMetaElement(dae); 1178 dae.setMeta(ID(), *meta); 1179 meta->setName( "depth_mask" ); 1180 meta->registerClass(domGles_pipeline_settings::domDepth_mask::create); 1181 1182 meta->setIsInnerClass( true ); 1183 1184 // Add attribute: value 1185 { 1186 daeMetaAttribute *ma = new daeMetaAttribute; 1187 ma->setName( "value" ); 1188 ma->setType( dae.getAtomicTypes().get("Bool")); 1189 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domDepth_mask , attrValue )); 1190 ma->setContainer( meta ); 1191 ma->setDefaultString( "false"); 1192 ma->setIsRequired( false ); 1193 1194 meta->appendAttribute(ma); 1195 } 1196 1197 // Add attribute: param 1198 { 1199 daeMetaAttribute *ma = new daeMetaAttribute; 1200 ma->setName( "param" ); 1201 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1202 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domDepth_mask , attrParam )); 1203 ma->setContainer( meta ); 1204 ma->setIsRequired( false ); 1205 1206 meta->appendAttribute(ma); 1207 } 1208 1209 meta->setElementSize(sizeof(domGles_pipeline_settings::domDepth_mask)); 1210 meta->validate(); 1211 1212 return meta; 1213 } 1214 1215 daeElementRef 1216 domGles_pipeline_settings::domDepth_range::create(DAE& dae) 1217 { 1218 domGles_pipeline_settings::domDepth_rangeRef ref = new domGles_pipeline_settings::domDepth_range(dae); 1219 return ref; 1220 } 1221 1222 1223 daeMetaElement * 1224 domGles_pipeline_settings::domDepth_range::registerElement(DAE& dae) 1225 { 1226 daeMetaElement* meta = dae.getMeta(ID()); 1227 if ( meta != NULL ) return meta; 1228 1229 meta = new daeMetaElement(dae); 1230 dae.setMeta(ID(), *meta); 1231 meta->setName( "depth_range" ); 1232 meta->registerClass(domGles_pipeline_settings::domDepth_range::create); 1233 1234 meta->setIsInnerClass( true ); 1235 1236 // Add attribute: value 1237 { 1238 daeMetaAttribute *ma = new daeMetaArrayAttribute; 1239 ma->setName( "value" ); 1240 ma->setType( dae.getAtomicTypes().get("Float2")); 1241 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domDepth_range , attrValue )); 1242 ma->setContainer( meta ); 1243 ma->setDefaultString( "0 1"); 1244 ma->setIsRequired( false ); 1245 1246 meta->appendAttribute(ma); 1247 } 1248 1249 // Add attribute: param 1250 { 1251 daeMetaAttribute *ma = new daeMetaAttribute; 1252 ma->setName( "param" ); 1253 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1254 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domDepth_range , attrParam )); 1255 ma->setContainer( meta ); 1256 ma->setIsRequired( false ); 1257 1258 meta->appendAttribute(ma); 1259 } 1260 1261 meta->setElementSize(sizeof(domGles_pipeline_settings::domDepth_range)); 1262 meta->validate(); 1263 1264 return meta; 1265 } 1266 1267 daeElementRef 1268 domGles_pipeline_settings::domFog_color::create(DAE& dae) 1269 { 1270 domGles_pipeline_settings::domFog_colorRef ref = new domGles_pipeline_settings::domFog_color(dae); 1271 return ref; 1272 } 1273 1274 1275 daeMetaElement * 1276 domGles_pipeline_settings::domFog_color::registerElement(DAE& dae) 1277 { 1278 daeMetaElement* meta = dae.getMeta(ID()); 1279 if ( meta != NULL ) return meta; 1280 1281 meta = new daeMetaElement(dae); 1282 dae.setMeta(ID(), *meta); 1283 meta->setName( "fog_color" ); 1284 meta->registerClass(domGles_pipeline_settings::domFog_color::create); 1285 1286 meta->setIsInnerClass( true ); 1287 1288 // Add attribute: value 1289 { 1290 daeMetaAttribute *ma = new daeMetaArrayAttribute; 1291 ma->setName( "value" ); 1292 ma->setType( dae.getAtomicTypes().get("Float4")); 1293 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domFog_color , attrValue )); 1294 ma->setContainer( meta ); 1295 ma->setDefaultString( "0 0 0 0"); 1296 ma->setIsRequired( false ); 1297 1298 meta->appendAttribute(ma); 1299 } 1300 1301 // Add attribute: param 1302 { 1303 daeMetaAttribute *ma = new daeMetaAttribute; 1304 ma->setName( "param" ); 1305 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1306 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domFog_color , attrParam )); 1307 ma->setContainer( meta ); 1308 ma->setIsRequired( false ); 1309 1310 meta->appendAttribute(ma); 1311 } 1312 1313 meta->setElementSize(sizeof(domGles_pipeline_settings::domFog_color)); 1314 meta->validate(); 1315 1316 return meta; 1317 } 1318 1319 daeElementRef 1320 domGles_pipeline_settings::domFog_density::create(DAE& dae) 1321 { 1322 domGles_pipeline_settings::domFog_densityRef ref = new domGles_pipeline_settings::domFog_density(dae); 1323 return ref; 1324 } 1325 1326 1327 daeMetaElement * 1328 domGles_pipeline_settings::domFog_density::registerElement(DAE& dae) 1329 { 1330 daeMetaElement* meta = dae.getMeta(ID()); 1331 if ( meta != NULL ) return meta; 1332 1333 meta = new daeMetaElement(dae); 1334 dae.setMeta(ID(), *meta); 1335 meta->setName( "fog_density" ); 1336 meta->registerClass(domGles_pipeline_settings::domFog_density::create); 1337 1338 meta->setIsInnerClass( true ); 1339 1340 // Add attribute: value 1341 { 1342 daeMetaAttribute *ma = new daeMetaAttribute; 1343 ma->setName( "value" ); 1344 ma->setType( dae.getAtomicTypes().get("Float")); 1345 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domFog_density , attrValue )); 1346 ma->setContainer( meta ); 1347 ma->setDefaultString( "1"); 1348 ma->setIsRequired( false ); 1349 1350 meta->appendAttribute(ma); 1351 } 1352 1353 // Add attribute: param 1354 { 1355 daeMetaAttribute *ma = new daeMetaAttribute; 1356 ma->setName( "param" ); 1357 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1358 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domFog_density , attrParam )); 1359 ma->setContainer( meta ); 1360 ma->setIsRequired( false ); 1361 1362 meta->appendAttribute(ma); 1363 } 1364 1365 meta->setElementSize(sizeof(domGles_pipeline_settings::domFog_density)); 1366 meta->validate(); 1367 1368 return meta; 1369 } 1370 1371 daeElementRef 1372 domGles_pipeline_settings::domFog_mode::create(DAE& dae) 1373 { 1374 domGles_pipeline_settings::domFog_modeRef ref = new domGles_pipeline_settings::domFog_mode(dae); 1375 return ref; 1376 } 1377 1378 1379 daeMetaElement * 1380 domGles_pipeline_settings::domFog_mode::registerElement(DAE& dae) 1381 { 1382 daeMetaElement* meta = dae.getMeta(ID()); 1383 if ( meta != NULL ) return meta; 1384 1385 meta = new daeMetaElement(dae); 1386 dae.setMeta(ID(), *meta); 1387 meta->setName( "fog_mode" ); 1388 meta->registerClass(domGles_pipeline_settings::domFog_mode::create); 1389 1390 meta->setIsInnerClass( true ); 1391 1392 // Add attribute: value 1393 { 1394 daeMetaAttribute *ma = new daeMetaAttribute; 1395 ma->setName( "value" ); 1396 ma->setType( dae.getAtomicTypes().get("Gl_fog_type")); 1397 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domFog_mode , attrValue )); 1398 ma->setContainer( meta ); 1399 ma->setDefaultString( "EXP"); 1400 ma->setIsRequired( false ); 1401 1402 meta->appendAttribute(ma); 1403 } 1404 1405 // Add attribute: param 1406 { 1407 daeMetaAttribute *ma = new daeMetaAttribute; 1408 ma->setName( "param" ); 1409 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1410 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domFog_mode , attrParam )); 1411 ma->setContainer( meta ); 1412 ma->setIsRequired( false ); 1413 1414 meta->appendAttribute(ma); 1415 } 1416 1417 meta->setElementSize(sizeof(domGles_pipeline_settings::domFog_mode)); 1418 meta->validate(); 1419 1420 return meta; 1421 } 1422 1423 daeElementRef 1424 domGles_pipeline_settings::domFog_start::create(DAE& dae) 1425 { 1426 domGles_pipeline_settings::domFog_startRef ref = new domGles_pipeline_settings::domFog_start(dae); 1427 return ref; 1428 } 1429 1430 1431 daeMetaElement * 1432 domGles_pipeline_settings::domFog_start::registerElement(DAE& dae) 1433 { 1434 daeMetaElement* meta = dae.getMeta(ID()); 1435 if ( meta != NULL ) return meta; 1436 1437 meta = new daeMetaElement(dae); 1438 dae.setMeta(ID(), *meta); 1439 meta->setName( "fog_start" ); 1440 meta->registerClass(domGles_pipeline_settings::domFog_start::create); 1441 1442 meta->setIsInnerClass( true ); 1443 1444 // Add attribute: value 1445 { 1446 daeMetaAttribute *ma = new daeMetaAttribute; 1447 ma->setName( "value" ); 1448 ma->setType( dae.getAtomicTypes().get("Float")); 1449 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domFog_start , attrValue )); 1450 ma->setContainer( meta ); 1451 ma->setDefaultString( "0"); 1452 ma->setIsRequired( false ); 1453 1454 meta->appendAttribute(ma); 1455 } 1456 1457 // Add attribute: param 1458 { 1459 daeMetaAttribute *ma = new daeMetaAttribute; 1460 ma->setName( "param" ); 1461 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1462 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domFog_start , attrParam )); 1463 ma->setContainer( meta ); 1464 ma->setIsRequired( false ); 1465 1466 meta->appendAttribute(ma); 1467 } 1468 1469 meta->setElementSize(sizeof(domGles_pipeline_settings::domFog_start)); 1470 meta->validate(); 1471 1472 return meta; 1473 } 1474 1475 daeElementRef 1476 domGles_pipeline_settings::domFog_end::create(DAE& dae) 1477 { 1478 domGles_pipeline_settings::domFog_endRef ref = new domGles_pipeline_settings::domFog_end(dae); 1479 return ref; 1480 } 1481 1482 1483 daeMetaElement * 1484 domGles_pipeline_settings::domFog_end::registerElement(DAE& dae) 1485 { 1486 daeMetaElement* meta = dae.getMeta(ID()); 1487 if ( meta != NULL ) return meta; 1488 1489 meta = new daeMetaElement(dae); 1490 dae.setMeta(ID(), *meta); 1491 meta->setName( "fog_end" ); 1492 meta->registerClass(domGles_pipeline_settings::domFog_end::create); 1493 1494 meta->setIsInnerClass( true ); 1495 1496 // Add attribute: value 1497 { 1498 daeMetaAttribute *ma = new daeMetaAttribute; 1499 ma->setName( "value" ); 1500 ma->setType( dae.getAtomicTypes().get("Float")); 1501 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domFog_end , attrValue )); 1502 ma->setContainer( meta ); 1503 ma->setDefaultString( "1"); 1504 ma->setIsRequired( false ); 1505 1506 meta->appendAttribute(ma); 1507 } 1508 1509 // Add attribute: param 1510 { 1511 daeMetaAttribute *ma = new daeMetaAttribute; 1512 ma->setName( "param" ); 1513 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1514 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domFog_end , attrParam )); 1515 ma->setContainer( meta ); 1516 ma->setIsRequired( false ); 1517 1518 meta->appendAttribute(ma); 1519 } 1520 1521 meta->setElementSize(sizeof(domGles_pipeline_settings::domFog_end)); 1522 meta->validate(); 1523 1524 return meta; 1525 } 1526 1527 daeElementRef 1528 domGles_pipeline_settings::domFront_face::create(DAE& dae) 1529 { 1530 domGles_pipeline_settings::domFront_faceRef ref = new domGles_pipeline_settings::domFront_face(dae); 1531 return ref; 1532 } 1533 1534 1535 daeMetaElement * 1536 domGles_pipeline_settings::domFront_face::registerElement(DAE& dae) 1537 { 1538 daeMetaElement* meta = dae.getMeta(ID()); 1539 if ( meta != NULL ) return meta; 1540 1541 meta = new daeMetaElement(dae); 1542 dae.setMeta(ID(), *meta); 1543 meta->setName( "front_face" ); 1544 meta->registerClass(domGles_pipeline_settings::domFront_face::create); 1545 1546 meta->setIsInnerClass( true ); 1547 1548 // Add attribute: value 1549 { 1550 daeMetaAttribute *ma = new daeMetaAttribute; 1551 ma->setName( "value" ); 1552 ma->setType( dae.getAtomicTypes().get("Gl_front_face_type")); 1553 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domFront_face , attrValue )); 1554 ma->setContainer( meta ); 1555 ma->setDefaultString( "CCW"); 1556 ma->setIsRequired( false ); 1557 1558 meta->appendAttribute(ma); 1559 } 1560 1561 // Add attribute: param 1562 { 1563 daeMetaAttribute *ma = new daeMetaAttribute; 1564 ma->setName( "param" ); 1565 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1566 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domFront_face , attrParam )); 1567 ma->setContainer( meta ); 1568 ma->setIsRequired( false ); 1569 1570 meta->appendAttribute(ma); 1571 } 1572 1573 meta->setElementSize(sizeof(domGles_pipeline_settings::domFront_face)); 1574 meta->validate(); 1575 1576 return meta; 1577 } 1578 1579 daeElementRef 1580 domGles_pipeline_settings::domTexture_pipeline::create(DAE& dae) 1581 { 1582 domGles_pipeline_settings::domTexture_pipelineRef ref = new domGles_pipeline_settings::domTexture_pipeline(dae); 1583 return ref; 1584 } 1585 1586 1587 daeMetaElement * 1588 domGles_pipeline_settings::domTexture_pipeline::registerElement(DAE& dae) 1589 { 1590 daeMetaElement* meta = dae.getMeta(ID()); 1591 if ( meta != NULL ) return meta; 1592 1593 meta = new daeMetaElement(dae); 1594 dae.setMeta(ID(), *meta); 1595 meta->setName( "texture_pipeline" ); 1596 meta->registerClass(domGles_pipeline_settings::domTexture_pipeline::create); 1597 1598 meta->setIsInnerClass( true ); 1599 daeMetaCMPolicy *cm = NULL; 1600 daeMetaElementAttribute *mea = NULL; 1601 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 1602 1603 mea = new daeMetaElementAttribute( meta, cm, 0, 0, 1 ); 1604 mea->setName( "value" ); 1605 mea->setOffset( daeOffsetOf(domGles_pipeline_settings::domTexture_pipeline,elemValue) ); 1606 mea->setElementType( domGles_texture_pipeline::registerElement(dae) ); 1607 cm->appendChild( mea ); 1608 1609 cm->setMaxOrdinal( 0 ); 1610 meta->setCMRoot( cm ); 1611 1612 // Add attribute: param 1613 { 1614 daeMetaAttribute *ma = new daeMetaAttribute; 1615 ma->setName( "param" ); 1616 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1617 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domTexture_pipeline , attrParam )); 1618 ma->setContainer( meta ); 1619 ma->setIsRequired( false ); 1620 1621 meta->appendAttribute(ma); 1622 } 1623 1624 meta->setElementSize(sizeof(domGles_pipeline_settings::domTexture_pipeline)); 1625 meta->validate(); 1626 1627 return meta; 1628 } 1629 1630 daeElementRef 1631 domGles_pipeline_settings::domLogic_op::create(DAE& dae) 1632 { 1633 domGles_pipeline_settings::domLogic_opRef ref = new domGles_pipeline_settings::domLogic_op(dae); 1634 return ref; 1635 } 1636 1637 1638 daeMetaElement * 1639 domGles_pipeline_settings::domLogic_op::registerElement(DAE& dae) 1640 { 1641 daeMetaElement* meta = dae.getMeta(ID()); 1642 if ( meta != NULL ) return meta; 1643 1644 meta = new daeMetaElement(dae); 1645 dae.setMeta(ID(), *meta); 1646 meta->setName( "logic_op" ); 1647 meta->registerClass(domGles_pipeline_settings::domLogic_op::create); 1648 1649 meta->setIsInnerClass( true ); 1650 1651 // Add attribute: value 1652 { 1653 daeMetaAttribute *ma = new daeMetaAttribute; 1654 ma->setName( "value" ); 1655 ma->setType( dae.getAtomicTypes().get("Gl_logic_op_type")); 1656 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLogic_op , attrValue )); 1657 ma->setContainer( meta ); 1658 ma->setDefaultString( "COPY"); 1659 ma->setIsRequired( false ); 1660 1661 meta->appendAttribute(ma); 1662 } 1663 1664 // Add attribute: param 1665 { 1666 daeMetaAttribute *ma = new daeMetaAttribute; 1667 ma->setName( "param" ); 1668 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1669 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLogic_op , attrParam )); 1670 ma->setContainer( meta ); 1671 ma->setIsRequired( false ); 1672 1673 meta->appendAttribute(ma); 1674 } 1675 1676 meta->setElementSize(sizeof(domGles_pipeline_settings::domLogic_op)); 1677 meta->validate(); 1678 1679 return meta; 1680 } 1681 1682 daeElementRef 1683 domGles_pipeline_settings::domLight_ambient::create(DAE& dae) 1684 { 1685 domGles_pipeline_settings::domLight_ambientRef ref = new domGles_pipeline_settings::domLight_ambient(dae); 1686 return ref; 1687 } 1688 1689 1690 daeMetaElement * 1691 domGles_pipeline_settings::domLight_ambient::registerElement(DAE& dae) 1692 { 1693 daeMetaElement* meta = dae.getMeta(ID()); 1694 if ( meta != NULL ) return meta; 1695 1696 meta = new daeMetaElement(dae); 1697 dae.setMeta(ID(), *meta); 1698 meta->setName( "light_ambient" ); 1699 meta->registerClass(domGles_pipeline_settings::domLight_ambient::create); 1700 1701 meta->setIsInnerClass( true ); 1702 1703 // Add attribute: value 1704 { 1705 daeMetaAttribute *ma = new daeMetaArrayAttribute; 1706 ma->setName( "value" ); 1707 ma->setType( dae.getAtomicTypes().get("Float4")); 1708 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_ambient , attrValue )); 1709 ma->setContainer( meta ); 1710 ma->setDefaultString( "0 0 0 1"); 1711 ma->setIsRequired( false ); 1712 1713 meta->appendAttribute(ma); 1714 } 1715 1716 // Add attribute: param 1717 { 1718 daeMetaAttribute *ma = new daeMetaAttribute; 1719 ma->setName( "param" ); 1720 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1721 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_ambient , attrParam )); 1722 ma->setContainer( meta ); 1723 ma->setIsRequired( false ); 1724 1725 meta->appendAttribute(ma); 1726 } 1727 1728 // Add attribute: index 1729 { 1730 daeMetaAttribute *ma = new daeMetaAttribute; 1731 ma->setName( "index" ); 1732 ma->setType( dae.getAtomicTypes().get("GLES_MAX_LIGHTS_index")); 1733 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_ambient , attrIndex )); 1734 ma->setContainer( meta ); 1735 ma->setIsRequired( true ); 1736 1737 meta->appendAttribute(ma); 1738 } 1739 1740 meta->setElementSize(sizeof(domGles_pipeline_settings::domLight_ambient)); 1741 meta->validate(); 1742 1743 return meta; 1744 } 1745 1746 daeElementRef 1747 domGles_pipeline_settings::domLight_diffuse::create(DAE& dae) 1748 { 1749 domGles_pipeline_settings::domLight_diffuseRef ref = new domGles_pipeline_settings::domLight_diffuse(dae); 1750 return ref; 1751 } 1752 1753 1754 daeMetaElement * 1755 domGles_pipeline_settings::domLight_diffuse::registerElement(DAE& dae) 1756 { 1757 daeMetaElement* meta = dae.getMeta(ID()); 1758 if ( meta != NULL ) return meta; 1759 1760 meta = new daeMetaElement(dae); 1761 dae.setMeta(ID(), *meta); 1762 meta->setName( "light_diffuse" ); 1763 meta->registerClass(domGles_pipeline_settings::domLight_diffuse::create); 1764 1765 meta->setIsInnerClass( true ); 1766 1767 // Add attribute: value 1768 { 1769 daeMetaAttribute *ma = new daeMetaArrayAttribute; 1770 ma->setName( "value" ); 1771 ma->setType( dae.getAtomicTypes().get("Float4")); 1772 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_diffuse , attrValue )); 1773 ma->setContainer( meta ); 1774 ma->setDefaultString( "0 0 0 0"); 1775 ma->setIsRequired( false ); 1776 1777 meta->appendAttribute(ma); 1778 } 1779 1780 // Add attribute: param 1781 { 1782 daeMetaAttribute *ma = new daeMetaAttribute; 1783 ma->setName( "param" ); 1784 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1785 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_diffuse , attrParam )); 1786 ma->setContainer( meta ); 1787 ma->setIsRequired( false ); 1788 1789 meta->appendAttribute(ma); 1790 } 1791 1792 // Add attribute: index 1793 { 1794 daeMetaAttribute *ma = new daeMetaAttribute; 1795 ma->setName( "index" ); 1796 ma->setType( dae.getAtomicTypes().get("GLES_MAX_LIGHTS_index")); 1797 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_diffuse , attrIndex )); 1798 ma->setContainer( meta ); 1799 ma->setIsRequired( true ); 1800 1801 meta->appendAttribute(ma); 1802 } 1803 1804 meta->setElementSize(sizeof(domGles_pipeline_settings::domLight_diffuse)); 1805 meta->validate(); 1806 1807 return meta; 1808 } 1809 1810 daeElementRef 1811 domGles_pipeline_settings::domLight_specular::create(DAE& dae) 1812 { 1813 domGles_pipeline_settings::domLight_specularRef ref = new domGles_pipeline_settings::domLight_specular(dae); 1814 return ref; 1815 } 1816 1817 1818 daeMetaElement * 1819 domGles_pipeline_settings::domLight_specular::registerElement(DAE& dae) 1820 { 1821 daeMetaElement* meta = dae.getMeta(ID()); 1822 if ( meta != NULL ) return meta; 1823 1824 meta = new daeMetaElement(dae); 1825 dae.setMeta(ID(), *meta); 1826 meta->setName( "light_specular" ); 1827 meta->registerClass(domGles_pipeline_settings::domLight_specular::create); 1828 1829 meta->setIsInnerClass( true ); 1830 1831 // Add attribute: value 1832 { 1833 daeMetaAttribute *ma = new daeMetaArrayAttribute; 1834 ma->setName( "value" ); 1835 ma->setType( dae.getAtomicTypes().get("Float4")); 1836 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_specular , attrValue )); 1837 ma->setContainer( meta ); 1838 ma->setDefaultString( "0 0 0 0"); 1839 ma->setIsRequired( false ); 1840 1841 meta->appendAttribute(ma); 1842 } 1843 1844 // Add attribute: param 1845 { 1846 daeMetaAttribute *ma = new daeMetaAttribute; 1847 ma->setName( "param" ); 1848 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1849 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_specular , attrParam )); 1850 ma->setContainer( meta ); 1851 ma->setIsRequired( false ); 1852 1853 meta->appendAttribute(ma); 1854 } 1855 1856 // Add attribute: index 1857 { 1858 daeMetaAttribute *ma = new daeMetaAttribute; 1859 ma->setName( "index" ); 1860 ma->setType( dae.getAtomicTypes().get("GLES_MAX_LIGHTS_index")); 1861 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_specular , attrIndex )); 1862 ma->setContainer( meta ); 1863 ma->setIsRequired( true ); 1864 1865 meta->appendAttribute(ma); 1866 } 1867 1868 meta->setElementSize(sizeof(domGles_pipeline_settings::domLight_specular)); 1869 meta->validate(); 1870 1871 return meta; 1872 } 1873 1874 daeElementRef 1875 domGles_pipeline_settings::domLight_position::create(DAE& dae) 1876 { 1877 domGles_pipeline_settings::domLight_positionRef ref = new domGles_pipeline_settings::domLight_position(dae); 1878 return ref; 1879 } 1880 1881 1882 daeMetaElement * 1883 domGles_pipeline_settings::domLight_position::registerElement(DAE& dae) 1884 { 1885 daeMetaElement* meta = dae.getMeta(ID()); 1886 if ( meta != NULL ) return meta; 1887 1888 meta = new daeMetaElement(dae); 1889 dae.setMeta(ID(), *meta); 1890 meta->setName( "light_position" ); 1891 meta->registerClass(domGles_pipeline_settings::domLight_position::create); 1892 1893 meta->setIsInnerClass( true ); 1894 1895 // Add attribute: value 1896 { 1897 daeMetaAttribute *ma = new daeMetaArrayAttribute; 1898 ma->setName( "value" ); 1899 ma->setType( dae.getAtomicTypes().get("Float4")); 1900 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_position , attrValue )); 1901 ma->setContainer( meta ); 1902 ma->setDefaultString( "0 0 1 0"); 1903 ma->setIsRequired( false ); 1904 1905 meta->appendAttribute(ma); 1906 } 1907 1908 // Add attribute: param 1909 { 1910 daeMetaAttribute *ma = new daeMetaAttribute; 1911 ma->setName( "param" ); 1912 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1913 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_position , attrParam )); 1914 ma->setContainer( meta ); 1915 ma->setIsRequired( false ); 1916 1917 meta->appendAttribute(ma); 1918 } 1919 1920 // Add attribute: index 1921 { 1922 daeMetaAttribute *ma = new daeMetaAttribute; 1923 ma->setName( "index" ); 1924 ma->setType( dae.getAtomicTypes().get("GLES_MAX_LIGHTS_index")); 1925 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_position , attrIndex )); 1926 ma->setContainer( meta ); 1927 ma->setIsRequired( true ); 1928 1929 meta->appendAttribute(ma); 1930 } 1931 1932 meta->setElementSize(sizeof(domGles_pipeline_settings::domLight_position)); 1933 meta->validate(); 1934 1935 return meta; 1936 } 1937 1938 daeElementRef 1939 domGles_pipeline_settings::domLight_constant_attenuation::create(DAE& dae) 1940 { 1941 domGles_pipeline_settings::domLight_constant_attenuationRef ref = new domGles_pipeline_settings::domLight_constant_attenuation(dae); 1942 return ref; 1943 } 1944 1945 1946 daeMetaElement * 1947 domGles_pipeline_settings::domLight_constant_attenuation::registerElement(DAE& dae) 1948 { 1949 daeMetaElement* meta = dae.getMeta(ID()); 1950 if ( meta != NULL ) return meta; 1951 1952 meta = new daeMetaElement(dae); 1953 dae.setMeta(ID(), *meta); 1954 meta->setName( "light_constant_attenuation" ); 1955 meta->registerClass(domGles_pipeline_settings::domLight_constant_attenuation::create); 1956 1957 meta->setIsInnerClass( true ); 1958 1959 // Add attribute: value 1960 { 1961 daeMetaAttribute *ma = new daeMetaAttribute; 1962 ma->setName( "value" ); 1963 ma->setType( dae.getAtomicTypes().get("Float")); 1964 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_constant_attenuation , attrValue )); 1965 ma->setContainer( meta ); 1966 ma->setDefaultString( "1"); 1967 ma->setIsRequired( false ); 1968 1969 meta->appendAttribute(ma); 1970 } 1971 1972 // Add attribute: param 1973 { 1974 daeMetaAttribute *ma = new daeMetaAttribute; 1975 ma->setName( "param" ); 1976 ma->setType( dae.getAtomicTypes().get("xsNCName")); 1977 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_constant_attenuation , attrParam )); 1978 ma->setContainer( meta ); 1979 ma->setIsRequired( false ); 1980 1981 meta->appendAttribute(ma); 1982 } 1983 1984 // Add attribute: index 1985 { 1986 daeMetaAttribute *ma = new daeMetaAttribute; 1987 ma->setName( "index" ); 1988 ma->setType( dae.getAtomicTypes().get("GLES_MAX_LIGHTS_index")); 1989 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_constant_attenuation , attrIndex )); 1990 ma->setContainer( meta ); 1991 ma->setIsRequired( true ); 1992 1993 meta->appendAttribute(ma); 1994 } 1995 1996 meta->setElementSize(sizeof(domGles_pipeline_settings::domLight_constant_attenuation)); 1997 meta->validate(); 1998 1999 return meta; 2000 } 2001 2002 daeElementRef 2003 domGles_pipeline_settings::domLight_linear_attenutation::create(DAE& dae) 2004 { 2005 domGles_pipeline_settings::domLight_linear_attenutationRef ref = new domGles_pipeline_settings::domLight_linear_attenutation(dae); 2006 return ref; 2007 } 2008 2009 2010 daeMetaElement * 2011 domGles_pipeline_settings::domLight_linear_attenutation::registerElement(DAE& dae) 2012 { 2013 daeMetaElement* meta = dae.getMeta(ID()); 2014 if ( meta != NULL ) return meta; 2015 2016 meta = new daeMetaElement(dae); 2017 dae.setMeta(ID(), *meta); 2018 meta->setName( "light_linear_attenutation" ); 2019 meta->registerClass(domGles_pipeline_settings::domLight_linear_attenutation::create); 2020 2021 meta->setIsInnerClass( true ); 2022 2023 // Add attribute: value 2024 { 2025 daeMetaAttribute *ma = new daeMetaAttribute; 2026 ma->setName( "value" ); 2027 ma->setType( dae.getAtomicTypes().get("Float")); 2028 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_linear_attenutation , attrValue )); 2029 ma->setContainer( meta ); 2030 ma->setDefaultString( "1"); 2031 ma->setIsRequired( false ); 2032 2033 meta->appendAttribute(ma); 2034 } 2035 2036 // Add attribute: param 2037 { 2038 daeMetaAttribute *ma = new daeMetaAttribute; 2039 ma->setName( "param" ); 2040 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2041 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_linear_attenutation , attrParam )); 2042 ma->setContainer( meta ); 2043 ma->setIsRequired( false ); 2044 2045 meta->appendAttribute(ma); 2046 } 2047 2048 // Add attribute: index 2049 { 2050 daeMetaAttribute *ma = new daeMetaAttribute; 2051 ma->setName( "index" ); 2052 ma->setType( dae.getAtomicTypes().get("GLES_MAX_LIGHTS_index")); 2053 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_linear_attenutation , attrIndex )); 2054 ma->setContainer( meta ); 2055 ma->setIsRequired( true ); 2056 2057 meta->appendAttribute(ma); 2058 } 2059 2060 meta->setElementSize(sizeof(domGles_pipeline_settings::domLight_linear_attenutation)); 2061 meta->validate(); 2062 2063 return meta; 2064 } 2065 2066 daeElementRef 2067 domGles_pipeline_settings::domLight_quadratic_attenuation::create(DAE& dae) 2068 { 2069 domGles_pipeline_settings::domLight_quadratic_attenuationRef ref = new domGles_pipeline_settings::domLight_quadratic_attenuation(dae); 2070 return ref; 2071 } 2072 2073 2074 daeMetaElement * 2075 domGles_pipeline_settings::domLight_quadratic_attenuation::registerElement(DAE& dae) 2076 { 2077 daeMetaElement* meta = dae.getMeta(ID()); 2078 if ( meta != NULL ) return meta; 2079 2080 meta = new daeMetaElement(dae); 2081 dae.setMeta(ID(), *meta); 2082 meta->setName( "light_quadratic_attenuation" ); 2083 meta->registerClass(domGles_pipeline_settings::domLight_quadratic_attenuation::create); 2084 2085 meta->setIsInnerClass( true ); 2086 2087 // Add attribute: value 2088 { 2089 daeMetaAttribute *ma = new daeMetaAttribute; 2090 ma->setName( "value" ); 2091 ma->setType( dae.getAtomicTypes().get("Float")); 2092 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_quadratic_attenuation , attrValue )); 2093 ma->setContainer( meta ); 2094 ma->setDefaultString( "1"); 2095 ma->setIsRequired( false ); 2096 2097 meta->appendAttribute(ma); 2098 } 2099 2100 // Add attribute: param 2101 { 2102 daeMetaAttribute *ma = new daeMetaAttribute; 2103 ma->setName( "param" ); 2104 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2105 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_quadratic_attenuation , attrParam )); 2106 ma->setContainer( meta ); 2107 ma->setIsRequired( false ); 2108 2109 meta->appendAttribute(ma); 2110 } 2111 2112 // Add attribute: index 2113 { 2114 daeMetaAttribute *ma = new daeMetaAttribute; 2115 ma->setName( "index" ); 2116 ma->setType( dae.getAtomicTypes().get("GLES_MAX_LIGHTS_index")); 2117 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_quadratic_attenuation , attrIndex )); 2118 ma->setContainer( meta ); 2119 ma->setIsRequired( true ); 2120 2121 meta->appendAttribute(ma); 2122 } 2123 2124 meta->setElementSize(sizeof(domGles_pipeline_settings::domLight_quadratic_attenuation)); 2125 meta->validate(); 2126 2127 return meta; 2128 } 2129 2130 daeElementRef 2131 domGles_pipeline_settings::domLight_spot_cutoff::create(DAE& dae) 2132 { 2133 domGles_pipeline_settings::domLight_spot_cutoffRef ref = new domGles_pipeline_settings::domLight_spot_cutoff(dae); 2134 return ref; 2135 } 2136 2137 2138 daeMetaElement * 2139 domGles_pipeline_settings::domLight_spot_cutoff::registerElement(DAE& dae) 2140 { 2141 daeMetaElement* meta = dae.getMeta(ID()); 2142 if ( meta != NULL ) return meta; 2143 2144 meta = new daeMetaElement(dae); 2145 dae.setMeta(ID(), *meta); 2146 meta->setName( "light_spot_cutoff" ); 2147 meta->registerClass(domGles_pipeline_settings::domLight_spot_cutoff::create); 2148 2149 meta->setIsInnerClass( true ); 2150 2151 // Add attribute: value 2152 { 2153 daeMetaAttribute *ma = new daeMetaAttribute; 2154 ma->setName( "value" ); 2155 ma->setType( dae.getAtomicTypes().get("Float")); 2156 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_spot_cutoff , attrValue )); 2157 ma->setContainer( meta ); 2158 ma->setDefaultString( "180"); 2159 ma->setIsRequired( false ); 2160 2161 meta->appendAttribute(ma); 2162 } 2163 2164 // Add attribute: param 2165 { 2166 daeMetaAttribute *ma = new daeMetaAttribute; 2167 ma->setName( "param" ); 2168 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2169 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_spot_cutoff , attrParam )); 2170 ma->setContainer( meta ); 2171 ma->setIsRequired( false ); 2172 2173 meta->appendAttribute(ma); 2174 } 2175 2176 // Add attribute: index 2177 { 2178 daeMetaAttribute *ma = new daeMetaAttribute; 2179 ma->setName( "index" ); 2180 ma->setType( dae.getAtomicTypes().get("GLES_MAX_LIGHTS_index")); 2181 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_spot_cutoff , attrIndex )); 2182 ma->setContainer( meta ); 2183 ma->setIsRequired( true ); 2184 2185 meta->appendAttribute(ma); 2186 } 2187 2188 meta->setElementSize(sizeof(domGles_pipeline_settings::domLight_spot_cutoff)); 2189 meta->validate(); 2190 2191 return meta; 2192 } 2193 2194 daeElementRef 2195 domGles_pipeline_settings::domLight_spot_direction::create(DAE& dae) 2196 { 2197 domGles_pipeline_settings::domLight_spot_directionRef ref = new domGles_pipeline_settings::domLight_spot_direction(dae); 2198 return ref; 2199 } 2200 2201 2202 daeMetaElement * 2203 domGles_pipeline_settings::domLight_spot_direction::registerElement(DAE& dae) 2204 { 2205 daeMetaElement* meta = dae.getMeta(ID()); 2206 if ( meta != NULL ) return meta; 2207 2208 meta = new daeMetaElement(dae); 2209 dae.setMeta(ID(), *meta); 2210 meta->setName( "light_spot_direction" ); 2211 meta->registerClass(domGles_pipeline_settings::domLight_spot_direction::create); 2212 2213 meta->setIsInnerClass( true ); 2214 2215 // Add attribute: value 2216 { 2217 daeMetaAttribute *ma = new daeMetaArrayAttribute; 2218 ma->setName( "value" ); 2219 ma->setType( dae.getAtomicTypes().get("Float3")); 2220 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_spot_direction , attrValue )); 2221 ma->setContainer( meta ); 2222 ma->setDefaultString( "0 0 -1"); 2223 ma->setIsRequired( false ); 2224 2225 meta->appendAttribute(ma); 2226 } 2227 2228 // Add attribute: param 2229 { 2230 daeMetaAttribute *ma = new daeMetaAttribute; 2231 ma->setName( "param" ); 2232 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2233 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_spot_direction , attrParam )); 2234 ma->setContainer( meta ); 2235 ma->setIsRequired( false ); 2236 2237 meta->appendAttribute(ma); 2238 } 2239 2240 // Add attribute: index 2241 { 2242 daeMetaAttribute *ma = new daeMetaAttribute; 2243 ma->setName( "index" ); 2244 ma->setType( dae.getAtomicTypes().get("GLES_MAX_LIGHTS_index")); 2245 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_spot_direction , attrIndex )); 2246 ma->setContainer( meta ); 2247 ma->setIsRequired( true ); 2248 2249 meta->appendAttribute(ma); 2250 } 2251 2252 meta->setElementSize(sizeof(domGles_pipeline_settings::domLight_spot_direction)); 2253 meta->validate(); 2254 2255 return meta; 2256 } 2257 2258 daeElementRef 2259 domGles_pipeline_settings::domLight_spot_exponent::create(DAE& dae) 2260 { 2261 domGles_pipeline_settings::domLight_spot_exponentRef ref = new domGles_pipeline_settings::domLight_spot_exponent(dae); 2262 return ref; 2263 } 2264 2265 2266 daeMetaElement * 2267 domGles_pipeline_settings::domLight_spot_exponent::registerElement(DAE& dae) 2268 { 2269 daeMetaElement* meta = dae.getMeta(ID()); 2270 if ( meta != NULL ) return meta; 2271 2272 meta = new daeMetaElement(dae); 2273 dae.setMeta(ID(), *meta); 2274 meta->setName( "light_spot_exponent" ); 2275 meta->registerClass(domGles_pipeline_settings::domLight_spot_exponent::create); 2276 2277 meta->setIsInnerClass( true ); 2278 2279 // Add attribute: value 2280 { 2281 daeMetaAttribute *ma = new daeMetaAttribute; 2282 ma->setName( "value" ); 2283 ma->setType( dae.getAtomicTypes().get("Float")); 2284 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_spot_exponent , attrValue )); 2285 ma->setContainer( meta ); 2286 ma->setDefaultString( "0"); 2287 ma->setIsRequired( false ); 2288 2289 meta->appendAttribute(ma); 2290 } 2291 2292 // Add attribute: param 2293 { 2294 daeMetaAttribute *ma = new daeMetaAttribute; 2295 ma->setName( "param" ); 2296 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2297 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_spot_exponent , attrParam )); 2298 ma->setContainer( meta ); 2299 ma->setIsRequired( false ); 2300 2301 meta->appendAttribute(ma); 2302 } 2303 2304 // Add attribute: index 2305 { 2306 daeMetaAttribute *ma = new daeMetaAttribute; 2307 ma->setName( "index" ); 2308 ma->setType( dae.getAtomicTypes().get("GLES_MAX_LIGHTS_index")); 2309 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_spot_exponent , attrIndex )); 2310 ma->setContainer( meta ); 2311 ma->setIsRequired( true ); 2312 2313 meta->appendAttribute(ma); 2314 } 2315 2316 meta->setElementSize(sizeof(domGles_pipeline_settings::domLight_spot_exponent)); 2317 meta->validate(); 2318 2319 return meta; 2320 } 2321 2322 daeElementRef 2323 domGles_pipeline_settings::domLight_model_ambient::create(DAE& dae) 2324 { 2325 domGles_pipeline_settings::domLight_model_ambientRef ref = new domGles_pipeline_settings::domLight_model_ambient(dae); 2326 return ref; 2327 } 2328 2329 2330 daeMetaElement * 2331 domGles_pipeline_settings::domLight_model_ambient::registerElement(DAE& dae) 2332 { 2333 daeMetaElement* meta = dae.getMeta(ID()); 2334 if ( meta != NULL ) return meta; 2335 2336 meta = new daeMetaElement(dae); 2337 dae.setMeta(ID(), *meta); 2338 meta->setName( "light_model_ambient" ); 2339 meta->registerClass(domGles_pipeline_settings::domLight_model_ambient::create); 2340 2341 meta->setIsInnerClass( true ); 2342 2343 // Add attribute: value 2344 { 2345 daeMetaAttribute *ma = new daeMetaArrayAttribute; 2346 ma->setName( "value" ); 2347 ma->setType( dae.getAtomicTypes().get("Float4")); 2348 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_model_ambient , attrValue )); 2349 ma->setContainer( meta ); 2350 ma->setDefaultString( "0.2 0.2 0.2 1.0"); 2351 ma->setIsRequired( false ); 2352 2353 meta->appendAttribute(ma); 2354 } 2355 2356 // Add attribute: param 2357 { 2358 daeMetaAttribute *ma = new daeMetaAttribute; 2359 ma->setName( "param" ); 2360 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2361 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_model_ambient , attrParam )); 2362 ma->setContainer( meta ); 2363 ma->setIsRequired( false ); 2364 2365 meta->appendAttribute(ma); 2366 } 2367 2368 meta->setElementSize(sizeof(domGles_pipeline_settings::domLight_model_ambient)); 2369 meta->validate(); 2370 2371 return meta; 2372 } 2373 2374 daeElementRef 2375 domGles_pipeline_settings::domLine_width::create(DAE& dae) 2376 { 2377 domGles_pipeline_settings::domLine_widthRef ref = new domGles_pipeline_settings::domLine_width(dae); 2378 return ref; 2379 } 2380 2381 2382 daeMetaElement * 2383 domGles_pipeline_settings::domLine_width::registerElement(DAE& dae) 2384 { 2385 daeMetaElement* meta = dae.getMeta(ID()); 2386 if ( meta != NULL ) return meta; 2387 2388 meta = new daeMetaElement(dae); 2389 dae.setMeta(ID(), *meta); 2390 meta->setName( "line_width" ); 2391 meta->registerClass(domGles_pipeline_settings::domLine_width::create); 2392 2393 meta->setIsInnerClass( true ); 2394 2395 // Add attribute: value 2396 { 2397 daeMetaAttribute *ma = new daeMetaAttribute; 2398 ma->setName( "value" ); 2399 ma->setType( dae.getAtomicTypes().get("Float")); 2400 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLine_width , attrValue )); 2401 ma->setContainer( meta ); 2402 ma->setDefaultString( "1"); 2403 ma->setIsRequired( false ); 2404 2405 meta->appendAttribute(ma); 2406 } 2407 2408 // Add attribute: param 2409 { 2410 daeMetaAttribute *ma = new daeMetaAttribute; 2411 ma->setName( "param" ); 2412 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2413 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLine_width , attrParam )); 2414 ma->setContainer( meta ); 2415 ma->setIsRequired( false ); 2416 2417 meta->appendAttribute(ma); 2418 } 2419 2420 meta->setElementSize(sizeof(domGles_pipeline_settings::domLine_width)); 2421 meta->validate(); 2422 2423 return meta; 2424 } 2425 2426 daeElementRef 2427 domGles_pipeline_settings::domMaterial_ambient::create(DAE& dae) 2428 { 2429 domGles_pipeline_settings::domMaterial_ambientRef ref = new domGles_pipeline_settings::domMaterial_ambient(dae); 2430 return ref; 2431 } 2432 2433 2434 daeMetaElement * 2435 domGles_pipeline_settings::domMaterial_ambient::registerElement(DAE& dae) 2436 { 2437 daeMetaElement* meta = dae.getMeta(ID()); 2438 if ( meta != NULL ) return meta; 2439 2440 meta = new daeMetaElement(dae); 2441 dae.setMeta(ID(), *meta); 2442 meta->setName( "material_ambient" ); 2443 meta->registerClass(domGles_pipeline_settings::domMaterial_ambient::create); 2444 2445 meta->setIsInnerClass( true ); 2446 2447 // Add attribute: value 2448 { 2449 daeMetaAttribute *ma = new daeMetaArrayAttribute; 2450 ma->setName( "value" ); 2451 ma->setType( dae.getAtomicTypes().get("Float4")); 2452 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domMaterial_ambient , attrValue )); 2453 ma->setContainer( meta ); 2454 ma->setDefaultString( "0.2 0.2 0.2 1.0"); 2455 ma->setIsRequired( false ); 2456 2457 meta->appendAttribute(ma); 2458 } 2459 2460 // Add attribute: param 2461 { 2462 daeMetaAttribute *ma = new daeMetaAttribute; 2463 ma->setName( "param" ); 2464 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2465 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domMaterial_ambient , attrParam )); 2466 ma->setContainer( meta ); 2467 ma->setIsRequired( false ); 2468 2469 meta->appendAttribute(ma); 2470 } 2471 2472 meta->setElementSize(sizeof(domGles_pipeline_settings::domMaterial_ambient)); 2473 meta->validate(); 2474 2475 return meta; 2476 } 2477 2478 daeElementRef 2479 domGles_pipeline_settings::domMaterial_diffuse::create(DAE& dae) 2480 { 2481 domGles_pipeline_settings::domMaterial_diffuseRef ref = new domGles_pipeline_settings::domMaterial_diffuse(dae); 2482 return ref; 2483 } 2484 2485 2486 daeMetaElement * 2487 domGles_pipeline_settings::domMaterial_diffuse::registerElement(DAE& dae) 2488 { 2489 daeMetaElement* meta = dae.getMeta(ID()); 2490 if ( meta != NULL ) return meta; 2491 2492 meta = new daeMetaElement(dae); 2493 dae.setMeta(ID(), *meta); 2494 meta->setName( "material_diffuse" ); 2495 meta->registerClass(domGles_pipeline_settings::domMaterial_diffuse::create); 2496 2497 meta->setIsInnerClass( true ); 2498 2499 // Add attribute: value 2500 { 2501 daeMetaAttribute *ma = new daeMetaArrayAttribute; 2502 ma->setName( "value" ); 2503 ma->setType( dae.getAtomicTypes().get("Float4")); 2504 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domMaterial_diffuse , attrValue )); 2505 ma->setContainer( meta ); 2506 ma->setDefaultString( "0.8 0.8 0.8 1.0"); 2507 ma->setIsRequired( false ); 2508 2509 meta->appendAttribute(ma); 2510 } 2511 2512 // Add attribute: param 2513 { 2514 daeMetaAttribute *ma = new daeMetaAttribute; 2515 ma->setName( "param" ); 2516 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2517 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domMaterial_diffuse , attrParam )); 2518 ma->setContainer( meta ); 2519 ma->setIsRequired( false ); 2520 2521 meta->appendAttribute(ma); 2522 } 2523 2524 meta->setElementSize(sizeof(domGles_pipeline_settings::domMaterial_diffuse)); 2525 meta->validate(); 2526 2527 return meta; 2528 } 2529 2530 daeElementRef 2531 domGles_pipeline_settings::domMaterial_emission::create(DAE& dae) 2532 { 2533 domGles_pipeline_settings::domMaterial_emissionRef ref = new domGles_pipeline_settings::domMaterial_emission(dae); 2534 return ref; 2535 } 2536 2537 2538 daeMetaElement * 2539 domGles_pipeline_settings::domMaterial_emission::registerElement(DAE& dae) 2540 { 2541 daeMetaElement* meta = dae.getMeta(ID()); 2542 if ( meta != NULL ) return meta; 2543 2544 meta = new daeMetaElement(dae); 2545 dae.setMeta(ID(), *meta); 2546 meta->setName( "material_emission" ); 2547 meta->registerClass(domGles_pipeline_settings::domMaterial_emission::create); 2548 2549 meta->setIsInnerClass( true ); 2550 2551 // Add attribute: value 2552 { 2553 daeMetaAttribute *ma = new daeMetaArrayAttribute; 2554 ma->setName( "value" ); 2555 ma->setType( dae.getAtomicTypes().get("Float4")); 2556 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domMaterial_emission , attrValue )); 2557 ma->setContainer( meta ); 2558 ma->setDefaultString( "0 0 0 1"); 2559 ma->setIsRequired( false ); 2560 2561 meta->appendAttribute(ma); 2562 } 2563 2564 // Add attribute: param 2565 { 2566 daeMetaAttribute *ma = new daeMetaAttribute; 2567 ma->setName( "param" ); 2568 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2569 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domMaterial_emission , attrParam )); 2570 ma->setContainer( meta ); 2571 ma->setIsRequired( false ); 2572 2573 meta->appendAttribute(ma); 2574 } 2575 2576 meta->setElementSize(sizeof(domGles_pipeline_settings::domMaterial_emission)); 2577 meta->validate(); 2578 2579 return meta; 2580 } 2581 2582 daeElementRef 2583 domGles_pipeline_settings::domMaterial_shininess::create(DAE& dae) 2584 { 2585 domGles_pipeline_settings::domMaterial_shininessRef ref = new domGles_pipeline_settings::domMaterial_shininess(dae); 2586 return ref; 2587 } 2588 2589 2590 daeMetaElement * 2591 domGles_pipeline_settings::domMaterial_shininess::registerElement(DAE& dae) 2592 { 2593 daeMetaElement* meta = dae.getMeta(ID()); 2594 if ( meta != NULL ) return meta; 2595 2596 meta = new daeMetaElement(dae); 2597 dae.setMeta(ID(), *meta); 2598 meta->setName( "material_shininess" ); 2599 meta->registerClass(domGles_pipeline_settings::domMaterial_shininess::create); 2600 2601 meta->setIsInnerClass( true ); 2602 2603 // Add attribute: value 2604 { 2605 daeMetaAttribute *ma = new daeMetaAttribute; 2606 ma->setName( "value" ); 2607 ma->setType( dae.getAtomicTypes().get("Float")); 2608 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domMaterial_shininess , attrValue )); 2609 ma->setContainer( meta ); 2610 ma->setDefaultString( "0"); 2611 ma->setIsRequired( false ); 2612 2613 meta->appendAttribute(ma); 2614 } 2615 2616 // Add attribute: param 2617 { 2618 daeMetaAttribute *ma = new daeMetaAttribute; 2619 ma->setName( "param" ); 2620 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2621 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domMaterial_shininess , attrParam )); 2622 ma->setContainer( meta ); 2623 ma->setIsRequired( false ); 2624 2625 meta->appendAttribute(ma); 2626 } 2627 2628 meta->setElementSize(sizeof(domGles_pipeline_settings::domMaterial_shininess)); 2629 meta->validate(); 2630 2631 return meta; 2632 } 2633 2634 daeElementRef 2635 domGles_pipeline_settings::domMaterial_specular::create(DAE& dae) 2636 { 2637 domGles_pipeline_settings::domMaterial_specularRef ref = new domGles_pipeline_settings::domMaterial_specular(dae); 2638 return ref; 2639 } 2640 2641 2642 daeMetaElement * 2643 domGles_pipeline_settings::domMaterial_specular::registerElement(DAE& dae) 2644 { 2645 daeMetaElement* meta = dae.getMeta(ID()); 2646 if ( meta != NULL ) return meta; 2647 2648 meta = new daeMetaElement(dae); 2649 dae.setMeta(ID(), *meta); 2650 meta->setName( "material_specular" ); 2651 meta->registerClass(domGles_pipeline_settings::domMaterial_specular::create); 2652 2653 meta->setIsInnerClass( true ); 2654 2655 // Add attribute: value 2656 { 2657 daeMetaAttribute *ma = new daeMetaArrayAttribute; 2658 ma->setName( "value" ); 2659 ma->setType( dae.getAtomicTypes().get("Float4")); 2660 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domMaterial_specular , attrValue )); 2661 ma->setContainer( meta ); 2662 ma->setDefaultString( "0 0 0 1"); 2663 ma->setIsRequired( false ); 2664 2665 meta->appendAttribute(ma); 2666 } 2667 2668 // Add attribute: param 2669 { 2670 daeMetaAttribute *ma = new daeMetaAttribute; 2671 ma->setName( "param" ); 2672 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2673 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domMaterial_specular , attrParam )); 2674 ma->setContainer( meta ); 2675 ma->setIsRequired( false ); 2676 2677 meta->appendAttribute(ma); 2678 } 2679 2680 meta->setElementSize(sizeof(domGles_pipeline_settings::domMaterial_specular)); 2681 meta->validate(); 2682 2683 return meta; 2684 } 2685 2686 daeElementRef 2687 domGles_pipeline_settings::domModel_view_matrix::create(DAE& dae) 2688 { 2689 domGles_pipeline_settings::domModel_view_matrixRef ref = new domGles_pipeline_settings::domModel_view_matrix(dae); 2690 return ref; 2691 } 2692 2693 2694 daeMetaElement * 2695 domGles_pipeline_settings::domModel_view_matrix::registerElement(DAE& dae) 2696 { 2697 daeMetaElement* meta = dae.getMeta(ID()); 2698 if ( meta != NULL ) return meta; 2699 2700 meta = new daeMetaElement(dae); 2701 dae.setMeta(ID(), *meta); 2702 meta->setName( "model_view_matrix" ); 2703 meta->registerClass(domGles_pipeline_settings::domModel_view_matrix::create); 2704 2705 meta->setIsInnerClass( true ); 2706 2707 // Add attribute: value 2708 { 2709 daeMetaAttribute *ma = new daeMetaArrayAttribute; 2710 ma->setName( "value" ); 2711 ma->setType( dae.getAtomicTypes().get("Float4x4")); 2712 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domModel_view_matrix , attrValue )); 2713 ma->setContainer( meta ); 2714 ma->setDefaultString( "1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1"); 2715 ma->setIsRequired( false ); 2716 2717 meta->appendAttribute(ma); 2718 } 2719 2720 // Add attribute: param 2721 { 2722 daeMetaAttribute *ma = new daeMetaAttribute; 2723 ma->setName( "param" ); 2724 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2725 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domModel_view_matrix , attrParam )); 2726 ma->setContainer( meta ); 2727 ma->setIsRequired( false ); 2728 2729 meta->appendAttribute(ma); 2730 } 2731 2732 meta->setElementSize(sizeof(domGles_pipeline_settings::domModel_view_matrix)); 2733 meta->validate(); 2734 2735 return meta; 2736 } 2737 2738 daeElementRef 2739 domGles_pipeline_settings::domPoint_distance_attenuation::create(DAE& dae) 2740 { 2741 domGles_pipeline_settings::domPoint_distance_attenuationRef ref = new domGles_pipeline_settings::domPoint_distance_attenuation(dae); 2742 return ref; 2743 } 2744 2745 2746 daeMetaElement * 2747 domGles_pipeline_settings::domPoint_distance_attenuation::registerElement(DAE& dae) 2748 { 2749 daeMetaElement* meta = dae.getMeta(ID()); 2750 if ( meta != NULL ) return meta; 2751 2752 meta = new daeMetaElement(dae); 2753 dae.setMeta(ID(), *meta); 2754 meta->setName( "point_distance_attenuation" ); 2755 meta->registerClass(domGles_pipeline_settings::domPoint_distance_attenuation::create); 2756 2757 meta->setIsInnerClass( true ); 2758 2759 // Add attribute: value 2760 { 2761 daeMetaAttribute *ma = new daeMetaArrayAttribute; 2762 ma->setName( "value" ); 2763 ma->setType( dae.getAtomicTypes().get("Float3")); 2764 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPoint_distance_attenuation , attrValue )); 2765 ma->setContainer( meta ); 2766 ma->setDefaultString( "1 0 0"); 2767 ma->setIsRequired( false ); 2768 2769 meta->appendAttribute(ma); 2770 } 2771 2772 // Add attribute: param 2773 { 2774 daeMetaAttribute *ma = new daeMetaAttribute; 2775 ma->setName( "param" ); 2776 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2777 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPoint_distance_attenuation , attrParam )); 2778 ma->setContainer( meta ); 2779 ma->setIsRequired( false ); 2780 2781 meta->appendAttribute(ma); 2782 } 2783 2784 meta->setElementSize(sizeof(domGles_pipeline_settings::domPoint_distance_attenuation)); 2785 meta->validate(); 2786 2787 return meta; 2788 } 2789 2790 daeElementRef 2791 domGles_pipeline_settings::domPoint_fade_threshold_size::create(DAE& dae) 2792 { 2793 domGles_pipeline_settings::domPoint_fade_threshold_sizeRef ref = new domGles_pipeline_settings::domPoint_fade_threshold_size(dae); 2794 return ref; 2795 } 2796 2797 2798 daeMetaElement * 2799 domGles_pipeline_settings::domPoint_fade_threshold_size::registerElement(DAE& dae) 2800 { 2801 daeMetaElement* meta = dae.getMeta(ID()); 2802 if ( meta != NULL ) return meta; 2803 2804 meta = new daeMetaElement(dae); 2805 dae.setMeta(ID(), *meta); 2806 meta->setName( "point_fade_threshold_size" ); 2807 meta->registerClass(domGles_pipeline_settings::domPoint_fade_threshold_size::create); 2808 2809 meta->setIsInnerClass( true ); 2810 2811 // Add attribute: value 2812 { 2813 daeMetaAttribute *ma = new daeMetaAttribute; 2814 ma->setName( "value" ); 2815 ma->setType( dae.getAtomicTypes().get("Float")); 2816 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPoint_fade_threshold_size , attrValue )); 2817 ma->setContainer( meta ); 2818 ma->setDefaultString( "1"); 2819 ma->setIsRequired( false ); 2820 2821 meta->appendAttribute(ma); 2822 } 2823 2824 // Add attribute: param 2825 { 2826 daeMetaAttribute *ma = new daeMetaAttribute; 2827 ma->setName( "param" ); 2828 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2829 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPoint_fade_threshold_size , attrParam )); 2830 ma->setContainer( meta ); 2831 ma->setIsRequired( false ); 2832 2833 meta->appendAttribute(ma); 2834 } 2835 2836 meta->setElementSize(sizeof(domGles_pipeline_settings::domPoint_fade_threshold_size)); 2837 meta->validate(); 2838 2839 return meta; 2840 } 2841 2842 daeElementRef 2843 domGles_pipeline_settings::domPoint_size::create(DAE& dae) 2844 { 2845 domGles_pipeline_settings::domPoint_sizeRef ref = new domGles_pipeline_settings::domPoint_size(dae); 2846 return ref; 2847 } 2848 2849 2850 daeMetaElement * 2851 domGles_pipeline_settings::domPoint_size::registerElement(DAE& dae) 2852 { 2853 daeMetaElement* meta = dae.getMeta(ID()); 2854 if ( meta != NULL ) return meta; 2855 2856 meta = new daeMetaElement(dae); 2857 dae.setMeta(ID(), *meta); 2858 meta->setName( "point_size" ); 2859 meta->registerClass(domGles_pipeline_settings::domPoint_size::create); 2860 2861 meta->setIsInnerClass( true ); 2862 2863 // Add attribute: value 2864 { 2865 daeMetaAttribute *ma = new daeMetaAttribute; 2866 ma->setName( "value" ); 2867 ma->setType( dae.getAtomicTypes().get("Float")); 2868 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPoint_size , attrValue )); 2869 ma->setContainer( meta ); 2870 ma->setDefaultString( "1"); 2871 ma->setIsRequired( false ); 2872 2873 meta->appendAttribute(ma); 2874 } 2875 2876 // Add attribute: param 2877 { 2878 daeMetaAttribute *ma = new daeMetaAttribute; 2879 ma->setName( "param" ); 2880 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2881 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPoint_size , attrParam )); 2882 ma->setContainer( meta ); 2883 ma->setIsRequired( false ); 2884 2885 meta->appendAttribute(ma); 2886 } 2887 2888 meta->setElementSize(sizeof(domGles_pipeline_settings::domPoint_size)); 2889 meta->validate(); 2890 2891 return meta; 2892 } 2893 2894 daeElementRef 2895 domGles_pipeline_settings::domPoint_size_min::create(DAE& dae) 2896 { 2897 domGles_pipeline_settings::domPoint_size_minRef ref = new domGles_pipeline_settings::domPoint_size_min(dae); 2898 return ref; 2899 } 2900 2901 2902 daeMetaElement * 2903 domGles_pipeline_settings::domPoint_size_min::registerElement(DAE& dae) 2904 { 2905 daeMetaElement* meta = dae.getMeta(ID()); 2906 if ( meta != NULL ) return meta; 2907 2908 meta = new daeMetaElement(dae); 2909 dae.setMeta(ID(), *meta); 2910 meta->setName( "point_size_min" ); 2911 meta->registerClass(domGles_pipeline_settings::domPoint_size_min::create); 2912 2913 meta->setIsInnerClass( true ); 2914 2915 // Add attribute: value 2916 { 2917 daeMetaAttribute *ma = new daeMetaAttribute; 2918 ma->setName( "value" ); 2919 ma->setType( dae.getAtomicTypes().get("Float")); 2920 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPoint_size_min , attrValue )); 2921 ma->setContainer( meta ); 2922 ma->setDefaultString( "0"); 2923 ma->setIsRequired( false ); 2924 2925 meta->appendAttribute(ma); 2926 } 2927 2928 // Add attribute: param 2929 { 2930 daeMetaAttribute *ma = new daeMetaAttribute; 2931 ma->setName( "param" ); 2932 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2933 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPoint_size_min , attrParam )); 2934 ma->setContainer( meta ); 2935 ma->setIsRequired( false ); 2936 2937 meta->appendAttribute(ma); 2938 } 2939 2940 meta->setElementSize(sizeof(domGles_pipeline_settings::domPoint_size_min)); 2941 meta->validate(); 2942 2943 return meta; 2944 } 2945 2946 daeElementRef 2947 domGles_pipeline_settings::domPoint_size_max::create(DAE& dae) 2948 { 2949 domGles_pipeline_settings::domPoint_size_maxRef ref = new domGles_pipeline_settings::domPoint_size_max(dae); 2950 return ref; 2951 } 2952 2953 2954 daeMetaElement * 2955 domGles_pipeline_settings::domPoint_size_max::registerElement(DAE& dae) 2956 { 2957 daeMetaElement* meta = dae.getMeta(ID()); 2958 if ( meta != NULL ) return meta; 2959 2960 meta = new daeMetaElement(dae); 2961 dae.setMeta(ID(), *meta); 2962 meta->setName( "point_size_max" ); 2963 meta->registerClass(domGles_pipeline_settings::domPoint_size_max::create); 2964 2965 meta->setIsInnerClass( true ); 2966 2967 // Add attribute: value 2968 { 2969 daeMetaAttribute *ma = new daeMetaAttribute; 2970 ma->setName( "value" ); 2971 ma->setType( dae.getAtomicTypes().get("Float")); 2972 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPoint_size_max , attrValue )); 2973 ma->setContainer( meta ); 2974 ma->setDefaultString( "1"); 2975 ma->setIsRequired( false ); 2976 2977 meta->appendAttribute(ma); 2978 } 2979 2980 // Add attribute: param 2981 { 2982 daeMetaAttribute *ma = new daeMetaAttribute; 2983 ma->setName( "param" ); 2984 ma->setType( dae.getAtomicTypes().get("xsNCName")); 2985 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPoint_size_max , attrParam )); 2986 ma->setContainer( meta ); 2987 ma->setIsRequired( false ); 2988 2989 meta->appendAttribute(ma); 2990 } 2991 2992 meta->setElementSize(sizeof(domGles_pipeline_settings::domPoint_size_max)); 2993 meta->validate(); 2994 2995 return meta; 2996 } 2997 2998 daeElementRef 2999 domGles_pipeline_settings::domPolygon_offset::create(DAE& dae) 3000 { 3001 domGles_pipeline_settings::domPolygon_offsetRef ref = new domGles_pipeline_settings::domPolygon_offset(dae); 3002 return ref; 3003 } 3004 3005 3006 daeMetaElement * 3007 domGles_pipeline_settings::domPolygon_offset::registerElement(DAE& dae) 3008 { 3009 daeMetaElement* meta = dae.getMeta(ID()); 3010 if ( meta != NULL ) return meta; 3011 3012 meta = new daeMetaElement(dae); 3013 dae.setMeta(ID(), *meta); 3014 meta->setName( "polygon_offset" ); 3015 meta->registerClass(domGles_pipeline_settings::domPolygon_offset::create); 3016 3017 meta->setIsInnerClass( true ); 3018 3019 // Add attribute: value 3020 { 3021 daeMetaAttribute *ma = new daeMetaArrayAttribute; 3022 ma->setName( "value" ); 3023 ma->setType( dae.getAtomicTypes().get("Float2")); 3024 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPolygon_offset , attrValue )); 3025 ma->setContainer( meta ); 3026 ma->setDefaultString( "0 0"); 3027 ma->setIsRequired( false ); 3028 3029 meta->appendAttribute(ma); 3030 } 3031 3032 // Add attribute: param 3033 { 3034 daeMetaAttribute *ma = new daeMetaAttribute; 3035 ma->setName( "param" ); 3036 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3037 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPolygon_offset , attrParam )); 3038 ma->setContainer( meta ); 3039 ma->setIsRequired( false ); 3040 3041 meta->appendAttribute(ma); 3042 } 3043 3044 meta->setElementSize(sizeof(domGles_pipeline_settings::domPolygon_offset)); 3045 meta->validate(); 3046 3047 return meta; 3048 } 3049 3050 daeElementRef 3051 domGles_pipeline_settings::domProjection_matrix::create(DAE& dae) 3052 { 3053 domGles_pipeline_settings::domProjection_matrixRef ref = new domGles_pipeline_settings::domProjection_matrix(dae); 3054 return ref; 3055 } 3056 3057 3058 daeMetaElement * 3059 domGles_pipeline_settings::domProjection_matrix::registerElement(DAE& dae) 3060 { 3061 daeMetaElement* meta = dae.getMeta(ID()); 3062 if ( meta != NULL ) return meta; 3063 3064 meta = new daeMetaElement(dae); 3065 dae.setMeta(ID(), *meta); 3066 meta->setName( "projection_matrix" ); 3067 meta->registerClass(domGles_pipeline_settings::domProjection_matrix::create); 3068 3069 meta->setIsInnerClass( true ); 3070 3071 // Add attribute: value 3072 { 3073 daeMetaAttribute *ma = new daeMetaArrayAttribute; 3074 ma->setName( "value" ); 3075 ma->setType( dae.getAtomicTypes().get("Float4x4")); 3076 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domProjection_matrix , attrValue )); 3077 ma->setContainer( meta ); 3078 ma->setDefaultString( "1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1"); 3079 ma->setIsRequired( false ); 3080 3081 meta->appendAttribute(ma); 3082 } 3083 3084 // Add attribute: param 3085 { 3086 daeMetaAttribute *ma = new daeMetaAttribute; 3087 ma->setName( "param" ); 3088 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3089 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domProjection_matrix , attrParam )); 3090 ma->setContainer( meta ); 3091 ma->setIsRequired( false ); 3092 3093 meta->appendAttribute(ma); 3094 } 3095 3096 meta->setElementSize(sizeof(domGles_pipeline_settings::domProjection_matrix)); 3097 meta->validate(); 3098 3099 return meta; 3100 } 3101 3102 daeElementRef 3103 domGles_pipeline_settings::domScissor::create(DAE& dae) 3104 { 3105 domGles_pipeline_settings::domScissorRef ref = new domGles_pipeline_settings::domScissor(dae); 3106 return ref; 3107 } 3108 3109 3110 daeMetaElement * 3111 domGles_pipeline_settings::domScissor::registerElement(DAE& dae) 3112 { 3113 daeMetaElement* meta = dae.getMeta(ID()); 3114 if ( meta != NULL ) return meta; 3115 3116 meta = new daeMetaElement(dae); 3117 dae.setMeta(ID(), *meta); 3118 meta->setName( "scissor" ); 3119 meta->registerClass(domGles_pipeline_settings::domScissor::create); 3120 3121 meta->setIsInnerClass( true ); 3122 3123 // Add attribute: value 3124 { 3125 daeMetaAttribute *ma = new daeMetaArrayAttribute; 3126 ma->setName( "value" ); 3127 ma->setType( dae.getAtomicTypes().get("Int4")); 3128 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domScissor , attrValue )); 3129 ma->setContainer( meta ); 3130 ma->setIsRequired( false ); 3131 3132 meta->appendAttribute(ma); 3133 } 3134 3135 // Add attribute: param 3136 { 3137 daeMetaAttribute *ma = new daeMetaAttribute; 3138 ma->setName( "param" ); 3139 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3140 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domScissor , attrParam )); 3141 ma->setContainer( meta ); 3142 ma->setIsRequired( false ); 3143 3144 meta->appendAttribute(ma); 3145 } 3146 3147 meta->setElementSize(sizeof(domGles_pipeline_settings::domScissor)); 3148 meta->validate(); 3149 3150 return meta; 3151 } 3152 3153 daeElementRef 3154 domGles_pipeline_settings::domShade_model::create(DAE& dae) 3155 { 3156 domGles_pipeline_settings::domShade_modelRef ref = new domGles_pipeline_settings::domShade_model(dae); 3157 return ref; 3158 } 3159 3160 3161 daeMetaElement * 3162 domGles_pipeline_settings::domShade_model::registerElement(DAE& dae) 3163 { 3164 daeMetaElement* meta = dae.getMeta(ID()); 3165 if ( meta != NULL ) return meta; 3166 3167 meta = new daeMetaElement(dae); 3168 dae.setMeta(ID(), *meta); 3169 meta->setName( "shade_model" ); 3170 meta->registerClass(domGles_pipeline_settings::domShade_model::create); 3171 3172 meta->setIsInnerClass( true ); 3173 3174 // Add attribute: value 3175 { 3176 daeMetaAttribute *ma = new daeMetaAttribute; 3177 ma->setName( "value" ); 3178 ma->setType( dae.getAtomicTypes().get("Gl_shade_model_type")); 3179 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domShade_model , attrValue )); 3180 ma->setContainer( meta ); 3181 ma->setDefaultString( "SMOOTH"); 3182 ma->setIsRequired( false ); 3183 3184 meta->appendAttribute(ma); 3185 } 3186 3187 // Add attribute: param 3188 { 3189 daeMetaAttribute *ma = new daeMetaAttribute; 3190 ma->setName( "param" ); 3191 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3192 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domShade_model , attrParam )); 3193 ma->setContainer( meta ); 3194 ma->setIsRequired( false ); 3195 3196 meta->appendAttribute(ma); 3197 } 3198 3199 meta->setElementSize(sizeof(domGles_pipeline_settings::domShade_model)); 3200 meta->validate(); 3201 3202 return meta; 3203 } 3204 3205 daeElementRef 3206 domGles_pipeline_settings::domStencil_func::create(DAE& dae) 3207 { 3208 domGles_pipeline_settings::domStencil_funcRef ref = new domGles_pipeline_settings::domStencil_func(dae); 3209 return ref; 3210 } 3211 3212 3213 daeMetaElement * 3214 domGles_pipeline_settings::domStencil_func::registerElement(DAE& dae) 3215 { 3216 daeMetaElement* meta = dae.getMeta(ID()); 3217 if ( meta != NULL ) return meta; 3218 3219 meta = new daeMetaElement(dae); 3220 dae.setMeta(ID(), *meta); 3221 meta->setName( "stencil_func" ); 3222 meta->registerClass(domGles_pipeline_settings::domStencil_func::create); 3223 3224 meta->setIsInnerClass( true ); 3225 daeMetaCMPolicy *cm = NULL; 3226 daeMetaElementAttribute *mea = NULL; 3227 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 3228 3229 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 3230 mea->setName( "func" ); 3231 mea->setOffset( daeOffsetOf(domGles_pipeline_settings::domStencil_func,elemFunc) ); 3232 mea->setElementType( domGles_pipeline_settings::domStencil_func::domFunc::registerElement(dae) ); 3233 cm->appendChild( mea ); 3234 3235 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 ); 3236 mea->setName( "ref" ); 3237 mea->setOffset( daeOffsetOf(domGles_pipeline_settings::domStencil_func,elemRef) ); 3238 mea->setElementType( domGles_pipeline_settings::domStencil_func::domRef::registerElement(dae) ); 3239 cm->appendChild( mea ); 3240 3241 mea = new daeMetaElementAttribute( meta, cm, 2, 1, 1 ); 3242 mea->setName( "mask" ); 3243 mea->setOffset( daeOffsetOf(domGles_pipeline_settings::domStencil_func,elemMask) ); 3244 mea->setElementType( domGles_pipeline_settings::domStencil_func::domMask::registerElement(dae) ); 3245 cm->appendChild( mea ); 3246 3247 cm->setMaxOrdinal( 2 ); 3248 meta->setCMRoot( cm ); 3249 3250 meta->setElementSize(sizeof(domGles_pipeline_settings::domStencil_func)); 3251 meta->validate(); 3252 3253 return meta; 3254 } 3255 3256 daeElementRef 3257 domGles_pipeline_settings::domStencil_func::domFunc::create(DAE& dae) 3258 { 3259 domGles_pipeline_settings::domStencil_func::domFuncRef ref = new domGles_pipeline_settings::domStencil_func::domFunc(dae); 3260 return ref; 3261 } 3262 3263 3264 daeMetaElement * 3265 domGles_pipeline_settings::domStencil_func::domFunc::registerElement(DAE& dae) 3266 { 3267 daeMetaElement* meta = dae.getMeta(ID()); 3268 if ( meta != NULL ) return meta; 3269 3270 meta = new daeMetaElement(dae); 3271 dae.setMeta(ID(), *meta); 3272 meta->setName( "func" ); 3273 meta->registerClass(domGles_pipeline_settings::domStencil_func::domFunc::create); 3274 3275 meta->setIsInnerClass( true ); 3276 3277 // Add attribute: value 3278 { 3279 daeMetaAttribute *ma = new daeMetaAttribute; 3280 ma->setName( "value" ); 3281 ma->setType( dae.getAtomicTypes().get("Gl_func_type")); 3282 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_func::domFunc , attrValue )); 3283 ma->setContainer( meta ); 3284 ma->setDefaultString( "ALWAYS"); 3285 ma->setIsRequired( false ); 3286 3287 meta->appendAttribute(ma); 3288 } 3289 3290 // Add attribute: param 3291 { 3292 daeMetaAttribute *ma = new daeMetaAttribute; 3293 ma->setName( "param" ); 3294 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3295 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_func::domFunc , attrParam )); 3296 ma->setContainer( meta ); 3297 ma->setIsRequired( false ); 3298 3299 meta->appendAttribute(ma); 3300 } 3301 3302 meta->setElementSize(sizeof(domGles_pipeline_settings::domStencil_func::domFunc)); 3303 meta->validate(); 3304 3305 return meta; 3306 } 3307 3308 daeElementRef 3309 domGles_pipeline_settings::domStencil_func::domRef::create(DAE& dae) 3310 { 3311 domGles_pipeline_settings::domStencil_func::domRefRef ref = new domGles_pipeline_settings::domStencil_func::domRef(dae); 3312 return ref; 3313 } 3314 3315 3316 daeMetaElement * 3317 domGles_pipeline_settings::domStencil_func::domRef::registerElement(DAE& dae) 3318 { 3319 daeMetaElement* meta = dae.getMeta(ID()); 3320 if ( meta != NULL ) return meta; 3321 3322 meta = new daeMetaElement(dae); 3323 dae.setMeta(ID(), *meta); 3324 meta->setName( "ref" ); 3325 meta->registerClass(domGles_pipeline_settings::domStencil_func::domRef::create); 3326 3327 meta->setIsInnerClass( true ); 3328 3329 // Add attribute: value 3330 { 3331 daeMetaAttribute *ma = new daeMetaAttribute; 3332 ma->setName( "value" ); 3333 ma->setType( dae.getAtomicTypes().get("xsUnsignedByte")); 3334 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_func::domRef , attrValue )); 3335 ma->setContainer( meta ); 3336 ma->setDefaultString( "0"); 3337 ma->setIsRequired( false ); 3338 3339 meta->appendAttribute(ma); 3340 } 3341 3342 // Add attribute: param 3343 { 3344 daeMetaAttribute *ma = new daeMetaAttribute; 3345 ma->setName( "param" ); 3346 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3347 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_func::domRef , attrParam )); 3348 ma->setContainer( meta ); 3349 ma->setIsRequired( false ); 3350 3351 meta->appendAttribute(ma); 3352 } 3353 3354 meta->setElementSize(sizeof(domGles_pipeline_settings::domStencil_func::domRef)); 3355 meta->validate(); 3356 3357 return meta; 3358 } 3359 3360 daeElementRef 3361 domGles_pipeline_settings::domStencil_func::domMask::create(DAE& dae) 3362 { 3363 domGles_pipeline_settings::domStencil_func::domMaskRef ref = new domGles_pipeline_settings::domStencil_func::domMask(dae); 3364 return ref; 3365 } 3366 3367 3368 daeMetaElement * 3369 domGles_pipeline_settings::domStencil_func::domMask::registerElement(DAE& dae) 3370 { 3371 daeMetaElement* meta = dae.getMeta(ID()); 3372 if ( meta != NULL ) return meta; 3373 3374 meta = new daeMetaElement(dae); 3375 dae.setMeta(ID(), *meta); 3376 meta->setName( "mask" ); 3377 meta->registerClass(domGles_pipeline_settings::domStencil_func::domMask::create); 3378 3379 meta->setIsInnerClass( true ); 3380 3381 // Add attribute: value 3382 { 3383 daeMetaAttribute *ma = new daeMetaAttribute; 3384 ma->setName( "value" ); 3385 ma->setType( dae.getAtomicTypes().get("xsUnsignedByte")); 3386 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_func::domMask , attrValue )); 3387 ma->setContainer( meta ); 3388 ma->setDefaultString( "255"); 3389 ma->setIsRequired( false ); 3390 3391 meta->appendAttribute(ma); 3392 } 3393 3394 // Add attribute: param 3395 { 3396 daeMetaAttribute *ma = new daeMetaAttribute; 3397 ma->setName( "param" ); 3398 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3399 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_func::domMask , attrParam )); 3400 ma->setContainer( meta ); 3401 ma->setIsRequired( false ); 3402 3403 meta->appendAttribute(ma); 3404 } 3405 3406 meta->setElementSize(sizeof(domGles_pipeline_settings::domStencil_func::domMask)); 3407 meta->validate(); 3408 3409 return meta; 3410 } 3411 3412 daeElementRef 3413 domGles_pipeline_settings::domStencil_mask::create(DAE& dae) 3414 { 3415 domGles_pipeline_settings::domStencil_maskRef ref = new domGles_pipeline_settings::domStencil_mask(dae); 3416 return ref; 3417 } 3418 3419 3420 daeMetaElement * 3421 domGles_pipeline_settings::domStencil_mask::registerElement(DAE& dae) 3422 { 3423 daeMetaElement* meta = dae.getMeta(ID()); 3424 if ( meta != NULL ) return meta; 3425 3426 meta = new daeMetaElement(dae); 3427 dae.setMeta(ID(), *meta); 3428 meta->setName( "stencil_mask" ); 3429 meta->registerClass(domGles_pipeline_settings::domStencil_mask::create); 3430 3431 meta->setIsInnerClass( true ); 3432 3433 // Add attribute: value 3434 { 3435 daeMetaAttribute *ma = new daeMetaAttribute; 3436 ma->setName( "value" ); 3437 ma->setType( dae.getAtomicTypes().get("Int")); 3438 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_mask , attrValue )); 3439 ma->setContainer( meta ); 3440 ma->setDefaultString( "4294967295"); 3441 ma->setIsRequired( false ); 3442 3443 meta->appendAttribute(ma); 3444 } 3445 3446 // Add attribute: param 3447 { 3448 daeMetaAttribute *ma = new daeMetaAttribute; 3449 ma->setName( "param" ); 3450 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3451 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_mask , attrParam )); 3452 ma->setContainer( meta ); 3453 ma->setIsRequired( false ); 3454 3455 meta->appendAttribute(ma); 3456 } 3457 3458 meta->setElementSize(sizeof(domGles_pipeline_settings::domStencil_mask)); 3459 meta->validate(); 3460 3461 return meta; 3462 } 3463 3464 daeElementRef 3465 domGles_pipeline_settings::domStencil_op::create(DAE& dae) 3466 { 3467 domGles_pipeline_settings::domStencil_opRef ref = new domGles_pipeline_settings::domStencil_op(dae); 3468 return ref; 3469 } 3470 3471 3472 daeMetaElement * 3473 domGles_pipeline_settings::domStencil_op::registerElement(DAE& dae) 3474 { 3475 daeMetaElement* meta = dae.getMeta(ID()); 3476 if ( meta != NULL ) return meta; 3477 3478 meta = new daeMetaElement(dae); 3479 dae.setMeta(ID(), *meta); 3480 meta->setName( "stencil_op" ); 3481 meta->registerClass(domGles_pipeline_settings::domStencil_op::create); 3482 3483 meta->setIsInnerClass( true ); 3484 daeMetaCMPolicy *cm = NULL; 3485 daeMetaElementAttribute *mea = NULL; 3486 cm = new daeMetaSequence( meta, cm, 0, 1, 1 ); 3487 3488 mea = new daeMetaElementAttribute( meta, cm, 0, 1, 1 ); 3489 mea->setName( "fail" ); 3490 mea->setOffset( daeOffsetOf(domGles_pipeline_settings::domStencil_op,elemFail) ); 3491 mea->setElementType( domGles_pipeline_settings::domStencil_op::domFail::registerElement(dae) ); 3492 cm->appendChild( mea ); 3493 3494 mea = new daeMetaElementAttribute( meta, cm, 1, 1, 1 ); 3495 mea->setName( "zfail" ); 3496 mea->setOffset( daeOffsetOf(domGles_pipeline_settings::domStencil_op,elemZfail) ); 3497 mea->setElementType( domGles_pipeline_settings::domStencil_op::domZfail::registerElement(dae) ); 3498 cm->appendChild( mea ); 3499 3500 mea = new daeMetaElementAttribute( meta, cm, 2, 1, 1 ); 3501 mea->setName( "zpass" ); 3502 mea->setOffset( daeOffsetOf(domGles_pipeline_settings::domStencil_op,elemZpass) ); 3503 mea->setElementType( domGles_pipeline_settings::domStencil_op::domZpass::registerElement(dae) ); 3504 cm->appendChild( mea ); 3505 3506 cm->setMaxOrdinal( 2 ); 3507 meta->setCMRoot( cm ); 3508 3509 meta->setElementSize(sizeof(domGles_pipeline_settings::domStencil_op)); 3510 meta->validate(); 3511 3512 return meta; 3513 } 3514 3515 daeElementRef 3516 domGles_pipeline_settings::domStencil_op::domFail::create(DAE& dae) 3517 { 3518 domGles_pipeline_settings::domStencil_op::domFailRef ref = new domGles_pipeline_settings::domStencil_op::domFail(dae); 3519 return ref; 3520 } 3521 3522 3523 daeMetaElement * 3524 domGles_pipeline_settings::domStencil_op::domFail::registerElement(DAE& dae) 3525 { 3526 daeMetaElement* meta = dae.getMeta(ID()); 3527 if ( meta != NULL ) return meta; 3528 3529 meta = new daeMetaElement(dae); 3530 dae.setMeta(ID(), *meta); 3531 meta->setName( "fail" ); 3532 meta->registerClass(domGles_pipeline_settings::domStencil_op::domFail::create); 3533 3534 meta->setIsInnerClass( true ); 3535 3536 // Add attribute: value 3537 { 3538 daeMetaAttribute *ma = new daeMetaAttribute; 3539 ma->setName( "value" ); 3540 ma->setType( dae.getAtomicTypes().get("Gles_stencil_op_type")); 3541 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_op::domFail , attrValue )); 3542 ma->setContainer( meta ); 3543 ma->setDefaultString( "KEEP"); 3544 ma->setIsRequired( false ); 3545 3546 meta->appendAttribute(ma); 3547 } 3548 3549 // Add attribute: param 3550 { 3551 daeMetaAttribute *ma = new daeMetaAttribute; 3552 ma->setName( "param" ); 3553 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3554 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_op::domFail , attrParam )); 3555 ma->setContainer( meta ); 3556 ma->setIsRequired( false ); 3557 3558 meta->appendAttribute(ma); 3559 } 3560 3561 meta->setElementSize(sizeof(domGles_pipeline_settings::domStencil_op::domFail)); 3562 meta->validate(); 3563 3564 return meta; 3565 } 3566 3567 daeElementRef 3568 domGles_pipeline_settings::domStencil_op::domZfail::create(DAE& dae) 3569 { 3570 domGles_pipeline_settings::domStencil_op::domZfailRef ref = new domGles_pipeline_settings::domStencil_op::domZfail(dae); 3571 return ref; 3572 } 3573 3574 3575 daeMetaElement * 3576 domGles_pipeline_settings::domStencil_op::domZfail::registerElement(DAE& dae) 3577 { 3578 daeMetaElement* meta = dae.getMeta(ID()); 3579 if ( meta != NULL ) return meta; 3580 3581 meta = new daeMetaElement(dae); 3582 dae.setMeta(ID(), *meta); 3583 meta->setName( "zfail" ); 3584 meta->registerClass(domGles_pipeline_settings::domStencil_op::domZfail::create); 3585 3586 meta->setIsInnerClass( true ); 3587 3588 // Add attribute: value 3589 { 3590 daeMetaAttribute *ma = new daeMetaAttribute; 3591 ma->setName( "value" ); 3592 ma->setType( dae.getAtomicTypes().get("Gles_stencil_op_type")); 3593 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_op::domZfail , attrValue )); 3594 ma->setContainer( meta ); 3595 ma->setDefaultString( "KEEP"); 3596 ma->setIsRequired( false ); 3597 3598 meta->appendAttribute(ma); 3599 } 3600 3601 // Add attribute: param 3602 { 3603 daeMetaAttribute *ma = new daeMetaAttribute; 3604 ma->setName( "param" ); 3605 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3606 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_op::domZfail , attrParam )); 3607 ma->setContainer( meta ); 3608 ma->setIsRequired( false ); 3609 3610 meta->appendAttribute(ma); 3611 } 3612 3613 meta->setElementSize(sizeof(domGles_pipeline_settings::domStencil_op::domZfail)); 3614 meta->validate(); 3615 3616 return meta; 3617 } 3618 3619 daeElementRef 3620 domGles_pipeline_settings::domStencil_op::domZpass::create(DAE& dae) 3621 { 3622 domGles_pipeline_settings::domStencil_op::domZpassRef ref = new domGles_pipeline_settings::domStencil_op::domZpass(dae); 3623 return ref; 3624 } 3625 3626 3627 daeMetaElement * 3628 domGles_pipeline_settings::domStencil_op::domZpass::registerElement(DAE& dae) 3629 { 3630 daeMetaElement* meta = dae.getMeta(ID()); 3631 if ( meta != NULL ) return meta; 3632 3633 meta = new daeMetaElement(dae); 3634 dae.setMeta(ID(), *meta); 3635 meta->setName( "zpass" ); 3636 meta->registerClass(domGles_pipeline_settings::domStencil_op::domZpass::create); 3637 3638 meta->setIsInnerClass( true ); 3639 3640 // Add attribute: value 3641 { 3642 daeMetaAttribute *ma = new daeMetaAttribute; 3643 ma->setName( "value" ); 3644 ma->setType( dae.getAtomicTypes().get("Gles_stencil_op_type")); 3645 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_op::domZpass , attrValue )); 3646 ma->setContainer( meta ); 3647 ma->setDefaultString( "KEEP"); 3648 ma->setIsRequired( false ); 3649 3650 meta->appendAttribute(ma); 3651 } 3652 3653 // Add attribute: param 3654 { 3655 daeMetaAttribute *ma = new daeMetaAttribute; 3656 ma->setName( "param" ); 3657 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3658 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_op::domZpass , attrParam )); 3659 ma->setContainer( meta ); 3660 ma->setIsRequired( false ); 3661 3662 meta->appendAttribute(ma); 3663 } 3664 3665 meta->setElementSize(sizeof(domGles_pipeline_settings::domStencil_op::domZpass)); 3666 meta->validate(); 3667 3668 return meta; 3669 } 3670 3671 daeElementRef 3672 domGles_pipeline_settings::domAlpha_test_enable::create(DAE& dae) 3673 { 3674 domGles_pipeline_settings::domAlpha_test_enableRef ref = new domGles_pipeline_settings::domAlpha_test_enable(dae); 3675 return ref; 3676 } 3677 3678 3679 daeMetaElement * 3680 domGles_pipeline_settings::domAlpha_test_enable::registerElement(DAE& dae) 3681 { 3682 daeMetaElement* meta = dae.getMeta(ID()); 3683 if ( meta != NULL ) return meta; 3684 3685 meta = new daeMetaElement(dae); 3686 dae.setMeta(ID(), *meta); 3687 meta->setName( "alpha_test_enable" ); 3688 meta->registerClass(domGles_pipeline_settings::domAlpha_test_enable::create); 3689 3690 meta->setIsInnerClass( true ); 3691 3692 // Add attribute: value 3693 { 3694 daeMetaAttribute *ma = new daeMetaAttribute; 3695 ma->setName( "value" ); 3696 ma->setType( dae.getAtomicTypes().get("Bool")); 3697 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domAlpha_test_enable , attrValue )); 3698 ma->setContainer( meta ); 3699 ma->setDefaultString( "false"); 3700 ma->setIsRequired( false ); 3701 3702 meta->appendAttribute(ma); 3703 } 3704 3705 // Add attribute: param 3706 { 3707 daeMetaAttribute *ma = new daeMetaAttribute; 3708 ma->setName( "param" ); 3709 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3710 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domAlpha_test_enable , attrParam )); 3711 ma->setContainer( meta ); 3712 ma->setIsRequired( false ); 3713 3714 meta->appendAttribute(ma); 3715 } 3716 3717 meta->setElementSize(sizeof(domGles_pipeline_settings::domAlpha_test_enable)); 3718 meta->validate(); 3719 3720 return meta; 3721 } 3722 3723 daeElementRef 3724 domGles_pipeline_settings::domBlend_enable::create(DAE& dae) 3725 { 3726 domGles_pipeline_settings::domBlend_enableRef ref = new domGles_pipeline_settings::domBlend_enable(dae); 3727 return ref; 3728 } 3729 3730 3731 daeMetaElement * 3732 domGles_pipeline_settings::domBlend_enable::registerElement(DAE& dae) 3733 { 3734 daeMetaElement* meta = dae.getMeta(ID()); 3735 if ( meta != NULL ) return meta; 3736 3737 meta = new daeMetaElement(dae); 3738 dae.setMeta(ID(), *meta); 3739 meta->setName( "blend_enable" ); 3740 meta->registerClass(domGles_pipeline_settings::domBlend_enable::create); 3741 3742 meta->setIsInnerClass( true ); 3743 3744 // Add attribute: value 3745 { 3746 daeMetaAttribute *ma = new daeMetaAttribute; 3747 ma->setName( "value" ); 3748 ma->setType( dae.getAtomicTypes().get("Bool")); 3749 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domBlend_enable , attrValue )); 3750 ma->setContainer( meta ); 3751 ma->setDefaultString( "false"); 3752 ma->setIsRequired( false ); 3753 3754 meta->appendAttribute(ma); 3755 } 3756 3757 // Add attribute: param 3758 { 3759 daeMetaAttribute *ma = new daeMetaAttribute; 3760 ma->setName( "param" ); 3761 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3762 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domBlend_enable , attrParam )); 3763 ma->setContainer( meta ); 3764 ma->setIsRequired( false ); 3765 3766 meta->appendAttribute(ma); 3767 } 3768 3769 meta->setElementSize(sizeof(domGles_pipeline_settings::domBlend_enable)); 3770 meta->validate(); 3771 3772 return meta; 3773 } 3774 3775 daeElementRef 3776 domGles_pipeline_settings::domClip_plane_enable::create(DAE& dae) 3777 { 3778 domGles_pipeline_settings::domClip_plane_enableRef ref = new domGles_pipeline_settings::domClip_plane_enable(dae); 3779 return ref; 3780 } 3781 3782 3783 daeMetaElement * 3784 domGles_pipeline_settings::domClip_plane_enable::registerElement(DAE& dae) 3785 { 3786 daeMetaElement* meta = dae.getMeta(ID()); 3787 if ( meta != NULL ) return meta; 3788 3789 meta = new daeMetaElement(dae); 3790 dae.setMeta(ID(), *meta); 3791 meta->setName( "clip_plane_enable" ); 3792 meta->registerClass(domGles_pipeline_settings::domClip_plane_enable::create); 3793 3794 meta->setIsInnerClass( true ); 3795 3796 // Add attribute: value 3797 { 3798 daeMetaAttribute *ma = new daeMetaAttribute; 3799 ma->setName( "value" ); 3800 ma->setType( dae.getAtomicTypes().get("Bool")); 3801 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domClip_plane_enable , attrValue )); 3802 ma->setContainer( meta ); 3803 ma->setDefaultString( "false"); 3804 ma->setIsRequired( false ); 3805 3806 meta->appendAttribute(ma); 3807 } 3808 3809 // Add attribute: param 3810 { 3811 daeMetaAttribute *ma = new daeMetaAttribute; 3812 ma->setName( "param" ); 3813 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3814 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domClip_plane_enable , attrParam )); 3815 ma->setContainer( meta ); 3816 ma->setIsRequired( false ); 3817 3818 meta->appendAttribute(ma); 3819 } 3820 3821 // Add attribute: index 3822 { 3823 daeMetaAttribute *ma = new daeMetaAttribute; 3824 ma->setName( "index" ); 3825 ma->setType( dae.getAtomicTypes().get("GLES_MAX_CLIP_PLANES_index")); 3826 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domClip_plane_enable , attrIndex )); 3827 ma->setContainer( meta ); 3828 3829 meta->appendAttribute(ma); 3830 } 3831 3832 meta->setElementSize(sizeof(domGles_pipeline_settings::domClip_plane_enable)); 3833 meta->validate(); 3834 3835 return meta; 3836 } 3837 3838 daeElementRef 3839 domGles_pipeline_settings::domColor_logic_op_enable::create(DAE& dae) 3840 { 3841 domGles_pipeline_settings::domColor_logic_op_enableRef ref = new domGles_pipeline_settings::domColor_logic_op_enable(dae); 3842 return ref; 3843 } 3844 3845 3846 daeMetaElement * 3847 domGles_pipeline_settings::domColor_logic_op_enable::registerElement(DAE& dae) 3848 { 3849 daeMetaElement* meta = dae.getMeta(ID()); 3850 if ( meta != NULL ) return meta; 3851 3852 meta = new daeMetaElement(dae); 3853 dae.setMeta(ID(), *meta); 3854 meta->setName( "color_logic_op_enable" ); 3855 meta->registerClass(domGles_pipeline_settings::domColor_logic_op_enable::create); 3856 3857 meta->setIsInnerClass( true ); 3858 3859 // Add attribute: value 3860 { 3861 daeMetaAttribute *ma = new daeMetaAttribute; 3862 ma->setName( "value" ); 3863 ma->setType( dae.getAtomicTypes().get("Bool")); 3864 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domColor_logic_op_enable , attrValue )); 3865 ma->setContainer( meta ); 3866 ma->setDefaultString( "false"); 3867 ma->setIsRequired( false ); 3868 3869 meta->appendAttribute(ma); 3870 } 3871 3872 // Add attribute: param 3873 { 3874 daeMetaAttribute *ma = new daeMetaAttribute; 3875 ma->setName( "param" ); 3876 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3877 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domColor_logic_op_enable , attrParam )); 3878 ma->setContainer( meta ); 3879 ma->setIsRequired( false ); 3880 3881 meta->appendAttribute(ma); 3882 } 3883 3884 meta->setElementSize(sizeof(domGles_pipeline_settings::domColor_logic_op_enable)); 3885 meta->validate(); 3886 3887 return meta; 3888 } 3889 3890 daeElementRef 3891 domGles_pipeline_settings::domColor_material_enable::create(DAE& dae) 3892 { 3893 domGles_pipeline_settings::domColor_material_enableRef ref = new domGles_pipeline_settings::domColor_material_enable(dae); 3894 return ref; 3895 } 3896 3897 3898 daeMetaElement * 3899 domGles_pipeline_settings::domColor_material_enable::registerElement(DAE& dae) 3900 { 3901 daeMetaElement* meta = dae.getMeta(ID()); 3902 if ( meta != NULL ) return meta; 3903 3904 meta = new daeMetaElement(dae); 3905 dae.setMeta(ID(), *meta); 3906 meta->setName( "color_material_enable" ); 3907 meta->registerClass(domGles_pipeline_settings::domColor_material_enable::create); 3908 3909 meta->setIsInnerClass( true ); 3910 3911 // Add attribute: value 3912 { 3913 daeMetaAttribute *ma = new daeMetaAttribute; 3914 ma->setName( "value" ); 3915 ma->setType( dae.getAtomicTypes().get("Bool")); 3916 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domColor_material_enable , attrValue )); 3917 ma->setContainer( meta ); 3918 ma->setDefaultString( "true"); 3919 ma->setIsRequired( false ); 3920 3921 meta->appendAttribute(ma); 3922 } 3923 3924 // Add attribute: param 3925 { 3926 daeMetaAttribute *ma = new daeMetaAttribute; 3927 ma->setName( "param" ); 3928 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3929 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domColor_material_enable , attrParam )); 3930 ma->setContainer( meta ); 3931 ma->setIsRequired( false ); 3932 3933 meta->appendAttribute(ma); 3934 } 3935 3936 meta->setElementSize(sizeof(domGles_pipeline_settings::domColor_material_enable)); 3937 meta->validate(); 3938 3939 return meta; 3940 } 3941 3942 daeElementRef 3943 domGles_pipeline_settings::domCull_face_enable::create(DAE& dae) 3944 { 3945 domGles_pipeline_settings::domCull_face_enableRef ref = new domGles_pipeline_settings::domCull_face_enable(dae); 3946 return ref; 3947 } 3948 3949 3950 daeMetaElement * 3951 domGles_pipeline_settings::domCull_face_enable::registerElement(DAE& dae) 3952 { 3953 daeMetaElement* meta = dae.getMeta(ID()); 3954 if ( meta != NULL ) return meta; 3955 3956 meta = new daeMetaElement(dae); 3957 dae.setMeta(ID(), *meta); 3958 meta->setName( "cull_face_enable" ); 3959 meta->registerClass(domGles_pipeline_settings::domCull_face_enable::create); 3960 3961 meta->setIsInnerClass( true ); 3962 3963 // Add attribute: value 3964 { 3965 daeMetaAttribute *ma = new daeMetaAttribute; 3966 ma->setName( "value" ); 3967 ma->setType( dae.getAtomicTypes().get("Bool")); 3968 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domCull_face_enable , attrValue )); 3969 ma->setContainer( meta ); 3970 ma->setDefaultString( "false"); 3971 ma->setIsRequired( false ); 3972 3973 meta->appendAttribute(ma); 3974 } 3975 3976 // Add attribute: param 3977 { 3978 daeMetaAttribute *ma = new daeMetaAttribute; 3979 ma->setName( "param" ); 3980 ma->setType( dae.getAtomicTypes().get("xsNCName")); 3981 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domCull_face_enable , attrParam )); 3982 ma->setContainer( meta ); 3983 ma->setIsRequired( false ); 3984 3985 meta->appendAttribute(ma); 3986 } 3987 3988 meta->setElementSize(sizeof(domGles_pipeline_settings::domCull_face_enable)); 3989 meta->validate(); 3990 3991 return meta; 3992 } 3993 3994 daeElementRef 3995 domGles_pipeline_settings::domDepth_test_enable::create(DAE& dae) 3996 { 3997 domGles_pipeline_settings::domDepth_test_enableRef ref = new domGles_pipeline_settings::domDepth_test_enable(dae); 3998 return ref; 3999 } 4000 4001 4002 daeMetaElement * 4003 domGles_pipeline_settings::domDepth_test_enable::registerElement(DAE& dae) 4004 { 4005 daeMetaElement* meta = dae.getMeta(ID()); 4006 if ( meta != NULL ) return meta; 4007 4008 meta = new daeMetaElement(dae); 4009 dae.setMeta(ID(), *meta); 4010 meta->setName( "depth_test_enable" ); 4011 meta->registerClass(domGles_pipeline_settings::domDepth_test_enable::create); 4012 4013 meta->setIsInnerClass( true ); 4014 4015 // Add attribute: value 4016 { 4017 daeMetaAttribute *ma = new daeMetaAttribute; 4018 ma->setName( "value" ); 4019 ma->setType( dae.getAtomicTypes().get("Bool")); 4020 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domDepth_test_enable , attrValue )); 4021 ma->setContainer( meta ); 4022 ma->setDefaultString( "false"); 4023 ma->setIsRequired( false ); 4024 4025 meta->appendAttribute(ma); 4026 } 4027 4028 // Add attribute: param 4029 { 4030 daeMetaAttribute *ma = new daeMetaAttribute; 4031 ma->setName( "param" ); 4032 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4033 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domDepth_test_enable , attrParam )); 4034 ma->setContainer( meta ); 4035 ma->setIsRequired( false ); 4036 4037 meta->appendAttribute(ma); 4038 } 4039 4040 meta->setElementSize(sizeof(domGles_pipeline_settings::domDepth_test_enable)); 4041 meta->validate(); 4042 4043 return meta; 4044 } 4045 4046 daeElementRef 4047 domGles_pipeline_settings::domDither_enable::create(DAE& dae) 4048 { 4049 domGles_pipeline_settings::domDither_enableRef ref = new domGles_pipeline_settings::domDither_enable(dae); 4050 return ref; 4051 } 4052 4053 4054 daeMetaElement * 4055 domGles_pipeline_settings::domDither_enable::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( "dither_enable" ); 4063 meta->registerClass(domGles_pipeline_settings::domDither_enable::create); 4064 4065 meta->setIsInnerClass( true ); 4066 4067 // Add attribute: value 4068 { 4069 daeMetaAttribute *ma = new daeMetaAttribute; 4070 ma->setName( "value" ); 4071 ma->setType( dae.getAtomicTypes().get("Bool")); 4072 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domDither_enable , attrValue )); 4073 ma->setContainer( meta ); 4074 ma->setDefaultString( "false"); 4075 ma->setIsRequired( false ); 4076 4077 meta->appendAttribute(ma); 4078 } 4079 4080 // Add attribute: param 4081 { 4082 daeMetaAttribute *ma = new daeMetaAttribute; 4083 ma->setName( "param" ); 4084 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4085 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domDither_enable , attrParam )); 4086 ma->setContainer( meta ); 4087 ma->setIsRequired( false ); 4088 4089 meta->appendAttribute(ma); 4090 } 4091 4092 meta->setElementSize(sizeof(domGles_pipeline_settings::domDither_enable)); 4093 meta->validate(); 4094 4095 return meta; 4096 } 4097 4098 daeElementRef 4099 domGles_pipeline_settings::domFog_enable::create(DAE& dae) 4100 { 4101 domGles_pipeline_settings::domFog_enableRef ref = new domGles_pipeline_settings::domFog_enable(dae); 4102 return ref; 4103 } 4104 4105 4106 daeMetaElement * 4107 domGles_pipeline_settings::domFog_enable::registerElement(DAE& dae) 4108 { 4109 daeMetaElement* meta = dae.getMeta(ID()); 4110 if ( meta != NULL ) return meta; 4111 4112 meta = new daeMetaElement(dae); 4113 dae.setMeta(ID(), *meta); 4114 meta->setName( "fog_enable" ); 4115 meta->registerClass(domGles_pipeline_settings::domFog_enable::create); 4116 4117 meta->setIsInnerClass( true ); 4118 4119 // Add attribute: value 4120 { 4121 daeMetaAttribute *ma = new daeMetaAttribute; 4122 ma->setName( "value" ); 4123 ma->setType( dae.getAtomicTypes().get("Bool")); 4124 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domFog_enable , attrValue )); 4125 ma->setContainer( meta ); 4126 ma->setDefaultString( "false"); 4127 ma->setIsRequired( false ); 4128 4129 meta->appendAttribute(ma); 4130 } 4131 4132 // Add attribute: param 4133 { 4134 daeMetaAttribute *ma = new daeMetaAttribute; 4135 ma->setName( "param" ); 4136 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4137 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domFog_enable , attrParam )); 4138 ma->setContainer( meta ); 4139 ma->setIsRequired( false ); 4140 4141 meta->appendAttribute(ma); 4142 } 4143 4144 meta->setElementSize(sizeof(domGles_pipeline_settings::domFog_enable)); 4145 meta->validate(); 4146 4147 return meta; 4148 } 4149 4150 daeElementRef 4151 domGles_pipeline_settings::domTexture_pipeline_enable::create(DAE& dae) 4152 { 4153 domGles_pipeline_settings::domTexture_pipeline_enableRef ref = new domGles_pipeline_settings::domTexture_pipeline_enable(dae); 4154 return ref; 4155 } 4156 4157 4158 daeMetaElement * 4159 domGles_pipeline_settings::domTexture_pipeline_enable::registerElement(DAE& dae) 4160 { 4161 daeMetaElement* meta = dae.getMeta(ID()); 4162 if ( meta != NULL ) return meta; 4163 4164 meta = new daeMetaElement(dae); 4165 dae.setMeta(ID(), *meta); 4166 meta->setName( "texture_pipeline_enable" ); 4167 meta->registerClass(domGles_pipeline_settings::domTexture_pipeline_enable::create); 4168 4169 meta->setIsInnerClass( true ); 4170 4171 // Add attribute: value 4172 { 4173 daeMetaAttribute *ma = new daeMetaAttribute; 4174 ma->setName( "value" ); 4175 ma->setType( dae.getAtomicTypes().get("Bool")); 4176 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domTexture_pipeline_enable , attrValue )); 4177 ma->setContainer( meta ); 4178 ma->setDefaultString( "false"); 4179 ma->setIsRequired( false ); 4180 4181 meta->appendAttribute(ma); 4182 } 4183 4184 // Add attribute: param 4185 { 4186 daeMetaAttribute *ma = new daeMetaAttribute; 4187 ma->setName( "param" ); 4188 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4189 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domTexture_pipeline_enable , attrParam )); 4190 ma->setContainer( meta ); 4191 ma->setIsRequired( false ); 4192 4193 meta->appendAttribute(ma); 4194 } 4195 4196 meta->setElementSize(sizeof(domGles_pipeline_settings::domTexture_pipeline_enable)); 4197 meta->validate(); 4198 4199 return meta; 4200 } 4201 4202 daeElementRef 4203 domGles_pipeline_settings::domLight_enable::create(DAE& dae) 4204 { 4205 domGles_pipeline_settings::domLight_enableRef ref = new domGles_pipeline_settings::domLight_enable(dae); 4206 return ref; 4207 } 4208 4209 4210 daeMetaElement * 4211 domGles_pipeline_settings::domLight_enable::registerElement(DAE& dae) 4212 { 4213 daeMetaElement* meta = dae.getMeta(ID()); 4214 if ( meta != NULL ) return meta; 4215 4216 meta = new daeMetaElement(dae); 4217 dae.setMeta(ID(), *meta); 4218 meta->setName( "light_enable" ); 4219 meta->registerClass(domGles_pipeline_settings::domLight_enable::create); 4220 4221 meta->setIsInnerClass( true ); 4222 4223 // Add attribute: value 4224 { 4225 daeMetaAttribute *ma = new daeMetaAttribute; 4226 ma->setName( "value" ); 4227 ma->setType( dae.getAtomicTypes().get("Bool")); 4228 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_enable , attrValue )); 4229 ma->setContainer( meta ); 4230 ma->setDefaultString( "false"); 4231 ma->setIsRequired( false ); 4232 4233 meta->appendAttribute(ma); 4234 } 4235 4236 // Add attribute: param 4237 { 4238 daeMetaAttribute *ma = new daeMetaAttribute; 4239 ma->setName( "param" ); 4240 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4241 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_enable , attrParam )); 4242 ma->setContainer( meta ); 4243 ma->setIsRequired( false ); 4244 4245 meta->appendAttribute(ma); 4246 } 4247 4248 // Add attribute: index 4249 { 4250 daeMetaAttribute *ma = new daeMetaAttribute; 4251 ma->setName( "index" ); 4252 ma->setType( dae.getAtomicTypes().get("GLES_MAX_LIGHTS_index")); 4253 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_enable , attrIndex )); 4254 ma->setContainer( meta ); 4255 ma->setIsRequired( true ); 4256 4257 meta->appendAttribute(ma); 4258 } 4259 4260 meta->setElementSize(sizeof(domGles_pipeline_settings::domLight_enable)); 4261 meta->validate(); 4262 4263 return meta; 4264 } 4265 4266 daeElementRef 4267 domGles_pipeline_settings::domLighting_enable::create(DAE& dae) 4268 { 4269 domGles_pipeline_settings::domLighting_enableRef ref = new domGles_pipeline_settings::domLighting_enable(dae); 4270 return ref; 4271 } 4272 4273 4274 daeMetaElement * 4275 domGles_pipeline_settings::domLighting_enable::registerElement(DAE& dae) 4276 { 4277 daeMetaElement* meta = dae.getMeta(ID()); 4278 if ( meta != NULL ) return meta; 4279 4280 meta = new daeMetaElement(dae); 4281 dae.setMeta(ID(), *meta); 4282 meta->setName( "lighting_enable" ); 4283 meta->registerClass(domGles_pipeline_settings::domLighting_enable::create); 4284 4285 meta->setIsInnerClass( true ); 4286 4287 // Add attribute: value 4288 { 4289 daeMetaAttribute *ma = new daeMetaAttribute; 4290 ma->setName( "value" ); 4291 ma->setType( dae.getAtomicTypes().get("Bool")); 4292 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLighting_enable , attrValue )); 4293 ma->setContainer( meta ); 4294 ma->setDefaultString( "false"); 4295 ma->setIsRequired( false ); 4296 4297 meta->appendAttribute(ma); 4298 } 4299 4300 // Add attribute: param 4301 { 4302 daeMetaAttribute *ma = new daeMetaAttribute; 4303 ma->setName( "param" ); 4304 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4305 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLighting_enable , attrParam )); 4306 ma->setContainer( meta ); 4307 ma->setIsRequired( false ); 4308 4309 meta->appendAttribute(ma); 4310 } 4311 4312 meta->setElementSize(sizeof(domGles_pipeline_settings::domLighting_enable)); 4313 meta->validate(); 4314 4315 return meta; 4316 } 4317 4318 daeElementRef 4319 domGles_pipeline_settings::domLight_model_two_side_enable::create(DAE& dae) 4320 { 4321 domGles_pipeline_settings::domLight_model_two_side_enableRef ref = new domGles_pipeline_settings::domLight_model_two_side_enable(dae); 4322 return ref; 4323 } 4324 4325 4326 daeMetaElement * 4327 domGles_pipeline_settings::domLight_model_two_side_enable::registerElement(DAE& dae) 4328 { 4329 daeMetaElement* meta = dae.getMeta(ID()); 4330 if ( meta != NULL ) return meta; 4331 4332 meta = new daeMetaElement(dae); 4333 dae.setMeta(ID(), *meta); 4334 meta->setName( "light_model_two_side_enable" ); 4335 meta->registerClass(domGles_pipeline_settings::domLight_model_two_side_enable::create); 4336 4337 meta->setIsInnerClass( true ); 4338 4339 // Add attribute: value 4340 { 4341 daeMetaAttribute *ma = new daeMetaAttribute; 4342 ma->setName( "value" ); 4343 ma->setType( dae.getAtomicTypes().get("Bool")); 4344 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_model_two_side_enable , attrValue )); 4345 ma->setContainer( meta ); 4346 ma->setDefaultString( "false"); 4347 ma->setIsRequired( false ); 4348 4349 meta->appendAttribute(ma); 4350 } 4351 4352 // Add attribute: param 4353 { 4354 daeMetaAttribute *ma = new daeMetaAttribute; 4355 ma->setName( "param" ); 4356 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4357 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLight_model_two_side_enable , attrParam )); 4358 ma->setContainer( meta ); 4359 ma->setIsRequired( false ); 4360 4361 meta->appendAttribute(ma); 4362 } 4363 4364 meta->setElementSize(sizeof(domGles_pipeline_settings::domLight_model_two_side_enable)); 4365 meta->validate(); 4366 4367 return meta; 4368 } 4369 4370 daeElementRef 4371 domGles_pipeline_settings::domLine_smooth_enable::create(DAE& dae) 4372 { 4373 domGles_pipeline_settings::domLine_smooth_enableRef ref = new domGles_pipeline_settings::domLine_smooth_enable(dae); 4374 return ref; 4375 } 4376 4377 4378 daeMetaElement * 4379 domGles_pipeline_settings::domLine_smooth_enable::registerElement(DAE& dae) 4380 { 4381 daeMetaElement* meta = dae.getMeta(ID()); 4382 if ( meta != NULL ) return meta; 4383 4384 meta = new daeMetaElement(dae); 4385 dae.setMeta(ID(), *meta); 4386 meta->setName( "line_smooth_enable" ); 4387 meta->registerClass(domGles_pipeline_settings::domLine_smooth_enable::create); 4388 4389 meta->setIsInnerClass( true ); 4390 4391 // Add attribute: value 4392 { 4393 daeMetaAttribute *ma = new daeMetaAttribute; 4394 ma->setName( "value" ); 4395 ma->setType( dae.getAtomicTypes().get("Bool")); 4396 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLine_smooth_enable , attrValue )); 4397 ma->setContainer( meta ); 4398 ma->setDefaultString( "false"); 4399 ma->setIsRequired( false ); 4400 4401 meta->appendAttribute(ma); 4402 } 4403 4404 // Add attribute: param 4405 { 4406 daeMetaAttribute *ma = new daeMetaAttribute; 4407 ma->setName( "param" ); 4408 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4409 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domLine_smooth_enable , attrParam )); 4410 ma->setContainer( meta ); 4411 ma->setIsRequired( false ); 4412 4413 meta->appendAttribute(ma); 4414 } 4415 4416 meta->setElementSize(sizeof(domGles_pipeline_settings::domLine_smooth_enable)); 4417 meta->validate(); 4418 4419 return meta; 4420 } 4421 4422 daeElementRef 4423 domGles_pipeline_settings::domMultisample_enable::create(DAE& dae) 4424 { 4425 domGles_pipeline_settings::domMultisample_enableRef ref = new domGles_pipeline_settings::domMultisample_enable(dae); 4426 return ref; 4427 } 4428 4429 4430 daeMetaElement * 4431 domGles_pipeline_settings::domMultisample_enable::registerElement(DAE& dae) 4432 { 4433 daeMetaElement* meta = dae.getMeta(ID()); 4434 if ( meta != NULL ) return meta; 4435 4436 meta = new daeMetaElement(dae); 4437 dae.setMeta(ID(), *meta); 4438 meta->setName( "multisample_enable" ); 4439 meta->registerClass(domGles_pipeline_settings::domMultisample_enable::create); 4440 4441 meta->setIsInnerClass( true ); 4442 4443 // Add attribute: value 4444 { 4445 daeMetaAttribute *ma = new daeMetaAttribute; 4446 ma->setName( "value" ); 4447 ma->setType( dae.getAtomicTypes().get("Bool")); 4448 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domMultisample_enable , attrValue )); 4449 ma->setContainer( meta ); 4450 ma->setDefaultString( "false"); 4451 ma->setIsRequired( false ); 4452 4453 meta->appendAttribute(ma); 4454 } 4455 4456 // Add attribute: param 4457 { 4458 daeMetaAttribute *ma = new daeMetaAttribute; 4459 ma->setName( "param" ); 4460 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4461 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domMultisample_enable , attrParam )); 4462 ma->setContainer( meta ); 4463 ma->setIsRequired( false ); 4464 4465 meta->appendAttribute(ma); 4466 } 4467 4468 meta->setElementSize(sizeof(domGles_pipeline_settings::domMultisample_enable)); 4469 meta->validate(); 4470 4471 return meta; 4472 } 4473 4474 daeElementRef 4475 domGles_pipeline_settings::domNormalize_enable::create(DAE& dae) 4476 { 4477 domGles_pipeline_settings::domNormalize_enableRef ref = new domGles_pipeline_settings::domNormalize_enable(dae); 4478 return ref; 4479 } 4480 4481 4482 daeMetaElement * 4483 domGles_pipeline_settings::domNormalize_enable::registerElement(DAE& dae) 4484 { 4485 daeMetaElement* meta = dae.getMeta(ID()); 4486 if ( meta != NULL ) return meta; 4487 4488 meta = new daeMetaElement(dae); 4489 dae.setMeta(ID(), *meta); 4490 meta->setName( "normalize_enable" ); 4491 meta->registerClass(domGles_pipeline_settings::domNormalize_enable::create); 4492 4493 meta->setIsInnerClass( true ); 4494 4495 // Add attribute: value 4496 { 4497 daeMetaAttribute *ma = new daeMetaAttribute; 4498 ma->setName( "value" ); 4499 ma->setType( dae.getAtomicTypes().get("Bool")); 4500 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domNormalize_enable , attrValue )); 4501 ma->setContainer( meta ); 4502 ma->setDefaultString( "false"); 4503 ma->setIsRequired( false ); 4504 4505 meta->appendAttribute(ma); 4506 } 4507 4508 // Add attribute: param 4509 { 4510 daeMetaAttribute *ma = new daeMetaAttribute; 4511 ma->setName( "param" ); 4512 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4513 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domNormalize_enable , attrParam )); 4514 ma->setContainer( meta ); 4515 ma->setIsRequired( false ); 4516 4517 meta->appendAttribute(ma); 4518 } 4519 4520 meta->setElementSize(sizeof(domGles_pipeline_settings::domNormalize_enable)); 4521 meta->validate(); 4522 4523 return meta; 4524 } 4525 4526 daeElementRef 4527 domGles_pipeline_settings::domPoint_smooth_enable::create(DAE& dae) 4528 { 4529 domGles_pipeline_settings::domPoint_smooth_enableRef ref = new domGles_pipeline_settings::domPoint_smooth_enable(dae); 4530 return ref; 4531 } 4532 4533 4534 daeMetaElement * 4535 domGles_pipeline_settings::domPoint_smooth_enable::registerElement(DAE& dae) 4536 { 4537 daeMetaElement* meta = dae.getMeta(ID()); 4538 if ( meta != NULL ) return meta; 4539 4540 meta = new daeMetaElement(dae); 4541 dae.setMeta(ID(), *meta); 4542 meta->setName( "point_smooth_enable" ); 4543 meta->registerClass(domGles_pipeline_settings::domPoint_smooth_enable::create); 4544 4545 meta->setIsInnerClass( true ); 4546 4547 // Add attribute: value 4548 { 4549 daeMetaAttribute *ma = new daeMetaAttribute; 4550 ma->setName( "value" ); 4551 ma->setType( dae.getAtomicTypes().get("Bool")); 4552 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPoint_smooth_enable , attrValue )); 4553 ma->setContainer( meta ); 4554 ma->setDefaultString( "false"); 4555 ma->setIsRequired( false ); 4556 4557 meta->appendAttribute(ma); 4558 } 4559 4560 // Add attribute: param 4561 { 4562 daeMetaAttribute *ma = new daeMetaAttribute; 4563 ma->setName( "param" ); 4564 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4565 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPoint_smooth_enable , attrParam )); 4566 ma->setContainer( meta ); 4567 ma->setIsRequired( false ); 4568 4569 meta->appendAttribute(ma); 4570 } 4571 4572 meta->setElementSize(sizeof(domGles_pipeline_settings::domPoint_smooth_enable)); 4573 meta->validate(); 4574 4575 return meta; 4576 } 4577 4578 daeElementRef 4579 domGles_pipeline_settings::domPolygon_offset_fill_enable::create(DAE& dae) 4580 { 4581 domGles_pipeline_settings::domPolygon_offset_fill_enableRef ref = new domGles_pipeline_settings::domPolygon_offset_fill_enable(dae); 4582 return ref; 4583 } 4584 4585 4586 daeMetaElement * 4587 domGles_pipeline_settings::domPolygon_offset_fill_enable::registerElement(DAE& dae) 4588 { 4589 daeMetaElement* meta = dae.getMeta(ID()); 4590 if ( meta != NULL ) return meta; 4591 4592 meta = new daeMetaElement(dae); 4593 dae.setMeta(ID(), *meta); 4594 meta->setName( "polygon_offset_fill_enable" ); 4595 meta->registerClass(domGles_pipeline_settings::domPolygon_offset_fill_enable::create); 4596 4597 meta->setIsInnerClass( true ); 4598 4599 // Add attribute: value 4600 { 4601 daeMetaAttribute *ma = new daeMetaAttribute; 4602 ma->setName( "value" ); 4603 ma->setType( dae.getAtomicTypes().get("Bool")); 4604 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPolygon_offset_fill_enable , attrValue )); 4605 ma->setContainer( meta ); 4606 ma->setDefaultString( "false"); 4607 ma->setIsRequired( false ); 4608 4609 meta->appendAttribute(ma); 4610 } 4611 4612 // Add attribute: param 4613 { 4614 daeMetaAttribute *ma = new daeMetaAttribute; 4615 ma->setName( "param" ); 4616 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4617 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domPolygon_offset_fill_enable , attrParam )); 4618 ma->setContainer( meta ); 4619 ma->setIsRequired( false ); 4620 4621 meta->appendAttribute(ma); 4622 } 4623 4624 meta->setElementSize(sizeof(domGles_pipeline_settings::domPolygon_offset_fill_enable)); 4625 meta->validate(); 4626 4627 return meta; 4628 } 4629 4630 daeElementRef 4631 domGles_pipeline_settings::domRescale_normal_enable::create(DAE& dae) 4632 { 4633 domGles_pipeline_settings::domRescale_normal_enableRef ref = new domGles_pipeline_settings::domRescale_normal_enable(dae); 4634 return ref; 4635 } 4636 4637 4638 daeMetaElement * 4639 domGles_pipeline_settings::domRescale_normal_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( "rescale_normal_enable" ); 4647 meta->registerClass(domGles_pipeline_settings::domRescale_normal_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( domGles_pipeline_settings::domRescale_normal_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( domGles_pipeline_settings::domRescale_normal_enable , attrParam )); 4670 ma->setContainer( meta ); 4671 ma->setIsRequired( false ); 4672 4673 meta->appendAttribute(ma); 4674 } 4675 4676 meta->setElementSize(sizeof(domGles_pipeline_settings::domRescale_normal_enable)); 4677 meta->validate(); 4678 4679 return meta; 4680 } 4681 4682 daeElementRef 4683 domGles_pipeline_settings::domSample_alpha_to_coverage_enable::create(DAE& dae) 4684 { 4685 domGles_pipeline_settings::domSample_alpha_to_coverage_enableRef ref = new domGles_pipeline_settings::domSample_alpha_to_coverage_enable(dae); 4686 return ref; 4687 } 4688 4689 4690 daeMetaElement * 4691 domGles_pipeline_settings::domSample_alpha_to_coverage_enable::registerElement(DAE& dae) 4692 { 4693 daeMetaElement* meta = dae.getMeta(ID()); 4694 if ( meta != NULL ) return meta; 4695 4696 meta = new daeMetaElement(dae); 4697 dae.setMeta(ID(), *meta); 4698 meta->setName( "sample_alpha_to_coverage_enable" ); 4699 meta->registerClass(domGles_pipeline_settings::domSample_alpha_to_coverage_enable::create); 4700 4701 meta->setIsInnerClass( true ); 4702 4703 // Add attribute: value 4704 { 4705 daeMetaAttribute *ma = new daeMetaAttribute; 4706 ma->setName( "value" ); 4707 ma->setType( dae.getAtomicTypes().get("Bool")); 4708 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domSample_alpha_to_coverage_enable , attrValue )); 4709 ma->setContainer( meta ); 4710 ma->setDefaultString( "false"); 4711 ma->setIsRequired( false ); 4712 4713 meta->appendAttribute(ma); 4714 } 4715 4716 // Add attribute: param 4717 { 4718 daeMetaAttribute *ma = new daeMetaAttribute; 4719 ma->setName( "param" ); 4720 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4721 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domSample_alpha_to_coverage_enable , attrParam )); 4722 ma->setContainer( meta ); 4723 ma->setIsRequired( false ); 4724 4725 meta->appendAttribute(ma); 4726 } 4727 4728 meta->setElementSize(sizeof(domGles_pipeline_settings::domSample_alpha_to_coverage_enable)); 4729 meta->validate(); 4730 4731 return meta; 4732 } 4733 4734 daeElementRef 4735 domGles_pipeline_settings::domSample_alpha_to_one_enable::create(DAE& dae) 4736 { 4737 domGles_pipeline_settings::domSample_alpha_to_one_enableRef ref = new domGles_pipeline_settings::domSample_alpha_to_one_enable(dae); 4738 return ref; 4739 } 4740 4741 4742 daeMetaElement * 4743 domGles_pipeline_settings::domSample_alpha_to_one_enable::registerElement(DAE& dae) 4744 { 4745 daeMetaElement* meta = dae.getMeta(ID()); 4746 if ( meta != NULL ) return meta; 4747 4748 meta = new daeMetaElement(dae); 4749 dae.setMeta(ID(), *meta); 4750 meta->setName( "sample_alpha_to_one_enable" ); 4751 meta->registerClass(domGles_pipeline_settings::domSample_alpha_to_one_enable::create); 4752 4753 meta->setIsInnerClass( true ); 4754 4755 // Add attribute: value 4756 { 4757 daeMetaAttribute *ma = new daeMetaAttribute; 4758 ma->setName( "value" ); 4759 ma->setType( dae.getAtomicTypes().get("Bool")); 4760 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domSample_alpha_to_one_enable , attrValue )); 4761 ma->setContainer( meta ); 4762 ma->setDefaultString( "false"); 4763 ma->setIsRequired( false ); 4764 4765 meta->appendAttribute(ma); 4766 } 4767 4768 // Add attribute: param 4769 { 4770 daeMetaAttribute *ma = new daeMetaAttribute; 4771 ma->setName( "param" ); 4772 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4773 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domSample_alpha_to_one_enable , attrParam )); 4774 ma->setContainer( meta ); 4775 ma->setIsRequired( false ); 4776 4777 meta->appendAttribute(ma); 4778 } 4779 4780 meta->setElementSize(sizeof(domGles_pipeline_settings::domSample_alpha_to_one_enable)); 4781 meta->validate(); 4782 4783 return meta; 4784 } 4785 4786 daeElementRef 4787 domGles_pipeline_settings::domSample_coverage_enable::create(DAE& dae) 4788 { 4789 domGles_pipeline_settings::domSample_coverage_enableRef ref = new domGles_pipeline_settings::domSample_coverage_enable(dae); 4790 return ref; 4791 } 4792 4793 4794 daeMetaElement * 4795 domGles_pipeline_settings::domSample_coverage_enable::registerElement(DAE& dae) 4796 { 4797 daeMetaElement* meta = dae.getMeta(ID()); 4798 if ( meta != NULL ) return meta; 4799 4800 meta = new daeMetaElement(dae); 4801 dae.setMeta(ID(), *meta); 4802 meta->setName( "sample_coverage_enable" ); 4803 meta->registerClass(domGles_pipeline_settings::domSample_coverage_enable::create); 4804 4805 meta->setIsInnerClass( true ); 4806 4807 // Add attribute: value 4808 { 4809 daeMetaAttribute *ma = new daeMetaAttribute; 4810 ma->setName( "value" ); 4811 ma->setType( dae.getAtomicTypes().get("Bool")); 4812 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domSample_coverage_enable , attrValue )); 4813 ma->setContainer( meta ); 4814 ma->setDefaultString( "false"); 4815 ma->setIsRequired( false ); 4816 4817 meta->appendAttribute(ma); 4818 } 4819 4820 // Add attribute: param 4821 { 4822 daeMetaAttribute *ma = new daeMetaAttribute; 4823 ma->setName( "param" ); 4824 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4825 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domSample_coverage_enable , attrParam )); 4826 ma->setContainer( meta ); 4827 ma->setIsRequired( false ); 4828 4829 meta->appendAttribute(ma); 4830 } 4831 4832 meta->setElementSize(sizeof(domGles_pipeline_settings::domSample_coverage_enable)); 4833 meta->validate(); 4834 4835 return meta; 4836 } 4837 4838 daeElementRef 4839 domGles_pipeline_settings::domScissor_test_enable::create(DAE& dae) 4840 { 4841 domGles_pipeline_settings::domScissor_test_enableRef ref = new domGles_pipeline_settings::domScissor_test_enable(dae); 4842 return ref; 4843 } 4844 4845 4846 daeMetaElement * 4847 domGles_pipeline_settings::domScissor_test_enable::registerElement(DAE& dae) 4848 { 4849 daeMetaElement* meta = dae.getMeta(ID()); 4850 if ( meta != NULL ) return meta; 4851 4852 meta = new daeMetaElement(dae); 4853 dae.setMeta(ID(), *meta); 4854 meta->setName( "scissor_test_enable" ); 4855 meta->registerClass(domGles_pipeline_settings::domScissor_test_enable::create); 4856 4857 meta->setIsInnerClass( true ); 4858 4859 // Add attribute: value 4860 { 4861 daeMetaAttribute *ma = new daeMetaAttribute; 4862 ma->setName( "value" ); 4863 ma->setType( dae.getAtomicTypes().get("Bool")); 4864 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domScissor_test_enable , attrValue )); 4865 ma->setContainer( meta ); 4866 ma->setDefaultString( "false"); 4867 ma->setIsRequired( false ); 4868 4869 meta->appendAttribute(ma); 4870 } 4871 4872 // Add attribute: param 4873 { 4874 daeMetaAttribute *ma = new daeMetaAttribute; 4875 ma->setName( "param" ); 4876 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4877 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domScissor_test_enable , attrParam )); 4878 ma->setContainer( meta ); 4879 ma->setIsRequired( false ); 4880 4881 meta->appendAttribute(ma); 4882 } 4883 4884 meta->setElementSize(sizeof(domGles_pipeline_settings::domScissor_test_enable)); 4885 meta->validate(); 4886 4887 return meta; 4888 } 4889 4890 daeElementRef 4891 domGles_pipeline_settings::domStencil_test_enable::create(DAE& dae) 4892 { 4893 domGles_pipeline_settings::domStencil_test_enableRef ref = new domGles_pipeline_settings::domStencil_test_enable(dae); 4894 return ref; 4895 } 4896 4897 4898 daeMetaElement * 4899 domGles_pipeline_settings::domStencil_test_enable::registerElement(DAE& dae) 4900 { 4901 daeMetaElement* meta = dae.getMeta(ID()); 4902 if ( meta != NULL ) return meta; 4903 4904 meta = new daeMetaElement(dae); 4905 dae.setMeta(ID(), *meta); 4906 meta->setName( "stencil_test_enable" ); 4907 meta->registerClass(domGles_pipeline_settings::domStencil_test_enable::create); 4908 4909 meta->setIsInnerClass( true ); 4910 4911 // Add attribute: value 4912 { 4913 daeMetaAttribute *ma = new daeMetaAttribute; 4914 ma->setName( "value" ); 4915 ma->setType( dae.getAtomicTypes().get("Bool")); 4916 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_test_enable , attrValue )); 4917 ma->setContainer( meta ); 4918 ma->setDefaultString( "false"); 4919 ma->setIsRequired( false ); 4920 4921 meta->appendAttribute(ma); 4922 } 4923 4924 // Add attribute: param 4925 { 4926 daeMetaAttribute *ma = new daeMetaAttribute; 4927 ma->setName( "param" ); 4928 ma->setType( dae.getAtomicTypes().get("xsNCName")); 4929 ma->setOffset( daeOffsetOf( domGles_pipeline_settings::domStencil_test_enable , attrParam )); 4930 ma->setContainer( meta ); 4931 ma->setIsRequired( false ); 4932 4933 meta->appendAttribute(ma); 4934 } 4935 4936 meta->setElementSize(sizeof(domGles_pipeline_settings::domStencil_test_enable)); 4937 meta->validate(); 4938 4939 return meta; 4940 } 4941 4942