bgfx_update_texture_3d

Update 3D texture. Attention: It's valid to update only mutable texture. See bgfx::createTexture3D for more info.

  1. void bgfx_update_texture_3d(bgfx_texture_handle_t _handle, byte _mip, ushort _x, ushort _y, ushort _z, ushort _width, ushort _height, ushort _depth, const(bgfx_memory_t)* _mem)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_update_texture_3d
    (,
    byte _mip
    ,
    ushort _x
    ,
    ushort _y
    ,
    ushort _z
    ,
    ushort _width
    ,
    ushort _height
    ,
    ushort _depth
    ,)
  2. da_bgfx_update_texture_3d bgfx_update_texture_3d;

Parameters

_handle bgfx_texture_handle_t

Texture handle.

_mip byte

Mip level.

_x ushort

X offset in texture.

_y ushort

Y offset in texture.

_z ushort

Z offset in texture.

_width ushort

Width of texture block.

_height ushort

Height of texture block.

_depth ushort

Depth of texture block.

_mem const(bgfx_memory_t)*

Texture update data.

Meta