From 37716c19a483d854f4aae139aa503f77db037075 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Tue, 23 Aug 2016 20:20:28 -0700 Subject: [PATCH] Updated docs. --- include/bgfx/bgfx.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/bgfx/bgfx.h b/include/bgfx/bgfx.h index a54508ba0..c44c3f831 100644 --- a/include/bgfx/bgfx.h +++ b/include/bgfx/bgfx.h @@ -1586,6 +1586,8 @@ namespace bgfx /// sampling. /// /// @param[in] _mem Texture data. If `_mem` is non-NULL, created texture will be immutable. + /// When `_numLayers` is more than 1, expected memory layout is texture and all mips together + /// for each array element. /// /// @attention C99 equivalent is `bgfx_create_texture_2d`. /// @@ -1668,6 +1670,8 @@ namespace bgfx /// sampling. /// /// @param[in] _mem Texture data. If `_mem` is non-NULL, created texture will be immutable. + /// When `_numLayers` is more than 1, expected memory layout is cubemap texture and all mips + /// together for each array element. /// /// @attention C99 equivalent is `bgfx_create_texture_cube`. ///