DisplayBitmapSetBlendFunction Method |
Sets blending function used to determine how this bitmap is blended
with the current framebuffer color. The default setting is SourceAlpha
for source and OneMinusSourceAlpha for destination. See OpenGL's
glBlendFunc for details.
http://www.opengl.org/sdk/docs/man/xhtml/glBlendFunc.xml
Namespace:
Rhino.Display
Assembly:
RhinoCommon (in RhinoCommon.dll)
Syntaxpublic void SetBlendFunction(
BlendMode source,
BlendMode destination
)
Public Sub SetBlendFunction (
source As BlendMode,
destination As BlendMode
)
Parameters
- source
- Type: Rhino.DisplayBlendMode
The source blend mode. - destination
- Type: Rhino.DisplayBlendMode
The destination blend mode.
Version InformationRhino for Mac
Supported in: 5.4
Rhino for Windows
Supported in: 6.8
See Also