CSPspEmu.Core.Gpu.VertexReader._SetVertexInfoColor C# (CSharp) Method

_SetVertexInfoColor() protected method

protected _SetVertexInfoColor ( OutputPixel Color ) : void
Color OutputPixel
return void
        protected void _SetVertexInfoColor(OutputPixel Color)
        {
            VertexInfo->Color.X = (float)(Color.R) / 255.0f;
            VertexInfo->Color.Y = (float)(Color.G) / 255.0f;
            VertexInfo->Color.Z = (float)(Color.B) / 255.0f;
            #if true
            VertexInfo->Color.W = (float)(Color.A) / 255.0f;
            #else
            VertexInfo->Color.W = 1.0f;
            #endif
        }