Ejemplo n.º 1
0
 public MDXShaderGroup(MDXVertexShaderType vertex, MDXControlShaderType control, MDXEvaluationShaderType eval,
                       MDXFragmentShaderType frag, uint colourOp, uint alphaOp)
 {
     this.VertexShader     = vertex;
     this.ControlShader    = control;
     this.EvaluationShader = eval;
     this.FragmentShader   = frag;
     this.ColourOperations = colourOp;
     this.AlphaOperations  = alphaOp;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MDXShaderGroup"/> class.
 /// </summary>
 /// <param name="frag">The fragment shader algorithm.</param>
 /// <param name="vertex">The vertex shader algorithm.</param>
 /// <param name="control">The control shader algorithm.</param>
 /// <param name="eval">The evaluation shader algorithm.</param>
 /// <param name="colourOp">The colour operations.</param>
 /// <param name="alphaOp">The alpha operations.</param>
 public MDXShaderGroup
 (
     MDXFragmentShaderType frag,
     MDXVertexShaderType vertex,
     MDXControlShaderType control,
     MDXEvaluationShaderType eval,
     uint colourOp,
     uint alphaOp
 )
 {
     VertexShader     = vertex;
     ControlShader    = control;
     EvaluationShader = eval;
     FragmentShader   = frag;
     ColourOperations = colourOp;
     AlphaOperations  = alphaOp;
 }