mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Added ASCII cubemap info.
This commit is contained in:
parent
b36a26528a
commit
cbb3136436
1 changed files with 17 additions and 0 deletions
|
@ -759,6 +759,23 @@ namespace bgfx
|
|||
/// @param _side Cubemap side, where 0 is +X, 1 is -X, 2 is +Y, 3 is
|
||||
/// -Y, 4 is +Z, and 5 is -Z.
|
||||
///
|
||||
/// +----------+
|
||||
/// |-z 2|
|
||||
/// | ^ +y |
|
||||
/// | | |
|
||||
/// | +---->+x |
|
||||
/// +----------+----------+----------+----------+
|
||||
/// |+y 1|+y 4|+y 0|+y 5|
|
||||
/// | ^ -x | ^ +z | ^ +x | ^ -z |
|
||||
/// | | | | | | | | |
|
||||
/// | +---->+z | +---->+x | +---->-z | +---->-x |
|
||||
/// +----------+----------+----------+----------+
|
||||
/// |+z 3|
|
||||
/// | ^ -y |
|
||||
/// | | |
|
||||
/// | +---->+x |
|
||||
/// +----------+
|
||||
///
|
||||
void updateTextureCube(TextureHandle _handle, uint8_t _side, uint8_t _mip, uint16_t _x, uint16_t _y, uint16_t _width, uint16_t _height, const Memory* _mem);
|
||||
|
||||
/// Destroy texture.
|
||||
|
|
Loading…
Reference in a new issue