Branimir Karadžić 10 lat temu
rodzic
commit
f4143b3064
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      include/bgfx.h

+ 3 - 3
include/bgfx.h

@@ -1222,7 +1222,7 @@ namespace bgfx
 	///   - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
 	///   - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
 	///     sampling.
 	///     sampling.
 	///
 	///
-	/// @param[in] _mem Texture data.
+	/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texutre will be immutable.
 	///
 	///
 	/// @attention C99 equivalent is `bgfx_create_texture_2d`.
 	/// @attention C99 equivalent is `bgfx_create_texture_2d`.
 	///
 	///
@@ -1260,7 +1260,7 @@ namespace bgfx
 	///   - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
 	///   - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
 	///     sampling.
 	///     sampling.
 	///
 	///
-	/// @param[in] _mem Texture data.
+	/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texutre will be immutable.
 	///
 	///
 	/// @attention C99 equivalent is `bgfx_create_texture_3d`.
 	/// @attention C99 equivalent is `bgfx_create_texture_3d`.
 	///
 	///
@@ -1278,7 +1278,7 @@ namespace bgfx
 	///   - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
 	///   - `BGFX_TEXTURE_[MIN/MAG/MIP]_[POINT/ANISOTROPIC]` - Point or anisotropic
 	///     sampling.
 	///     sampling.
 	///
 	///
-	/// @param[in] _mem Texture data.
+	/// @param[in] _mem Texture data. If `_mem` is non-NULL, created texutre will be immutable.
 	///
 	///
 	/// @attention C99 equivalent is `bgfx_create_texture_cube`.
 	/// @attention C99 equivalent is `bgfx_create_texture_cube`.
 	///
 	///