public MDXShaderGroup(MDXFragmentShaderType frag, MDXVertexShaderType vertex, MDXControlShaderType control, MDXEvaluationShaderType eval, uint colourOp, uint alphaOp) { this.VertexShader = vertex; this.ControlShader = control; this.EvaluationShader = eval; this.FragmentShader = frag; this.ColourOperations = colourOp; this.AlphaOperations = alphaOp; }
/// <summary> /// Set the fragment shading path in use. /// </summary> /// <param name="shaderType">The shader path.</param> public void SetFragmentShaderType(MDXFragmentShaderType shaderType) { SetInteger((int)shaderType, FragmentShaderPath); }