bgfx_encoder_set_transient_vertex_buffer_with_layout

Set vertex buffer for draw primitive.

  1. void bgfx_encoder_set_transient_vertex_buffer_with_layout(bgfx_encoder_t* _this, byte _stream, const(bgfx_transient_vertex_buffer_t)* _tvb, uint _startVertex, uint _numVertices, bgfx_vertex_layout_handle_t _layoutHandle)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_encoder_set_transient_vertex_buffer_with_layout
  2. da_bgfx_encoder_set_transient_vertex_buffer_with_layout bgfx_encoder_set_transient_vertex_buffer_with_layout;

Parameters

_stream byte

Vertex stream.

_tvb const(bgfx_transient_vertex_buffer_t)*

Transient vertex buffer.

_startVertex uint

First vertex to render.

_numVertices uint

Number of vertices to render.

_layoutHandle bgfx_vertex_layout_handle_t

Vertex layout for aliasing vertex buffer. If invalid handle is used, vertex layout used for creation of vertex buffer will be used.

Meta