CSharpGL.BlendFactorHelper.GetNext C# (CSharp) Method

GetNext() public method

public GetNext ( BlendingSourceFactor &source, BlendingDestinationFactor &dest ) : void
source BlendingSourceFactor
dest BlendingDestinationFactor
return void
        public void GetNext(out BlendingSourceFactor source, out BlendingDestinationFactor dest)
        {
            source = sourceFactors[currentSource];
            dest = destFactors[currentDest];
            currentDest++;
            if (currentDest >= destFactors.Length)
            {
                currentDest = 0;
                currentSource++;
                if (currentSource >= sourceFactors.Length)
                {
                    currentSource = 0;
                }
            }
        }