예제 #1
0
        /// <summary>
        ///     Begins a application pass.
        /// </summary>
        public void BeginPass(int index)
        {
            if (_driver != GraphicsManager.Driver)
            {
                CreateShader();
            }
            if (_shader == null)
            {
                return;
            }

            _shader.BeginPass(index);
        }