bgfx_set_shader_name

Set shader debug name.

  1. void bgfx_set_shader_name(bgfx_shader_handle_t _handle, const(char)* _name, int _len)
    version(BindBgfx_Static)
    extern (C) @nogc nothrow
    void
    bgfx_set_shader_name
  2. da_bgfx_set_shader_name bgfx_set_shader_name;

Parameters

_handle bgfx_shader_handle_t

Shader handle.

_name const(char)*

Shader name.

_len int

Shader name length (if length is INT32_MAX, it's expected that _name is zero terminated string).

Meta