fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / System / State / OpenGL / OSGLineChunk.fcd
blob6548e7625df8c64cb29873d4c5dd5212c4485dc8
1 <?xml version="1.0"?>
3 <FieldContainer
4 name="LineChunk"
5 parent="StateChunk"
6 library="State"
7 pointerfieldtypes="both"
8 structure="concrete"
9 systemcomponent="true"
10 parentsystemcomponent="true"
11 docGroupBase="GrpStateOpenGL"
13 See \ref PageSystemLineChunk for a description.
15 The line chunk contains the parameters that are specific to lines.
17 The parameters of the following functions are wrapped here: glLineWidth
18 (OSG::LineChunk::_sfWidth), glLineStipple (OSG::LineChunk::_sfStippleRepeat,
19 OSG::LineChunk::_sfStipplePattern), glEnable(GL_LINE_SMOOTH)
20 (OSG::LineChunk::_sfSmooth).
21 <Field
22 name="width"
23 type="Real32"
24 cardinality="single"
25 visibility="external"
26 defaultValue="1"
27 access="public"
29 The line's width, in pixels.
30 </Field>
31 <Field
32 name="stippleRepeat"
33 type="Int32"
34 cardinality="single"
35 visibility="external"
36 defaultValue="1"
37 access="public"
39 Repetition factor for stippling.
40 </Field>
41 <Field
42 name="stipplePattern"
43 type="UInt16"
44 cardinality="single"
45 visibility="external"
46 defaultValue="0xffff"
47 access="public"
49 Defines the stipple pattern. 1 bits are drawn, 0 bits are ignored,
50 starting with the most significant bit.
51 </Field>
52 <Field
53 name="smooth"
54 type="bool"
55 cardinality="single"
56 visibility="external"
57 defaultValue="GL_FALSE"
58 defaultHeader="&quot;OSGGL.h&quot;"
59 access="public"
61 Defines if line antialiasing is used.
62 </Field>
63 </FieldContainer>