| 2018 | |
| 2019 | #if ! defined( CINDER_GL_ES ) || defined( CINDER_GL_ANGLE ) |
| 2020 | TextureCubeMapRef TextureCubeMap::createFromDds( const DataSourceRef &dataSource, const Format &format ) |
| 2021 | { |
| 2022 | #if ! defined( CINDER_GL_ES ) |
| 2023 | TextureData textureData( format.getIntermediatePbo() ); |
| 2024 | #else |
| 2025 | TextureData textureData; |
| 2026 | #endif |
| 2027 | |
| 2028 | parseDds( dataSource, &textureData ); |
| 2029 | return TextureCubeMap::create( textureData, format ); |
| 2030 | } |
| 2031 | #endif |
| 2032 | |
| 2033 | TextureCubeMap::TextureCubeMap( int32_t width, int32_t height, Format format ) |