Added ability to specify arbitrary source pitch when uploading textures.

Added reference weldVertices implementation.
This commit is contained in:
bkaradzic
2013-11-07 22:59:17 -08:00
parent 2374ea3a15
commit b584873b50
17 changed files with 356 additions and 221 deletions

View File

@@ -293,8 +293,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
const uint32_t textureSide = 2048;
bgfx::TextureHandle textureCube =
bgfx::createTextureCube(6
, textureSide
bgfx::createTextureCube(textureSide
, 1
, bgfx::TextureFormat::BGRA8
, BGFX_TEXTURE_MIN_POINT|BGFX_TEXTURE_MAG_POINT|BGFX_TEXTURE_MIP_POINT