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

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

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