fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / System / State / Shader / Chunks / OSGShaderProgramChunk.fcd
blobed2d304ea139bb13189c863f2b83ed306d286e39
1 <?xml version="1.0"?>
3 <FieldContainer
4 name="ShaderProgramChunk"
5 parent="StateChunk"
6 library="System"
7 pointerfieldtypes="both"
8 structure="concrete"
9 systemcomponent="true"
10 parentsystemcomponent="true"
11 decoratable="false"
12 useLocalIncludes="false"
13 docGroupBase="GrpSystemShader"
15 <Field
16 name="vertexShader"
17 type="ShaderProgram"
18 cardinality="multi"
19 visibility="external"
20 access="public"
21 category="pointer"
23 pushToFieldAs="addVertexShader"
24 removeFromMFieldIndexAs="subVertexShader"
25 clearFieldAs="clearVertexShaders"
27 fragment program object
28 </Field>
29 <Field
30 name="tessControlShader"
31 type="ShaderProgram"
32 cardinality="multi"
33 visibility="external"
34 access="public"
35 category="pointer"
37 pushToFieldAs="addTessControlShader"
38 removeFromMFieldIndexAs="subTessControlShader"
39 clearFieldAs="clearTessControlShaders"
41 fragment program object
42 </Field>
43 <Field
44 name="tessEvaluationShader"
45 type="ShaderProgram"
46 cardinality="multi"
47 visibility="external"
48 access="public"
49 category="pointer"
51 pushToFieldAs="addTessEvaluationShader"
52 removeFromMFieldIndexAs="subTessEvaluationShader"
53 clearFieldAs="clearTessEvaluationShaders"
55 fragment program object
56 </Field>
57 <Field
58 name="geometryShader"
59 type="ShaderProgram"
60 cardinality="multi"
61 visibility="external"
62 access="public"
63 category="pointer"
65 pushToFieldAs="addGeometryShader"
66 removeFromMFieldIndexAs="subGeometryShader"
67 clearFieldAs="clearGeometryShaders"
69 fragment program object
70 </Field>
71 <Field
72 name="fragmentShader"
73 type="ShaderProgram"
74 cardinality="multi"
75 visibility="external"
76 access="public"
77 category="pointer"
79 pushToFieldAs="addFragmentShader"
80 removeFromMFieldIndexAs="subFragmentShader"
81 clearFieldAs="clearFragmentShaders"
83 fragment program object
84 </Field>
86 <Field
87 name="geometryVerticesOut"
88 type="UInt32"
89 cardinality="single"
90 visibility="external"
91 defaultValue="0"
93 </Field>
94 <Field
95 name="geometryInputType"
96 type="GLenum"
97 cardinality="single"
98 visibility="external"
99 defaultValue="GL_TRIANGLES"
100 defaultHeader="&quot;OSGGL.h&quot;"
102 </Field>
103 <Field
104 name="geometryOutputType"
105 type="GLenum"
106 cardinality="single"
107 visibility="external"
108 defaultValue="GL_TRIANGLE_STRIP"
109 defaultHeader="&quot;OSGGL.h&quot;"
111 </Field>
113 </FieldContainer>