コード例 #1
0
ファイル: BlendState.cs プロジェクト: XthemeCore/FSOMonoGame
        public BlendState()
        {
            _targetBlendState    = new TargetBlendState[4];
            _targetBlendState[0] = new TargetBlendState(this);
            _targetBlendState[1] = new TargetBlendState(this);
            _targetBlendState[2] = new TargetBlendState(this);
            _targetBlendState[3] = new TargetBlendState(this);

            _blendFactor            = Color.White;
            _multiSampleMask        = Int32.MaxValue;
            _independentBlendEnable = false;
        }
コード例 #2
0
ファイル: BlendState.cs プロジェクト: Cardanis/MonoGame
        public BlendState()
        {
            _targetBlendState = new TargetBlendState[4];
            _targetBlendState[0] = new TargetBlendState(this);
            _targetBlendState[1] = new TargetBlendState(this);
            _targetBlendState[2] = new TargetBlendState(this);
            _targetBlendState[3] = new TargetBlendState(this);

			_blendFactor = Color.White;
            _multiSampleMask = Int32.MaxValue;
            _independentBlendEnable = false;
        }