bgfx_vertex_convert

Converts vertex stream data from one vertex stream format to another.

  1. void bgfx_vertex_convert(const(bgfx_vertex_layout_t)* _dstLayout, void* _dstData, const(bgfx_vertex_layout_t)* _srcLayout, const(void)* _srcData, uint _num)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_vertex_convert
  2. da_bgfx_vertex_convert bgfx_vertex_convert;

Parameters

_dstLayout const(bgfx_vertex_layout_t)*

Destination vertex stream layout.

_dstData void*

Destination vertex stream.

_srcLayout const(bgfx_vertex_layout_t)*

Source vertex stream layout.

_srcData const(void)*

Source vertex stream data.

_num uint

Number of vertices to convert from source to destination.

Meta