changed: gcc8 base update
[opensg.git] / Source / System / Window / Foreground / OSGTextureGrabForeground.fcd
blob1c5ecdbbe1a32632662aa0e7a30535d34f7db251
1 <?xml version="1.0"?>
3 <FieldContainer
4 name="TextureGrabForeground"
5 parent="Foreground"
6 library="Window"
7 pointerfieldtypes="none"
8 structure="concrete"
9 systemcomponent="true"
10 parentsystemcomponent="true"
11 decoratable="false"
12 docGroupBase="GrpWindowForeground"
14 The GrabForeground is used for grabbing a rendered viewport into a Texture.
15 See \ref PageSystemWindowForegroundGrabTexture for a description.
16 <Field
17 name="texture"
18 type="TextureObjChunkPtr"
19 cardinality="single"
20 visibility="external"
21 access="public"
23 The texture to grab into.
24 </Field>
25 <Field
26 name="autoResize"
27 type="bool"
28 cardinality="single"
29 visibility="external"
30 defaultValue="true"
31 access="public"
33 Automatically resize the texture when the viewport size changes.
34 </Field>
35 <Field
36 name="bindTarget"
37 type="GLenum"
38 cardinality="single"
39 visibility="external"
40 defaultValue="GL_NONE"
41 access="public"
43 Enum to use for glBindTexture, if GL_NONE chosen from texture
44 dimensionality.
45 </Field>
46 <Field
47 name="copyTarget"
48 type="GLenum"
49 cardinality="single"
50 visibility="external"
51 defaultValue="GL_NONE"
52 access="public"
54 Enum to use for glCopyTexture, if GL_NONE chosen from texture
55 dimensionality.
56 Mainly useful to grab into the different parts of a CubeTexture.
57 </Field>
58 </FieldContainer>