Name
BlendFunc - 3D API blend function
Usage
BlendFunc = int2(sfactor, dfactor)
Valid Enumerants
sfactor, dfactor: Zero, One, DestColor, OneMinusDestColor, InvDestColor, SrcAlpha, OneMinusSrcAlpha, InvSrcAlpha, DstAlpha, OneMinusDstAlpha, InvDestAlpha, SrcAlphaSaturate, SrcAlphaSat, SrcColor, OneMinusSrcColor, InvSrcColor, ConstantColor, BlendFactor, OneMinusConstantColor, InvBlendFactor, ConstantAlpha, OneMinusConstantAlpha
Description
Specify the source and destination blending functions. See the OpenGL glBlendFunc manual page for details. See the D3DRS_SRCBLEND and D3DRS_DESTBLEND render state descriptions for DirectX 9.
The standard reset callback sets the BlendFunc state to int2(One, Zero).
Opengl Functionality Requirements
OpenGL 1.0
Direct3D Functionality Requirements
DirectX 9
See Also
AlphaBlendEnable, BlendEnable, BlendColor, BlendEquation, BlendEquationSeparate, BlendFuncSeparate, BlendOp, DestBlend, IndexedVertexBlendEnable, SrcBlend, VertexBlend, BlendOpAlpha, SrcBlendAlpha, DestBlendAlpha, SeparateAlphaBlendEnable