bgfx_set_uniform

Set shader uniform parameter for draw primitive.

  1. void bgfx_set_uniform(bgfx_uniform_handle_t _handle, const(void)* _value, ushort _num)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_set_uniform
  2. da_bgfx_set_uniform bgfx_set_uniform;

Parameters

_handle bgfx_uniform_handle_t

Uniform.

_value const(void)*

Pointer to uniform data.

_num ushort

Number of elements. Passing UINT16_MAX will use the _num passed on uniform creation.

Meta