/// <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; } }
/// <summary> /// コンストラクタです。 /// </summary> internal AlphaBlendContext() { SRTS = new Matrix[MaxSRTCount]; Filters = new ColorFilterBase[MaxFilterCount]; Overlay = PPDColors.Transparent; }