SrcBlend
Keywords: SrcBlend, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> SrcBlend - 3D API src blend

> ## Usage

> SrcBlend = int(sfactor)

> ## Valid Enumerants

> sfactor: Zero, One, DestColor, InvDestColor, SrcAlpha, InvSrcAlpha, DstAlpha, InvDestAlpha, SrcAlphaSat, SrcColor, InvSrcColor, BlendFactor, InvBlendFactor

> ## Description

> Specify the source blend factor. See the sfactor parameter description on the OpenGL glBlendFunc manual page for details. See the D3DRS_SRCBLEND render state description for DirectX 9.

> The standard reset callback sets the SrcBlend state to int(One).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> AlphaBlendEnable, BlendEnable, BlendColor, BlendEquation, BlendEquationSeparate, BlendFunc, BlendFuncSeparate, BlendOp, DestBlend, IndexedVertexBlendEnable, VertexBlend, BlendOpAlpha, SrcBlendAlpha, DestBlendAlpha, SeparateAlphaBlendEnable