bgfx_encoder_set_transform

Set model matrix for draw primitive. If it is not called, the model will be rendered with an identity model matrix.

  1. uint bgfx_encoder_set_transform(bgfx_encoder_t* _this, const(void)* _mtx, ushort _num)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    uint
    bgfx_encoder_set_transform
    (,
    const(void)* _mtx
    ,
    ushort _num
    )
  2. da_bgfx_encoder_set_transform bgfx_encoder_set_transform;

Parameters

_mtx const(void)*

Pointer to first matrix in array.

_num ushort

Number of matrices in array.

Meta