Function bgfx_sys::bgfx_update_texture_3d
source · pub unsafe extern "C" fn bgfx_update_texture_3d(
_handle: bgfx_texture_handle_t,
_mip: u8,
_x: u16,
_y: u16,
_z: u16,
_width: u16,
_height: u16,
_depth: u16,
_mem: *const bgfx_memory_t
)
Expand description
Update 3D texture.
@attention It’s valid to update only mutable texture. See bgfx::createTexture3D
for more info.
@param[in] _handle Texture handle. @param[in] _mip Mip level. @param[in] _x X offset in texture. @param[in] _y Y offset in texture. @param[in] _z Z offset in texture. @param[in] _width Width of texture block. @param[in] _height Height of texture block. @param[in] _depth Depth of texture block. @param[in] _mem Texture update data.