Пример #1
0
        public PostEffectGrayScale()
        {
            var g      = Engine.Graphics;
            var shader = g.CreateShader2D(SwigObject.GetGrayScaleShader((swig.GraphicsDeviceType)g.GraphicsDeviceType));

            material2d = g.CreateMaterial2D(shader);
        }