1. 首页
  2. 编程语言
  3. 其他
  4. ShaderMac源码

ShaderMac源码

上传者: 2019-09-17 16:54:32上传 ZIP文件 1.44MB 热度 4次
mac上,openGL,shader代码.GLuintShader::CompileShader(GLenumshaderType,constchar*shaderCode){GLuintshader=glCreateShader(shaderType);glShaderSource(shader,1,&shaderCode;,nullptr);glCompileShader(shader);GLintcompileResult=GL_TRUE;glGetShaderiv(shader,GL_COMPILE_STATUS,&compileResult;);if(compileResul
下载地址
用户评论