| 1682 | } |
| 1683 | |
| 1684 | void PostEffect::setCubemapArrayTexture(U32 index, const GFXCubemapArrayHandle &cubemapArrayHandle) |
| 1685 | { |
| 1686 | // Set the new texture name. |
| 1687 | mCubemapArrayTextures[index].free(); |
| 1688 | |
| 1689 | // Skip empty stages or ones with variable or target names. |
| 1690 | if (cubemapArrayHandle.isNull()) |
| 1691 | return; |
| 1692 | |
| 1693 | // Try to load the texture. |
| 1694 | mCubemapArrayTextures[index] = cubemapArrayHandle; |
| 1695 | |
| 1696 | mTextureType[index] = CubemapArrayType; |
| 1697 | } |
| 1698 | |
| 1699 | void PostEffect::setShaderConst( const String &name, const String &val ) |
| 1700 | { |