2 using System.Collections.Generic;
6 namespace DirectOutput.Cab.Toys.Layer
11 public static class AlphaMappingTable
17 public static float[,] AlphaMapping =
new float[256, 256];
20 static AlphaMappingTable()
22 for (
int A = 0; A < 256; A++)
24 for (
int V = 0; V < 256; V++)
26 AlphaMapping[A, V] = (float)((
double)V / 255 * (double)A);