/// <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;
 }
Beispiel #2
0
 /// <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;
 }