Exemple #1
0
        public void Apply(GraphicsDevice device)
        {
#if DEBUG
            device.EnsureContextActive();
#endif

            device.effectProgram = this;
            device.BindProgram(ResourceId);
        }
        public void Apply(GraphicsDevice device)
        {
#if DEBUG
            device.EnsureContextActive();
#endif

            device.effectProgram = this;
            device.BindProgram(ResourceId);
        }