bgfx_set_view_transform

Set view view and projection matrices, all draw primitives in this view will use these matrices.

  1. void bgfx_set_view_transform(bgfx_view_id_t _id, const(void)* _view, const(void)* _proj)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_set_view_transform
    (,
    const(void)* _view
    ,
    const(void)* _proj
    )
  2. da_bgfx_set_view_transform bgfx_set_view_transform;

Parameters

_id bgfx_view_id_t

View id.

_view const(void)*

View matrix.

_proj const(void)*

Projection matrix.

Meta