changed: gcc8 base update
[opensg.git] / Source / System / State / OpenGL / OSGLightModelChunk.fcd
blob1975e8f3e24ae7c620e5321301e870b243c6afec
1 <?xml version="1.0"?>
3 <FieldContainer
4 name="LightModelChunk"
5 parent="StateChunk"
6 library="State"
7 pointerfieldtypes="both"
8 structure="concrete"
9 systemcomponent="true"
10 parentsystemcomponent="true"
11 decoratable="false"
12 useLocalIncludes="false"
13 docGroupBase="GrpStateOpenGL"
15 The LightModelChunk wraps most of glLightModel. It does not wrap
16 GL_LIGHT_MODEL_TWO_SIDE, which is wrapped by TwoSidedLightingChunk.
17 <Field
18 name="ambient"
19 type="Color4f"
20 cardinality="single"
21 visibility="external"
22 defaultValue="0.2f, 0.2f, 0.2f, 1.0f"
23 access="public"
25 GL_LIGHT_MODEL_AMBIENT is set to this color.
26 </Field>
27 <Field
28 name="colorControl"
29 type="GLenum"
30 cardinality="single"
31 visibility="external"
32 defaultValue="GL_SINGLE_COLOR"
33 defaultHeader="&quot;OSGGLEXT.h&quot;"
34 access="public"
36 GL_LIGHT_MODEL_COLOR_CONTROL is set to this value. Legal values are
37 directly taken from the glLightModel() manpage.
38 </Field>
39 <Field
40 name="localViewer"
41 type="bool"
42 cardinality="single"
43 visibility="external"
44 defaultValue="false"
45 access="public"
47 GL_LIGHT_MODEL_LOCAL_VIEWER is activated by this bool.
48 </Field>
49 </FieldContainer>