1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
|
/*
* Copyright 1998-2008 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Sun designates this
* particular file as subject to the "Classpath" exception as provided
* by Sun in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
* CA 95054 USA or visit www.sun.com if you need additional information or
* have any questions.
*
*/
package javax.media.j3d;
/**
* This CapabilityBits class provides a global namespace for all
* capability bits
*/
class CapabilityBits extends Object {
// SceneGraphObject
// Node extends SceneGraphObject
static final int NODE_ENABLE_COLLISION_REPORTING = 0;
static final int NODE_ENABLE_PICK_REPORTING = 1;
private static final int NODE_UNUSED_BIT = 2;
static final int NODE_ALLOW_BOUNDS_READ = 3;
static final int NODE_ALLOW_BOUNDS_WRITE = 4;
static final int NODE_ALLOW_PICKABLE_READ = 5;
static final int NODE_ALLOW_PICKABLE_WRITE = 6;
static final int NODE_ALLOW_COLLIDABLE_READ = 7;
static final int NODE_ALLOW_COLLIDABLE_WRITE = 8;
static final int NODE_ALLOW_AUTO_COMPUTE_BOUNDS_READ = 9;
static final int NODE_ALLOW_AUTO_COMPUTE_BOUNDS_WRITE = 10;
static final int NODE_ALLOW_LOCAL_TO_VWORLD_READ = 11;
// Group extends Node
static final int GROUP_ALLOW_CHILDREN_READ = 12;
static final int GROUP_ALLOW_CHILDREN_WRITE = 13;
static final int GROUP_ALLOW_CHILDREN_EXTEND = 14;
static final int GROUP_ALLOW_COLLISION_BOUNDS_READ = 15;
static final int GROUP_ALLOW_COLLISION_BOUNDS_WRITE = 16;
// BranchGroup extends Group
static final int BRANCH_GROUP_ALLOW_DETACH = 17;
// SharedGroup extends Group
static final int SHARED_GROUP_ALLOW_LINK_READ = 17;
// TransformGroup extends Group
static final int TRANSFORM_GROUP_ALLOW_TRANSFORM_READ = 17;
static final int TRANSFORM_GROUP_ALLOW_TRANSFORM_WRITE = 18;
// Switch extends Group
static final int SWITCH_ALLOW_SWITCH_READ = 17;
static final int SWITCH_ALLOW_SWITCH_WRITE = 18;
// ViewSpecificGroup extends Group
static final int VIEW_SPECIFIC_GROUP_ALLOW_VIEW_READ = 17;
static final int VIEW_SPECIFIC_GROUP_ALLOW_VIEW_WRITE = 18;
// OrderedGroup extends Group
static final int ORDERED_GROUP_ALLOW_CHILD_INDEX_ORDER_READ = 17;
static final int ORDERED_GROUP_ALLOW_CHILD_INDEX_ORDER_WRITE = 18;
// Leaf extends Node
// Background extends Leaf
static final int BACKGROUND_ALLOW_APPLICATION_BOUNDS_READ = 12;
static final int BACKGROUND_ALLOW_APPLICATION_BOUNDS_WRITE = 13;
static final int BACKGROUND_ALLOW_IMAGE_READ = 14;
static final int BACKGROUND_ALLOW_IMAGE_WRITE = 15;
static final int BACKGROUND_ALLOW_COLOR_READ = 16;
static final int BACKGROUND_ALLOW_COLOR_WRITE = 17;
static final int BACKGROUND_ALLOW_GEOMETRY_READ = 18;
static final int BACKGROUND_ALLOW_GEOMETRY_WRITE = 19;
static final int BACKGROUND_ALLOW_IMAGE_SCALE_MODE_READ = 20;
static final int BACKGROUND_ALLOW_IMAGE_SCALE_MODE_WRITE = 21;
// BoundingLeaf extends Leaf
static final int BOUNDING_LEAF_ALLOW_REGION_READ = 12;
static final int BOUNDING_LEAF_ALLOW_REGION_WRITE = 13;
// Clip extends Leaf
static final int CLIP_ALLOW_APPLICATION_BOUNDS_READ = 12;
static final int CLIP_ALLOW_APPLICATION_BOUNDS_WRITE = 13;
static final int CLIP_ALLOW_BACK_DISTANCE_READ = 14;
static final int CLIP_ALLOW_BACK_DISTANCE_WRITE = 15;
// Morph extends Leaf
static final int MORPH_ALLOW_GEOMETRY_ARRAY_READ = 12;
static final int MORPH_ALLOW_GEOMETRY_ARRAY_WRITE = 13;
static final int MORPH_ALLOW_APPEARANCE_READ = 14;
static final int MORPH_ALLOW_APPEARANCE_WRITE = 15;
static final int MORPH_ALLOW_WEIGHTS_READ = 16;
static final int MORPH_ALLOW_WEIGHTS_WRITE = 17;
static final int MORPH_ALLOW_COLLISION_BOUNDS_READ = 18;
static final int MORPH_ALLOW_COLLISION_BOUNDS_WRITE = 19;
static final int MORPH_ALLOW_APPEARANCE_OVERRIDE_READ = 20;
static final int MORPH_ALLOW_APPEARANCE_OVERRIDE_WRITE = 21;
// Link extends Leaf
static final int LINK_ALLOW_SHARED_GROUP_READ = 12;
static final int LINK_ALLOW_SHARED_GROUP_WRITE = 13;
// Shape3D extends Leaf
static final int SHAPE3D_ALLOW_GEOMETRY_READ = 12;
static final int SHAPE3D_ALLOW_GEOMETRY_WRITE = 13;
static final int SHAPE3D_ALLOW_APPEARANCE_READ = 14;
static final int SHAPE3D_ALLOW_APPEARANCE_WRITE = 15;
static final int SHAPE3D_ALLOW_COLLISION_BOUNDS_READ = 16;
static final int SHAPE3D_ALLOW_COLLISION_BOUNDS_WRITE = 17;
static final int SHAPE3D_ALLOW_APPEARANCE_OVERRIDE_READ = 18;
static final int SHAPE3D_ALLOW_APPEARANCE_OVERRIDE_WRITE = 19;
// OrientedShape3D extends Shape3D
static final int ORIENTED_SHAPE3D_ALLOW_MODE_READ = 20;
static final int ORIENTED_SHAPE3D_ALLOW_MODE_WRITE = 21;
static final int ORIENTED_SHAPE3D_ALLOW_AXIS_READ = 22;
static final int ORIENTED_SHAPE3D_ALLOW_AXIS_WRITE = 23;
static final int ORIENTED_SHAPE3D_ALLOW_POINT_READ = 24;
static final int ORIENTED_SHAPE3D_ALLOW_POINT_WRITE = 25;
static final int ORIENTED_SHAPE3D_ALLOW_SCALE_READ = 26;
static final int ORIENTED_SHAPE3D_ALLOW_SCALE_WRITE = 27;
// Soundscape extends Leaf
static final int SOUNDSCAPE_ALLOW_APPLICATION_BOUNDS_READ = 12;
static final int SOUNDSCAPE_ALLOW_APPLICATION_BOUNDS_WRITE = 13;
static final int SOUNDSCAPE_ALLOW_ATTRIBUTES_READ = 14;
static final int SOUNDSCAPE_ALLOW_ATTRIBUTES_WRITE = 15;
// ViewPlatform extends Leaf
static final int VIEW_PLATFORM_ALLOW_POLICY_READ = 12;
static final int VIEW_PLATFORM_ALLOW_POLICY_WRITE = 13;
// Fog extends Leaf
static final int FOG_ALLOW_INFLUENCING_BOUNDS_READ = 12;
static final int FOG_ALLOW_INFLUENCING_BOUNDS_WRITE = 13;
static final int FOG_ALLOW_COLOR_READ = 14;
static final int FOG_ALLOW_COLOR_WRITE = 15;
// ExponentialFog extends Fog
static final int EXPONENTIAL_FOG_ALLOW_DENSITY_READ = 16;
static final int EXPONENTIAL_FOG_ALLOW_DENSITY_WRITE = 17;
// LinearFog extends Fog
static final int LINEAR_FOG_ALLOW_DISTANCE_READ = 16;
static final int LINEAR_FOG_ALLOW_DISTANCE_WRITE = 17;
// Additional Fog bits (must go after LinearFog bits)
static final int FOG_ALLOW_SCOPE_READ = 18;
static final int FOG_ALLOW_SCOPE_WRITE = 19;
// Light extends Leaf
static final int LIGHT_ALLOW_STATE_READ = 12;
static final int LIGHT_ALLOW_STATE_WRITE = 13;
static final int LIGHT_ALLOW_COLOR_READ = 14;
static final int LIGHT_ALLOW_COLOR_WRITE = 15;
static final int LIGHT_ALLOW_INFLUENCING_BOUNDS_READ = 16;
static final int LIGHT_ALLOW_INFLUENCING_BOUNDS_WRITE = 17;
// DirectionalLight extends Light
static final int DIRECTIONAL_LIGHT_ALLOW_DIRECTION_READ = 18;
static final int DIRECTIONAL_LIGHT_ALLOW_DIRECTION_WRITE = 19;
// PointLight extends Light
static final int POINT_LIGHT_ALLOW_POSITION_READ = 18;
static final int POINT_LIGHT_ALLOW_POSITION_WRITE = 19;
static final int POINT_LIGHT_ALLOW_ATTENUATION_READ = 20;
static final int POINT_LIGHT_ALLOW_ATTENUATION_WRITE = 21;
// SpotLight extends PointLight
static final int SPOT_LIGHT_ALLOW_SPREAD_ANGLE_WRITE = 22;
static final int SPOT_LIGHT_ALLOW_SPREAD_ANGLE_READ = 23;
static final int SPOT_LIGHT_ALLOW_CONCENTRATION_WRITE = 24;
static final int SPOT_LIGHT_ALLOW_CONCENTRATION_READ = 25;
static final int SPOT_LIGHT_ALLOW_DIRECTION_WRITE = 26;
static final int SPOT_LIGHT_ALLOW_DIRECTION_READ = 27;
// Additional Light bits (must go after SpotLight bits)
static final int LIGHT_ALLOW_SCOPE_READ = 28;
static final int LIGHT_ALLOW_SCOPE_WRITE = 29;
// Sound extends Leaf
static final int SOUND_ALLOW_SOUND_DATA_READ = 12;
static final int SOUND_ALLOW_SOUND_DATA_WRITE = 13;
static final int SOUND_ALLOW_INITIAL_GAIN_READ = 14;
static final int SOUND_ALLOW_INITIAL_GAIN_WRITE = 15;
static final int SOUND_ALLOW_LOOP_READ = 16;
static final int SOUND_ALLOW_LOOP_WRITE = 17;
static final int SOUND_ALLOW_RELEASE_READ = 18;
static final int SOUND_ALLOW_RELEASE_WRITE = 19;
static final int SOUND_ALLOW_CONT_PLAY_READ = 20;
static final int SOUND_ALLOW_CONT_PLAY_WRITE = 21;
static final int SOUND_ALLOW_ENABLE_READ = 22;
static final int SOUND_ALLOW_ENABLE_WRITE = 23;
static final int SOUND_ALLOW_SCHEDULING_BOUNDS_READ = 24;
static final int SOUND_ALLOW_SCHEDULING_BOUNDS_WRITE = 25;
static final int SOUND_ALLOW_PRIORITY_READ = 26;
static final int SOUND_ALLOW_PRIORITY_WRITE = 27;
static final int SOUND_ALLOW_DURATION_READ = 28;
static final int SOUND_ALLOW_IS_READY_READ = 29;
static final int SOUND_ALLOW_IS_PLAYING_READ = 30;
static final int SOUND_ALLOW_CHANNELS_USED_READ = 31;
static final int SOUND_ALLOW_MUTE_READ = 40;
static final int SOUND_ALLOW_MUTE_WRITE = 41;
static final int SOUND_ALLOW_PAUSE_READ = 42;
static final int SOUND_ALLOW_PAUSE_WRITE = 43;
static final int SOUND_ALLOW_RATE_SCALE_FACTOR_READ = 44;
static final int SOUND_ALLOW_RATE_SCALE_FACTOR_WRITE = 45;
// PointSound extends Sound
static final int POINT_SOUND_ALLOW_POSITION_READ = 32;
static final int POINT_SOUND_ALLOW_POSITION_WRITE = 33;
static final int POINT_SOUND_ALLOW_DISTANCE_GAIN_READ = 34;
static final int POINT_SOUND_ALLOW_DISTANCE_GAIN_WRITE = 35;
// ConeSound extends PointSound
static final int CONE_SOUND_ALLOW_DIRECTION_READ = 36;
static final int CONE_SOUND_ALLOW_DIRECTION_WRITE = 37;
static final int CONE_SOUND_ALLOW_ANGULAR_ATTENUATION_READ = 38;
static final int CONE_SOUND_ALLOW_ANGULAR_ATTENUATION_WRITE = 39;
// ModelClip extends Leaf
static final int MODEL_CLIP_ALLOW_INFLUENCING_BOUNDS_READ = 12;
static final int MODEL_CLIP_ALLOW_INFLUENCING_BOUNDS_WRITE = 13;
static final int MODEL_CLIP_ALLOW_PLANE_READ = 14;
static final int MODEL_CLIP_ALLOW_PLANE_WRITE = 15;
static final int MODEL_CLIP_ALLOW_ENABLE_READ = 16;
static final int MODEL_CLIP_ALLOW_ENABLE_WRITE = 17;
static final int MODEL_CLIP_ALLOW_SCOPE_READ = 18;
static final int MODEL_CLIP_ALLOW_SCOPE_WRITE = 19;
// AlternateAppearance extends Leaf
static final int ALTERNATE_APPEARANCE_ALLOW_INFLUENCING_BOUNDS_READ = 12;
static final int ALTERNATE_APPEARANCE_ALLOW_INFLUENCING_BOUNDS_WRITE = 13;
static final int ALTERNATE_APPEARANCE_ALLOW_APPEARANCE_READ = 14;
static final int ALTERNATE_APPEARANCE_ALLOW_APPEARANCE_WRITE = 15;
static final int ALTERNATE_APPEARANCE_ALLOW_SCOPE_READ = 16;
static final int ALTERNATE_APPEARANCE_ALLOW_SCOPE_WRITE = 17;
// Additional Node bits (must go after all existing Node subclass bits)
static final int NODE_ALLOW_PARENT_READ = 46;
static final int NODE_ALLOW_LOCALE_READ = 47;
// NodeComponent extends SceneGraphObject
// Appearance extends NodeComponent
static final int APPEARANCE_ALLOW_MATERIAL_READ = 0;
static final int APPEARANCE_ALLOW_MATERIAL_WRITE = 1;
static final int APPEARANCE_ALLOW_TEXTURE_READ = 2;
static final int APPEARANCE_ALLOW_TEXTURE_WRITE = 3;
static final int APPEARANCE_ALLOW_TEXGEN_READ = 4;
static final int APPEARANCE_ALLOW_TEXGEN_WRITE = 5;
static final int APPEARANCE_ALLOW_TEXTURE_ATTRIBUTES_READ = 6;
static final int APPEARANCE_ALLOW_TEXTURE_ATTRIBUTES_WRITE = 7;
static final int APPEARANCE_ALLOW_COLORING_ATTRIBUTES_READ = 8;
static final int APPEARANCE_ALLOW_COLORING_ATTRIBUTES_WRITE = 9;
static final int APPEARANCE_ALLOW_TRANSPARENCY_ATTRIBUTES_READ = 10;
static final int APPEARANCE_ALLOW_TRANSPARENCY_ATTRIBUTES_WRITE = 11;
static final int APPEARANCE_ALLOW_RENDERING_ATTRIBUTES_READ = 12;
static final int APPEARANCE_ALLOW_RENDERING_ATTRIBUTES_WRITE = 13;
static final int APPEARANCE_ALLOW_POLYGON_ATTRIBUTES_READ = 14;
static final int APPEARANCE_ALLOW_POLYGON_ATTRIBUTES_WRITE = 15;
static final int APPEARANCE_ALLOW_LINE_ATTRIBUTES_READ = 16;
static final int APPEARANCE_ALLOW_LINE_ATTRIBUTES_WRITE = 17;
static final int APPEARANCE_ALLOW_POINT_ATTRIBUTES_READ = 18;
static final int APPEARANCE_ALLOW_POINT_ATTRIBUTES_WRITE = 19;
static final int APPEARANCE_ALLOW_TEXTURE_UNIT_STATE_READ = 20;
static final int APPEARANCE_ALLOW_TEXTURE_UNIT_STATE_WRITE = 21;
// ShaderAppearance extends Appearance
static final int SHADER_APPEARANCE_ALLOW_SHADER_PROGRAM_READ = 22;
static final int SHADER_APPEARANCE_ALLOW_SHADER_PROGRAM_WRITE = 23;
static final int SHADER_APPEARANCE_ALLOW_SHADER_ATTRIBUTE_SET_READ = 24;
static final int SHADER_APPEARANCE_ALLOW_SHADER_ATTRIBUTE_SET_WRITE = 25;
// AuralAttributes extends NodeComponent
static final int AURAL_ATTRIBUTES_ALLOW_ATTRIBUTE_GAIN_READ = 0;
static final int AURAL_ATTRIBUTES_ALLOW_ATTRIBUTE_GAIN_WRITE = 1;
static final int AURAL_ATTRIBUTES_ALLOW_ROLLOFF_READ = 2;
static final int AURAL_ATTRIBUTES_ALLOW_ROLLOFF_WRITE = 3;
static final int AURAL_ATTRIBUTES_ALLOW_REFLECTION_COEFFICIENT_READ = 4;
static final int AURAL_ATTRIBUTES_ALLOW_REFLECTION_COEFFICIENT_WRITE = 5;
static final int AURAL_ATTRIBUTES_ALLOW_REVERB_DELAY_READ = 6;
static final int AURAL_ATTRIBUTES_ALLOW_REVERB_DELAY_WRITE = 7;
static final int AURAL_ATTRIBUTES_ALLOW_REVERB_ORDER_READ = 8;
static final int AURAL_ATTRIBUTES_ALLOW_REVERB_ORDER_WRITE = 9;
static final int AURAL_ATTRIBUTES_ALLOW_DISTANCE_FILTER_READ = 10;
static final int AURAL_ATTRIBUTES_ALLOW_DISTANCE_FILTER_WRITE = 11;
static final int AURAL_ATTRIBUTES_ALLOW_FREQUENCY_SCALE_FACTOR_READ = 12;
static final int AURAL_ATTRIBUTES_ALLOW_FREQUENCY_SCALE_FACTOR_WRITE = 13;
static final int AURAL_ATTRIBUTES_ALLOW_VELOCITY_SCALE_FACTOR_READ = 14;
static final int AURAL_ATTRIBUTES_ALLOW_VELOCITY_SCALE_FACTOR_WRITE = 15;
static final int AURAL_ATTRIBUTES_ALLOW_REFLECTION_DELAY_READ = 16;
static final int AURAL_ATTRIBUTES_ALLOW_REFLECTION_DELAY_WRITE = 17;
static final int AURAL_ATTRIBUTES_ALLOW_REVERB_COEFFICIENT_READ = 18;
static final int AURAL_ATTRIBUTES_ALLOW_REVERB_COEFFICIENT_WRITE = 19;
static final int AURAL_ATTRIBUTES_ALLOW_DECAY_TIME_READ = 20;
static final int AURAL_ATTRIBUTES_ALLOW_DECAY_TIME_WRITE = 21;
static final int AURAL_ATTRIBUTES_ALLOW_DECAY_FILTER_READ = 22;
static final int AURAL_ATTRIBUTES_ALLOW_DECAY_FILTER_WRITE = 23;
static final int AURAL_ATTRIBUTES_ALLOW_DIFFUSION_READ = 24;
static final int AURAL_ATTRIBUTES_ALLOW_DIFFUSION_WRITE = 25;
static final int AURAL_ATTRIBUTES_ALLOW_DENSITY_READ = 26;
static final int AURAL_ATTRIBUTES_ALLOW_DENSITY_WRITE = 27;
// ColoringAttributes extends NodeComponent
static final int COLORING_ATTRIBUTES_ALLOW_COLOR_READ = 0;
static final int COLORING_ATTRIBUTES_ALLOW_COLOR_WRITE = 1;
static final int COLORING_ATTRIBUTES_ALLOW_SHADE_MODEL_READ = 2;
static final int COLORING_ATTRIBUTES_ALLOW_SHADE_MODEL_WRITE = 3;
// DepthComponent extends NodeComponent
static final int DEPTH_COMPONENT_ALLOW_SIZE_READ = 0;
static final int DEPTH_COMPONENT_ALLOW_DATA_READ = 1;
// ImageComponent extends NodeComponent
static final int IMAGE_COMPONENT_ALLOW_SIZE_READ = 0;
static final int IMAGE_COMPONENT_ALLOW_FORMAT_READ = 1;
static final int IMAGE_COMPONENT_ALLOW_IMAGE_READ = 2;
static final int IMAGE_COMPONENT_ALLOW_IMAGE_WRITE = 3;
// LineAttributes extends NodeComponent
static final int LINE_ATTRIBUTES_ALLOW_WIDTH_READ = 0;
static final int LINE_ATTRIBUTES_ALLOW_WIDTH_WRITE = 1;
static final int LINE_ATTRIBUTES_ALLOW_PATTERN_READ = 2;
static final int LINE_ATTRIBUTES_ALLOW_PATTERN_WRITE = 3;
static final int LINE_ATTRIBUTES_ALLOW_ANTIALIASING_READ = 4;
static final int LINE_ATTRIBUTES_ALLOW_ANTIALIASING_WRITE = 5;
// Material extends NodeComponent
static final int MATERIAL_ALLOW_COMPONENT_READ = 0;
static final int MATERIAL_ALLOW_COMPONENT_WRITE = 1;
// MediaContainer extends NodeComponent
static final int MEDIA_CONTAINER_ALLOW_CACHE_READ = 0;
static final int MEDIA_CONTAINER_ALLOW_CACHE_WRITE = 1;
static final int MEDIA_CONTAINER_ALLOW_URL_READ = 2;
static final int MEDIA_CONTAINER_ALLOW_URL_WRITE = 3;
// PointAttributes extends NodeComponent
static final int POINT_ATTRIBUTES_ALLOW_SIZE_READ = 0;
static final int POINT_ATTRIBUTES_ALLOW_SIZE_WRITE = 1;
static final int POINT_ATTRIBUTES_ALLOW_ANTIALIASING_READ = 2;
static final int POINT_ATTRIBUTES_ALLOW_ANTIALIASING_WRITE = 3;
// PolygonAttributes extends NodeComponent
static final int POLYGON_ATTRIBUTES_ALLOW_CULL_FACE_READ = 0;
static final int POLYGON_ATTRIBUTES_ALLOW_CULL_FACE_WRITE = 1;
static final int POLYGON_ATTRIBUTES_ALLOW_MODE_READ = 2;
static final int POLYGON_ATTRIBUTES_ALLOW_MODE_WRITE = 3;
static final int POLYGON_ATTRIBUTES_ALLOW_OFFSET_READ = 4;
static final int POLYGON_ATTRIBUTES_ALLOW_OFFSET_WRITE = 5;
static final int POLYGON_ATTRIBUTES_ALLOW_NORMAL_FLIP_READ = 6;
static final int POLYGON_ATTRIBUTES_ALLOW_NORMAL_FLIP_WRITE = 7;
// RenderingAttributes extends NodeComponent
static final int RENDERING_ATTRIBUTES_ALLOW_ALPHA_TEST_VALUE_READ = 0;
static final int RENDERING_ATTRIBUTES_ALLOW_ALPHA_TEST_VALUE_WRITE = 1;
static final int RENDERING_ATTRIBUTES_ALLOW_ALPHA_TEST_FUNCTION_READ = 2;
static final int RENDERING_ATTRIBUTES_ALLOW_ALPHA_TEST_FUNCTION_WRITE = 3;
static final int RENDERING_ATTRIBUTES_ALLOW_DEPTH_ENABLE_READ = 4;
static final int RENDERING_ATTRIBUTES_ALLOW_VISIBLE_READ = 5;
static final int RENDERING_ATTRIBUTES_ALLOW_VISIBLE_WRITE = 6;
static final int RENDERING_ATTRIBUTES_ALLOW_RASTER_OP_READ = 7;
static final int RENDERING_ATTRIBUTES_ALLOW_RASTER_OP_WRITE = 8;
static final int
RENDERING_ATTRIBUTES_ALLOW_IGNORE_VERTEX_COLORS_READ = 9;
static final int
RENDERING_ATTRIBUTES_ALLOW_IGNORE_VERTEX_COLORS_WRITE = 10;
static final int RENDERING_ATTRIBUTES_ALLOW_DEPTH_ENABLE_WRITE = 11;
static final int RENDERING_ATTRIBUTES_ALLOW_DEPTH_TEST_FUNCTION_READ = 12;
static final int RENDERING_ATTRIBUTES_ALLOW_DEPTH_TEST_FUNCTION_WRITE = 13;
static final int RENDERING_ATTRIBUTES_ALLOW_STENCIL_ATTRIBUTES_READ = 14;
static final int RENDERING_ATTRIBUTES_ALLOW_STENCIL_ATTRIBUTES_WRITE = 15;
// TexCoordGeneration extends NodeComponent
static final int TEX_COORD_GENERATION_ALLOW_ENABLE_READ = 0;
static final int TEX_COORD_GENERATION_ALLOW_ENABLE_WRITE = 1;
static final int TEX_COORD_GENERATION_ALLOW_FORMAT_READ = 2;
static final int TEX_COORD_GENERATION_ALLOW_MODE_READ = 3;
static final int TEX_COORD_GENERATION_ALLOW_PLANE_READ = 4;
static final int TEX_COORD_GENERATION_ALLOW_PLANE_WRITE = 5;
// Texture extends NodeComponent
static final int TEXTURE_ALLOW_ENABLE_READ = 0;
static final int TEXTURE_ALLOW_ENABLE_WRITE = 1;
static final int TEXTURE_ALLOW_BOUNDARY_MODE_READ = 2;
static final int TEXTURE_ALLOW_FILTER_READ = 3;
static final int TEXTURE_ALLOW_IMAGE_READ = 4;
static final int TEXTURE_ALLOW_MIPMAP_MODE_READ = 5;
static final int TEXTURE_ALLOW_BOUNDARY_COLOR_READ = 6;
static final int TEXTURE_ALLOW_IMAGE_WRITE = 7;
static final int TEXTURE_ALLOW_SIZE_READ = 8;
static final int TEXTURE_ALLOW_FORMAT_READ = 9;
static final int TEXTURE_ALLOW_LOD_RANGE_READ = 10;
static final int TEXTURE_ALLOW_LOD_RANGE_WRITE = 11;
static final int TEXTURE_ALLOW_ANISOTROPIC_FILTER_READ = 12;
static final int TEXTURE_ALLOW_SHARPEN_TEXTURE_READ = 13;
static final int TEXTURE_ALLOW_FILTER4_READ = 14;
// Texture2D extends Texture
static final int TEXTURE2D_ALLOW_DETAIL_TEXTURE_READ = 15;
// TextureAttributes extends NodeComponent
static final int TEXTURE_ATTRIBUTES_ALLOW_MODE_READ = 0;
static final int TEXTURE_ATTRIBUTES_ALLOW_MODE_WRITE = 1;
static final int TEXTURE_ATTRIBUTES_ALLOW_BLEND_COLOR_READ = 2;
static final int TEXTURE_ATTRIBUTES_ALLOW_BLEND_COLOR_WRITE = 3;
static final int TEXTURE_ATTRIBUTES_ALLOW_TRANSFORM_READ = 4;
static final int TEXTURE_ATTRIBUTES_ALLOW_TRANSFORM_WRITE = 5;
static final int TEXTURE_ATTRIBUTES_ALLOW_COLOR_TABLE_READ = 6;
static final int TEXTURE_ATTRIBUTES_ALLOW_COLOR_TABLE_WRITE = 7;
static final int TEXTURE_ATTRIBUTES_ALLOW_COMBINE_READ = 8;
static final int TEXTURE_ATTRIBUTES_ALLOW_COMBINE_WRITE = 9;
// TransparencyAttributes extends NodeComponent
static final int TRANSPARENCY_ATTRIBUTES_ALLOW_MODE_READ = 0;
static final int TRANSPARENCY_ATTRIBUTES_ALLOW_MODE_WRITE = 1;
static final int TRANSPARENCY_ATTRIBUTES_ALLOW_VALUE_READ = 2;
static final int TRANSPARENCY_ATTRIBUTES_ALLOW_VALUE_WRITE = 3;
static final int TRANSPARENCY_ATTRIBUTES_ALLOW_BLEND_FUNCTION_READ = 4;
static final int TRANSPARENCY_ATTRIBUTES_ALLOW_BLEND_FUNCTION_WRITE = 5;
// TextureUnitState extends NodeComponent
static final int TEXTURE_UNIT_STATE_ALLOW_STATE_READ = 0;
static final int TEXTURE_UNIT_STATE_ALLOW_STATE_WRITE = 1;
// ShaderProgram extends NodeComponent
static final int SHADER_PROGRAM_ALLOW_SHADERS_READ = 0;
static final int SHADER_PROGRAM_ALLOW_NAMES_READ = 1;
// ShaderAttributeSet extends NodeComponent
static final int SHADER_ATTRIBUTE_SET_ALLOW_ATTRIBUTES_READ = 0;
static final int SHADER_ATTRIBUTE_SET_ALLOW_ATTRIBUTES_WRITE = 1;
// ShaderAttribute extends NodeComponent
// ShaderAttributeObject extends ShaderAttribute
static final int SHADER_ATTRIBUTE_OBJECT_ALLOW_VALUE_READ = 0;
static final int SHADER_ATTRIBUTE_OBJECT_ALLOW_VALUE_WRITE = 1;
// Geometry extends NodeComponent
// NOTE: additional bits are below the subclasses
// GeometryArray extends Geometry
static final int GEOMETRY_ARRAY_ALLOW_COORDINATE_READ = 0;
static final int GEOMETRY_ARRAY_ALLOW_COORDINATE_WRITE = 1;
static final int GEOMETRY_ARRAY_ALLOW_COLOR_READ = 2;
static final int GEOMETRY_ARRAY_ALLOW_COLOR_WRITE = 3;
static final int GEOMETRY_ARRAY_ALLOW_NORMAL_READ = 4;
static final int GEOMETRY_ARRAY_ALLOW_NORMAL_WRITE = 5;
static final int GEOMETRY_ARRAY_ALLOW_TEXCOORD_READ = 6;
static final int GEOMETRY_ARRAY_ALLOW_TEXCOORD_WRITE = 7;
static final int GEOMETRY_ARRAY_ALLOW_COUNT_READ = 8;
// IndexedGeometryArray extends GeometryArray
static final int INDEXED_GEOMETRY_ARRAY_ALLOW_COORDINATE_INDEX_READ = 9;
static final int INDEXED_GEOMETRY_ARRAY_ALLOW_COORDINATE_INDEX_WRITE= 10;
static final int INDEXED_GEOMETRY_ARRAY_ALLOW_COLOR_INDEX_READ = 11;
static final int INDEXED_GEOMETRY_ARRAY_ALLOW_COLOR_INDEX_WRITE = 12;
static final int INDEXED_GEOMETRY_ARRAY_ALLOW_NORMAL_INDEX_READ = 13;
static final int INDEXED_GEOMETRY_ARRAY_ALLOW_NORMAL_INDEX_WRITE = 14;
static final int INDEXED_GEOMETRY_ARRAY_ALLOW_TEXCOORD_INDEX_READ = 15;
static final int INDEXED_GEOMETRY_ARRAY_ALLOW_TEXCOORD_INDEX_WRITE = 16;
// Additional GeometryArray bits (must go after IndexedGeometryArray bits)
static final int GEOMETRY_ARRAY_ALLOW_FORMAT_READ = 17;
static final int J3D_1_2_GEOMETRY_ARRAY_ALLOW_REF_DATA_READ = 18;
static final int GEOMETRY_ARRAY_ALLOW_REF_DATA_WRITE = 19;
static final int GEOMETRY_ARRAY_ALLOW_COUNT_WRITE = 20;
static final int GEOMETRY_ARRAY_ALLOW_REF_DATA_READ = 21;
static final int GEOMETRY_ARRAY_ALLOW_VERTEX_ATTR_READ = 22;
static final int GEOMETRY_ARRAY_ALLOW_VERTEX_ATTR_WRITE = 23;
// Additional GeometryArray bits (must go after IndexedGeometryArray bits)
static final int INDEXED_GEOMETRY_ARRAY_ALLOW_VERTEX_ATTR_INDEX_READ = 24;
static final int INDEXED_GEOMETRY_ARRAY_ALLOW_VERTEX_ATTR_INDEX_WRITE = 25;
// CompressedGeometry extends Geometry
static final int COMPRESSED_GEOMETRY_ALLOW_COUNT_READ = 0;
static final int COMPRESSED_GEOMETRY_ALLOW_HEADER_READ = 1;
static final int COMPRESSED_GEOMETRY_ALLOW_GEOMETRY_READ = 2;
static final int COMPRESSED_GEOMETRY_ALLOW_REF_DATA_READ = 3;
// Raster extends Geometry
static final int RASTER_ALLOW_POSITION_READ = 0;
static final int RASTER_ALLOW_POSITION_WRITE = 1;
static final int RASTER_ALLOW_OFFSET_READ = 2;
static final int RASTER_ALLOW_OFFSET_WRITE = 3;
static final int RASTER_ALLOW_IMAGE_READ = 4;
static final int RASTER_ALLOW_IMAGE_WRITE = 5;
static final int RASTER_ALLOW_DEPTH_COMPONENT_READ = 6;
static final int RASTER_ALLOW_DEPTH_COMPONENT_WRITE = 7;
static final int RASTER_ALLOW_SIZE_READ = 8;
static final int RASTER_ALLOW_SIZE_WRITE = 9;
static final int RASTER_ALLOW_TYPE_READ = 10;
static final int RASTER_ALLOW_CLIP_MODE_READ = 11;
static final int RASTER_ALLOW_CLIP_MODE_WRITE = 12;
// Text3D extends Geometry
static final int TEXT3D_ALLOW_FONT3D_READ = 0;
static final int TEXT3D_ALLOW_FONT3D_WRITE = 1;
static final int TEXT3D_ALLOW_STRING_READ = 2;
static final int TEXT3D_ALLOW_STRING_WRITE = 3;
static final int TEXT3D_ALLOW_POSITION_READ = 4;
static final int TEXT3D_ALLOW_POSITION_WRITE = 5;
static final int TEXT3D_ALLOW_ALIGNMENT_READ = 6;
static final int TEXT3D_ALLOW_ALIGNMENT_WRITE = 7;
static final int TEXT3D_ALLOW_PATH_READ = 8;
static final int TEXT3D_ALLOW_PATH_WRITE = 9;
static final int TEXT3D_ALLOW_CHARACTER_SPACING_READ = 10;
static final int TEXT3D_ALLOW_CHARACTER_SPACING_WRITE = 11;
static final int TEXT3D_ALLOW_BOUNDING_BOX_READ = 12;
// Additional geometry bits (must go after GeometryArray bits)
// NOTE: ALLOW_INTERSECT was duplicated by the old value of
// ALLOW_REF_DATA_READ in Java 3D 1.2.
static final int GEOMETRY_ALLOW_INTERSECT = 18;
// NOTE: any further additional Geometry bits must come after the
// last GeometryArray bit
}
|