CreateShaderProgram

RenderFactory.CreateShaderProgram method

创建一个ShaderProgram object

public abstract ShaderProgram CreateShaderProgram(ShaderSource shaderSource)
范围类型描述
shaderSourceShaderSource着色器的源代码

也可以看看