* TextureCubemap implementations */
| 194 | * TextureCubemap implementations |
| 195 | */ |
| 196 | bool TextureCubemap::Activate(void) { |
| 197 | assert(texId_ != GL_INVALID_VALUE); |
| 198 | |
| 199 | glBindTexture(texId_, GL_TEXTURE0); |
| 200 | glActiveTexture(GL_TEXTURE0 + 0); |
| 201 | activated_ = true; |
| 202 | return true; |
| 203 | } |
| 204 | |
| 205 | GLuint TextureCubemap::GetTexType() { return GL_TEXTURE_CUBE_MAP; } |
| 206 |