changed: gcc8 base update
[opensg.git] / Source / System / Window / Background / OSGTextureGrabBackground.fcd
blob509237b57d81812c3f6d7a6c1b8bb8aedc94fd0a
1 <?xml version="1.0"?>
3 <FieldContainer
4 name="TextureGrabBackground"
5 parent="SolidBackground"
6 library="Window"
7 pointerfieldtypes="none"
8 structure="concrete"
9 systemcomponent="true"
10 parentsystemcomponent="true"
11 decoratable="false"
12 docGroupBase="GrpWindowBackground"
14 A background that grabs what's underneath it into a texture before it clears
15 the viewport to a constant color.
17 The color of the background is given by the _sfColor field, the texture to
18 grab into by the _sfTexture field.
19 <Field
20 name="texture"
21 type="TextureObjChunkPtr"
22 cardinality="single"
23 visibility="external"
24 access="public"
26 The texture to grab into.
27 </Field>
28 <Field
29 name="autoResize"
30 type="bool"
31 cardinality="single"
32 visibility="external"
33 defaultValue="true"
34 access="public"
36 Automatically resize the texture when the viewport size changes.
37 </Field>
38 <Field
39 name="bindTarget"
40 type="GLenum"
41 cardinality="single"
42 visibility="external"
43 defaultValue="GL_NONE"
44 access="public"
46 Enum to use for glBindTexture, if GL_NONE chosen from texture dimensionality.
47 </Field>
48 <Field
49 name="copyTarget"
50 type="GLenum"
51 cardinality="single"
52 visibility="external"
53 defaultValue="GL_NONE"
54 access="public"
56 Enum to use for glCopyTexture, if GL_NONE chosen from texture dimensionality.
57 Mainly useful to grab into the different parts of a CubeTexture.
58 </Field>
59 </FieldContainer>