Click or drag to resize

RenderStateBlendFunction Method (RenderState, RenderState, RenderState, RenderState)

Builds a render state for a blend function.

Namespace:  Internal.SharpBgfx
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static RenderState BlendFunction(
	RenderState sourceColor,
	RenderState destinationColor,
	RenderState sourceAlpha,
	RenderState destinationAlpha
)

Parameters

sourceColor
Type: Internal.SharpBgfxRenderState
The source color blend operation.
destinationColor
Type: Internal.SharpBgfxRenderState
The destination color blend operation.
sourceAlpha
Type: Internal.SharpBgfxRenderState
The source alpha blend operation.
destinationAlpha
Type: Internal.SharpBgfxRenderState
The destination alpha blend operation.

Return Value

Type: RenderState
The render state for the blend function.
See Also