Return used sampler names and units so application could configure shader's sampler uniform(s). Cubemap just used one sampler at unit 0 with "samplerObj" as its name. */
| 259 | Cubemap just used one sampler at unit 0 with "samplerObj" as its name. |
| 260 | */ |
| 261 | bool TextureCubemap::GetActiveSamplerInfo(std::vector<std::string>& names, |
| 262 | std::vector<GLint>& units) { |
| 263 | names.clear(); |
| 264 | names.push_back(std::string("samplerObj")); |
| 265 | units.clear(); |
| 266 | units.push_back(0); |
| 267 | |
| 268 | return true; |
| 269 | } |
| 270 | |
| 271 | /** |
| 272 | * Texture2D implementation |