Searched refs:bufferTextureIDs (Results 1 – 2 of 2) sorted by relevance
8 memset(&bufferTextureIDs[0], 0, sizeof(bufferTextureIDs)); in Init()41 glDeleteTextures(ATTACHMENT_COUNT, &bufferTextureIDs[0]); in DetachTextures()44 memset(&bufferTextureIDs[0], 0, sizeof(bufferTextureIDs)); in DetachTextures()77 glGenTextures(1, &bufferTextureIDs[n]); in Create()78 glBindTexture(GL_TEXTURE_2D, bufferTextureIDs[n]); in Create()94 buffer.AttachTexture(bufferTextureIDs[n], GL_TEXTURE_2D, bufferAttachments[n]); in Create()
32 bool HasAttachments() const { return (bufferTextureIDs[0] != 0); } in HasAttachments()37 GLuint GetBufferTexture(unsigned int idx) const { return bufferTextureIDs[idx]; } in GetBufferTexture()54 GLuint bufferTextureIDs[ATTACHMENT_COUNT]; member