Home
last modified time | relevance | path

Searched refs:bufferTextureIDs (Results 1 – 2 of 2) sorted by relevance

/dports/games/spring/spring_98.0/rts/Rendering/GL/
H A DGeometryBuffer.cpp8 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()
H A DGeometryBuffer.h32 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