View id.
Destination texture handle.
Destination texture mip level.
Destination texture X position.
Destination texture Y position.
If texture is 2D this argument should be 0. If destination texture is cube this argument represents destination texture cube face. For 3D texture this argument represents destination texture Z position.
Source texture handle.
Source texture mip level.
Source texture X position.
Source texture Y position.
If texture is 2D this argument should be 0. If source texture is cube this argument represents source texture cube face. For 3D texture this argument represents source texture Z position.
Width of region.
Height of region.
If texture is 3D this argument represents depth of region, otherwise it's unused.
Page generated by adrdox
Blit 2D texture region between two 2D textures. Attention: Destination texture must be created with BGFX_TEXTURE_BLIT_DST flag. Attention: Availability depends on: BGFX_CAPS_TEXTURE_BLIT.