MCPcopy Create free account
hub / github.com/cinder/Cinder / createFromKtx

Method createFromKtx

src/cinder/gl/Texture.cpp:2007–2017  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2005}
2006
2007TextureCubeMapRef 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 )
2020TextureCubeMapRef TextureCubeMap::createFromDds( const DataSourceRef &dataSource, const Format &format )

Callers

nothing calls this directly

Calls 2

parseKtxFunction · 0.85
createFunction · 0.50

Tested by

no test coverage detected