Allocate buffer and copy data into it. Data will be freed inside bgfx.
Pointer to data to be copied.
Size of data to be copied.
See Implementation
Allocate buffer and copy data into it. Data will be freed inside bgfx.