So, assuming that variable p stores the name of the GLSL program, the code to retrieve ... for texture target GL_TEXTURE_2D the sampler type is sampler2D .
確定! 回上一頁