Example #1
0
 /// <summary>
 /// フィルターを設定します。
 /// </summary>
 /// <param name="filter"></param>
 /// <param name="depth"></param>
 public void SetFilter(ColorFilterBase filter, int depth)
 {
     if (depth >= 0 && depth < MaxFilterCount)
     {
         Filters[depth] = filter;
     }
 }
Example #2
0
 /// <summary>
 /// コンストラクタです。
 /// </summary>
 internal AlphaBlendContext()
 {
     SRTS    = new Matrix[MaxSRTCount];
     Filters = new ColorFilterBase[MaxFilterCount];
     Overlay = PPDColors.Transparent;
 }