CSPspEmu.Core.Gpu.State.ColorfStruct.SetRGB C# (CSharp) Method

SetRGB() public method

public SetRGB ( uint Params24 ) : void
Params24 uint
return void
        public void SetRGB(uint Params24)
        {
            //Console.WriteLine(Params24);
            Red = ((float)((Params24 >> 0) & 0xFF)) / 255.0f;
            Green = ((float)((Params24 >> 8) & 0xFF)) / 255.0f;
            Blue = ((float)((Params24 >> 16) & 0xFF)) / 255.0f;
        }