bgfx_vertex_unpack

Unpack vertex attribute from vertex stream format.

  1. void bgfx_vertex_unpack(float[4] _output, bgfx_attrib_t _attr, const(bgfx_vertex_layout_t)* _layout, const(void)* _data, uint _index)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_vertex_unpack
    (
    float[4] _output
    ,,,
    const(void)* _data
    ,
    uint _index
    )
  2. da_bgfx_vertex_unpack bgfx_vertex_unpack;

Parameters

_output float[4]

Result of unpacking.

_attr bgfx_attrib_t

Attribute to unpack.

_layout const(bgfx_vertex_layout_t)*

Vertex stream layout.

_data const(void)*

Source vertex stream from where data will be unpacked.

_index uint

Vertex index that will be unpacked.

Meta