Texture handle.
Layer in texture array.
Cubemap side BGFX_CUBE_MAP_<POSITIVE or NEGATIVE>_<X, Y or Z>, where 0 is +X, 1 is -X, 2 is +Y, 3 is -Y, 4 is +Z, and 5 is -Z. +----------+ |-z 2| | ^ +y | | | | Unfolded cube: | +---->+x | +----------+----------+----------+----------+ |+y 1|+y 4|+y 0|+y 5| | ^ -x | ^ +z | ^ +x | ^ -z | | | | | | | | | | | +---->+z | +---->+x | +---->-z | +---->-x | +----------+----------+----------+----------+ |+z 3| | ^ -y | | | | | +---->+x | +----------+
Mip level.
X offset in texture.
Y offset in texture.
Width of texture block.
Height of texture block.
Texture update data.
Pitch of input image (bytes). When _pitch is set to UINT16_MAX, it will be calculated internally based on _width.
Update Cube texture. Attention: It's valid to update only mutable texture. See bgfx::createTextureCube for more info.