* TextureCubemap implementations */
| 87 | * TextureCubemap implementations |
| 88 | */ |
| 89 | bool Texture::Activate(void) { |
| 90 | assert(texId_ != GL_INVALID_VALUE); |
| 91 | |
| 92 | glBindTexture(texId_, GL_TEXTURE0); |
| 93 | glActiveTexture(GL_TEXTURE0 + 0); |
| 94 | return true; |
| 95 | } |
| 96 | |
| 97 | /** |
| 98 | Return used sampler names and units |