CSharpImageLibrary.DDS.DDS_Decoders.GetDecompressedOffset C# (CSharp) Метод

GetDecompressedOffset() статический приватный Метод

static private GetDecompressedOffset ( int start, int lineLength, int pixelIndex ) : int
start int
lineLength int
pixelIndex int
Результат int
        internal static int GetDecompressedOffset(int start, int lineLength, int pixelIndex)
        {
            return start + (lineLength * (pixelIndex / 4)) + (pixelIndex % 4) * 4;
        }