Searched refs:textureId (Results 1 – 2 of 2) sorted by relevance
28 GLuint textureId; in TexWrapper() local29 glGenTextures(1, &textureId); in TexWrapper()30 if (textureId <= 0) { in TexWrapper()34 id = textureId; in TexWrapper()42 TexWrapper::TexWrapper(GLuint textureId, unsigned width, unsigned height) { in TexWrapper() argument44 id = textureId; in TexWrapper()173 GLuint textureId; in createTextureFromPng() local174 glGenTextures(1, &textureId); in createTextureFromPng()175 glBindTexture(GL_TEXTURE_2D, textureId); in createTextureFromPng()197 return new TexWrapper(textureId, width, height); in createTextureFromPng()
24 TexWrapper(GLuint textureId, unsigned width, unsigned height);