浏览代码

Updated docs.

Branimir Karadžić 9 年之前
父节点
当前提交
37716c19a4
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      include/bgfx/bgfx.h

+ 4 - 0
include/bgfx/bgfx.h

@@ -1586,6 +1586,8 @@ namespace bgfx
 	///     sampling.
 	///     sampling.
 	///
 	///
 	/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texture will be immutable.
 	/// @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`.
 	/// @attention C99 equivalent is `bgfx_create_texture_2d`.
 	///
 	///
@@ -1668,6 +1670,8 @@ namespace bgfx
 	///     sampling.
 	///     sampling.
 	///
 	///
 	/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texture will be immutable.
 	/// @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`.
 	/// @attention C99 equivalent is `bgfx_create_texture_cube`.
 	///
 	///