vrdBlendChunk¶
-
class
vrdBlendChunk
¶
(Inherits vrdMaterialChunk
)
This class represents a blend chunk.
- class
Equation
¶
None_
¶
Clear
¶
And
¶
AndReverse
¶
Copy
¶
AndInverted
¶
Noop
¶
Xor
¶
Or
¶
Nor
¶
Equiv
¶
Invert
¶
OrReverse
¶
CopyInverted
¶
OrInverted
¶
Nand
¶
Set
¶
Summary¶
Functions¶
-
vrdBlendChunk.
getColor
()¶ This is the constant color used by blend modes _CONSTANT_.
Returns: The color value. Return type: QVector3D
-
vrdBlendChunk.
getDstFactor
()¶ The frame buffer pixel is multiplied by the destination factor.Legal values are directly taken from the glBlendFunc() manpage.
Returns: The destination factor. Return type: vrdBlendChunk.DstFactor
-
vrdBlendChunk.
getEquation
()¶ The equation used to combine the two values. Only available where GL_ARB_imaging is supported.See glBlendEquation() for details.
Returns: The equation. Return type: vrdBlendChunk.Equation
-
vrdBlendChunk.
getSrcFactor
()¶ The incoming pixel is multiplied by the source factor. Legal values are directly taken from the glBlendFunc() manpage.
Returns: The source factor. Return type: vrdBlendChunk.SrcFactor
-
vrdBlendChunk.
setColor
(value)¶ This is the constant color used by blend modes _CONSTANT_.
Parameters: value (QVector3D) – The color value
-
vrdBlendChunk.
setDstFactor
(srcFactor)¶ The frame buffer pixel is multiplied by the destination factor.Legal values are directly taken from the glBlendFunc() manpage.
Parameters: srcFactor (vrdBlendChunk.DstFactor) – The source factor
-
vrdBlendChunk.
setEquation
(equation)¶ The equation used to combine the two values. Only available where GL_ARB_imaging is supported.See glBlendEquation() for details.
Parameters: equation (vrdBlendChunk.Equation) – The equation
-
vrdBlendChunk.
setSrcFactor
(srcFactor)¶ The incoming pixel is multiplied by the source factor. Legal values are directly taken from the glBlendFunc() manpage.
Parameters: srcFactor (vrdBlendChunk.SrcFactor) – The source factor