Exemplo n.º 1
0
        //--------------------------------------------------------------
        #region Creation & Cleanup
        //--------------------------------------------------------------

        /// <summary>
        /// Initializes a new instance of the <see cref="EffectPassEnumerator"/> struct.
        /// </summary>
        /// <param name="techniqueBinding">The effect technique binding.</param>
        /// <param name="technique">The effect technique.</param>
        /// <param name="context">The render context.</param>
        internal EffectPassEnumerator(EffectTechniqueBinding techniqueBinding, EffectTechnique technique, RenderContext context)
        {
            _techniqueBinding = techniqueBinding;
            _technique        = technique;
            _context          = context;
            _index            = 0;
            _current          = null;
        }
Exemplo n.º 2
0
 protected virtual void CloneCore(EffectTechniqueBinding source)
 {
     Id = source.Id;
 }
Exemplo n.º 3
0
        //--------------------------------------------------------------
        #region Properties & Events
        //--------------------------------------------------------------
        #endregion


        //--------------------------------------------------------------
        #region Creation & Cleanup
        //--------------------------------------------------------------

        /// <summary>
        /// Initializes a new instance of the <see cref="EffectPassBinding"/> struct.
        /// </summary>
        /// <param name="techniqueBinding">The effect technique binding.</param>
        /// <param name="technique">The effect technique.</param>
        /// <param name="context">The render context.</param>
        internal EffectPassBinding(EffectTechniqueBinding techniqueBinding, EffectTechnique technique, RenderContext context)
        {
            _techniqueBinding = techniqueBinding;
            _technique        = technique;
            _context          = context;
        }
Exemplo n.º 4
0
 protected virtual void CloneCore(EffectTechniqueBinding source)
 {
     Id = source.Id;
 }