4 name=
"RegisterCombinersChunk"
7 pointerfieldtypes=
"both"
10 parentsystemcomponent=
"true"
12 docGroupBase=
"GrpStateNVidia"
14 See \ref PageSystemRegisterCombinersChunk for a description.
16 Try to avoid using this chunk, as it is very non-portable. Using a shader
17 instead is recommend, and much easier to do.
19 This chunk wraps nVidia's register combiners. The
20 OSG::RegisterCombinersChunk::setCombinerRGB and
21 OSG::RegisterCombinersChunk::setCombinerAlpha convenience functions
23 which set up all the parameters for a single combiner's RGB or alpha part.
24 OSG::RegisterCombinersChunk::setFinalCombiner sets all parameters for the
25 final combiner. The constants are set by
26 OSG::RegisterCombinersChunk::setConstantColors(Color4f &color0, Color4f
27 &color1) for the gloabl constants and
28 OSG::RegisterCombinersChunk::setConstantColors(UInt16 which,
30 Color4f &color1) for the per-combiner constants (if supported). To reset a
31 combiner one or all of the combiners use
32 OSG::RegisterCombinersChunk::clearCombiners or
33 OSG::RegisterCombinersChunk::clearCombiner.
35 Don't use the direct field access to set the register combiner's parameter
36 unlesss you really have to, as the internal representation is a bit
39 \ext To reduce the number of fields there isn't a field for every parameter,
40 instead they are kept in blocks of three in the fields. Please refer to the
41 source code for details.
75 input,mapping,component Usage triples for variable A, RGB part
102 name=
"variableAalpha"
105 visibility=
"external"
110 name=
"variableBalpha"
113 visibility=
"external"
118 name=
"variableCalpha"
121 visibility=
"external"
126 name=
"variableDalpha"
129 visibility=
"external"
137 visibility=
"external"
145 visibility=
"external"
153 visibility=
"external"
161 visibility=
"external"
169 visibility=
"external"
177 visibility=
"external"
185 visibility=
"external"
190 name=
"outputSumalpha"
193 visibility=
"external"
201 visibility=
"external"
209 visibility=
"external"
217 visibility=
"external"
225 visibility=
"external"
233 visibility=
"external"
241 visibility=
"external"
249 visibility=
"external"
257 visibility=
"external"
265 visibility=
"external"
270 name=
"combinerColor0"
273 visibility=
"external"
278 name=
"combinerColor1"
281 visibility=
"external"
286 name=
"perStageConstants"
289 visibility=
"internal"