| 2005 | } |
| 2006 | |
| 2007 | TextureCubeMapRef TextureCubeMap::createFromKtx( const DataSourceRef &dataSource, const Format &format ) |
| 2008 | { |
| 2009 | #if ! defined( CINDER_GL_ES ) |
| 2010 | TextureData textureData( format.getIntermediatePbo() ); |
| 2011 | #else |
| 2012 | TextureData textureData; |
| 2013 | #endif |
| 2014 | |
| 2015 | parseKtx( dataSource, &textureData ); |
| 2016 | return TextureCubeMap::create( textureData, format ); |
| 2017 | } |
| 2018 | |
| 2019 | #if ! defined( CINDER_GL_ES ) || defined( CINDER_GL_ANGLE ) |
| 2020 | TextureCubeMapRef TextureCubeMap::createFromDds( const DataSourceRef &dataSource, const Format &format ) |