bgfx_override_internal_texture_ptr

Override internal texture with externally created texture. Previously created internal texture will released. Attention: It's expected you understand some bgfx internals before you use this call. Warning: Must be called only on render thread.

  1. ulong bgfx_override_internal_texture_ptr(bgfx_texture_handle_t _handle, ulong _ptr)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    ulong
    bgfx_override_internal_texture_ptr
  2. da_bgfx_override_internal_texture_ptr bgfx_override_internal_texture_ptr;

Parameters

_handle bgfx_texture_handle_t

Texture handle.

_ptr ulong

Native API pointer to texture.

Meta