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

Method createFromDds

src/cinder/gl/Texture.cpp:2020–2030  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2018
2019#if ! defined( CINDER_GL_ES ) || defined( CINDER_GL_ANGLE )
2020TextureCubeMapRef 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
2033TextureCubeMap::TextureCubeMap( int32_t width, int32_t height, Format format )

Callers

nothing calls this directly

Calls 2

parseDdsFunction · 0.85
createFunction · 0.50

Tested by

no test coverage detected