bgfx_copy

Allocate buffer and copy data into it. Data will be freed inside bgfx.

  1. const(bgfx_memory_t)* bgfx_copy(const(void)* _data, uint _size)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    bgfx_copy
    (
    const(void)* _data
    ,
    uint _size
    )
  2. da_bgfx_copy bgfx_copy;

Parameters

_data const(void)*

Pointer to data to be copied.

_size uint

Size of data to be copied.

Meta