|
@@ -2749,6 +2749,8 @@ namespace bgfx
|
|
|
/// @param[in] _pitch Pitch of input image (bytes). When _pitch is set to
|
|
/// @param[in] _pitch Pitch of input image (bytes). When _pitch is set to
|
|
|
/// UINT16_MAX, it will be calculated internally based on _width.
|
|
/// UINT16_MAX, it will be calculated internally based on _width.
|
|
|
///
|
|
///
|
|
|
|
|
+ /// @attention It's valid to update only mutable texture. See `bgfx::createTexture2D` for more info.
|
|
|
|
|
+ ///
|
|
|
/// @attention C99 equivalent is `bgfx_update_texture_2d`.
|
|
/// @attention C99 equivalent is `bgfx_update_texture_2d`.
|
|
|
///
|
|
///
|
|
|
void updateTexture2D(
|
|
void updateTexture2D(
|
|
@@ -2775,6 +2777,8 @@ namespace bgfx
|
|
|
/// @param[in] _depth Depth of texture block.
|
|
/// @param[in] _depth Depth of texture block.
|
|
|
/// @param[in] _mem Texture update data.
|
|
/// @param[in] _mem Texture update data.
|
|
|
///
|
|
///
|
|
|
|
|
+ /// @attention It's valid to update only mutable texture. See `bgfx::createTexture3D` for more info.
|
|
|
|
|
+ ///
|
|
|
/// @attention C99 equivalent is `bgfx_update_texture_3d`.
|
|
/// @attention C99 equivalent is `bgfx_update_texture_3d`.
|
|
|
///
|
|
///
|
|
|
void updateTexture3D(
|
|
void updateTexture3D(
|
|
@@ -2822,6 +2826,8 @@ namespace bgfx
|
|
|
/// @param[in] _pitch Pitch of input image (bytes). When _pitch is set to
|
|
/// @param[in] _pitch Pitch of input image (bytes). When _pitch is set to
|
|
|
/// UINT16_MAX, it will be calculated internally based on _width.
|
|
/// UINT16_MAX, it will be calculated internally based on _width.
|
|
|
///
|
|
///
|
|
|
|
|
+ /// @attention It's valid to update only mutable texture. See `bgfx::createTextureCube` for more info.
|
|
|
|
|
+ ///
|
|
|
/// @attention C99 equivalent is `bgfx_update_texture_cube`.
|
|
/// @attention C99 equivalent is `bgfx_update_texture_cube`.
|
|
|
///
|
|
///
|
|
|
void updateTextureCube(
|
|
void updateTextureCube(
|